예제 #1
0
파일: fontdlg.py 프로젝트: shumik/skencil-c
    def __init__(self, master, main_window, doc):
	self.family_to_fonts = font.make_family_to_fonts()
	self.families = self.family_to_fonts.keys()
	self.families.sort()
	StylePropertyPanel.__init__(self, master, main_window, doc,
                                    name = 'fontdlg')
	self.family_list.SetList(self.families)
	index = self.families.index(self.font_family)
	self.family_list.select_set(index)
	self.family_list.yview(index)
예제 #2
0
 def __init__(self, master, main_window, doc):
     self.family_to_fonts = font.make_family_to_fonts()
     self.families = self.family_to_fonts.keys()
     self.families.sort()
     StylePropertyPanel.__init__(self,
                                 master,
                                 main_window,
                                 doc,
                                 name='fontdlg')
     self.family_list.SetList(self.families)
     index = self.families.index(self.font_family)
     self.family_list.select_set(index)
     self.family_list.yview(index)
예제 #3
0
 def __init__(self, master, main_window, doc):
     StylePropertyPanel.__init__(self,
                                 master,
                                 main_window,
                                 doc,
                                 name='linedlg')
예제 #4
0
파일: filldlg.py 프로젝트: shumik/skencil-c
    def __init__(self, master, main_window, doc):
	StylePropertyPanel.__init__(self, master, main_window, doc,
			       name = 'filldlg')