本文整理匯總了Python中tkinter.Frame.__init__方法的典型用法代碼示例。如果您正苦於以下問題:Python Frame.__init__方法的具體用法?Python Frame.__init__怎麽用?Python Frame.__init__使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類tkinter.Frame
的用法示例。
在下文中一共展示了Frame.__init__方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: __init__
# 需要導入模塊: from tkinter import Frame [as 別名]
# 或者: from tkinter.Frame import __init__ [as 別名]
def __init__(self, master):
Frame.__init__(self, master)
self.config(border=1)
self.msg = Label(self, bd=1, relief=SUNKEN, anchor=W)
self.msg.pack(side='left', expand=True, fill=X)
self.column = Label(self, bd=1, relief=SUNKEN, anchor=W)
self.column.config(text='Col: 0')
self.column.pack(side='right', fill=X)
self.line = Label(self, bd=1, relief=SUNKEN, anchor=W)
self.line.config(text='Line: 1')
self.line.pack(side='right', fill=X)
self.mode = Label(self, bd=1, relief=SUNKEN, anchor=W)
self.mode.config(text='Mode: 1')
self.mode.pack(side='right', fill=X)
示例2: __init__
# 需要導入模塊: from tkinter import Frame [as 別名]
# 或者: from tkinter.Frame import __init__ [as 別名]
def __init__(self, master, ask_dialog = askopenfilename, width=30, **dialog_options):
Frame.__init__(self, master)
self._file_autocomplete = Combobox_Autocomplete(self, width=width, autocomplete_function=self._autocomplete_function)
self._file_autocomplete.pack(side=LEFT)
button_size = self._file_autocomplete.winfo_reqheight()
button_frame = Frame(self, height=button_size, width=button_size)
button_frame.pack(side=LEFT, padx=(3,0))
button_frame.pack_propagate(0)
Button(button_frame, text="...", command=self._open_dialog).pack(fill=BOTH, expand=True)
self._ask_dialog = ask_dialog
self._dialog_options = dialog_options
示例3: __init__
# 需要導入模塊: from tkinter import Frame [as 別名]
# 或者: from tkinter.Frame import __init__ [as 別名]
def __init__(self,parent,stdoutq):
Frame.__init__(self,parent)
self.parent=parent
self.width=850
self.height=650
self.title=menotexport.__version__
self.stdoutq=stdoutq
self.initUI()
self.hasdb=False
self.hasout=False
self.hasaction=False
self.exit=False
self.path_frame=self.addPathFrame()
self.action_frame=self.addActionFrame()
self.message_frame=self.addMessageFrame()
self.printStr()
self.stateq=Queue.Queue()
#self.workproc=Pool(1)
示例4: __init__
# 需要導入模塊: from tkinter import Frame [as 別名]
# 或者: from tkinter.Frame import __init__ [as 別名]
def __init__(self, controller, master=None, main=None, title='Title', right_label_text=None, allow_remove=True, number=1, **kwargs):
'''
controller: a mentalist.controller.Controller instance
master: the tkinter master of this view
main: a mentalist.view.Main instance
title: the title string to be displayed for this node
right_label_text: an optional string to be displayed on the right-hand
side (word count)
allow_remove: False if attempting to remove this node gives an error message
number: an integer starting with 1 identifying this node's position in the chain
'''
Frame.__init__(self, master=master, **kwargs)
self.controller = controller
self.title = title
self.main = main
self.attrs = []
self.number = number
self.allow_remove = allow_remove
self.configure(borderwidth=1, relief=Tk.RAISED)
self.upper_frame = Frame(self)
self.upper_frame.configure(borderwidth=1, relief=Tk.RIDGE)
self.lb_title = Tk.Label(self.upper_frame, text='{}. {}'.format(number, title))
self.lb_title.pack(fill="both", side="left", padx=10, pady=10)
if right_label_text is not None: # this is the right-justified word count label
self.right_label = Tk.Label(self.upper_frame, text=right_label_text, font=('Helvetica', '10', 'italic'))
self.right_label.pack(fill="both", side="right", padx=10, pady=10)
else:
self.right_label = None
self.upper_frame.pack(side="top", fill="x", expand=1)
self.lower_frame = Frame(self)
self.lower_frame.pack(side="bottom", fill="both")
self.add_upper_button()
if self.allow_remove:
self.add_remove_button()
self.pack(side="top", fill="both", padx=2, pady=2)
示例5: __init__
# 需要導入模塊: from tkinter import Frame [as 別名]
# 或者: from tkinter.Frame import __init__ [as 別名]
def __init__(self, text):
HTMLParser.__init__(self, convert_charrefs=True)
self.text = text # text widget we're rendering into
self.tags = '' # current block level text tags to apply
self.chartags = '' # current character level text tags
self.show = False # used so we exclude page navigation
self.hdrlink = False # used so we don't show header links
self.level = 0 # indentation level
self.pre = False # displaying preformatted text
self.hprefix = '' # prefix such as '25.5' to strip from headings
self.nested_dl = False # if we're in a nested <dl>
self.simplelist = False # simple list (no double spacing)
self.toc = [] # pair headers with text indexes for toc
self.header = '' # text within header tags for toc
示例6: __init__
# 需要導入模塊: from tkinter import Frame [as 別名]
# 或者: from tkinter.Frame import __init__ [as 別名]
def __init__(self, master, width=0, height=0, family=None, size=None,*args, **kwargs):
Frame.__init__(self, master, width = width, height= height)
self.pack_propagate(False)
self._min_width = width
self._min_height = height
self._textarea = Text(self, *args, **kwargs)
self._textarea.pack(expand=True, fill='both')
if family != None and size != None:
self._font = tkFont.Font(family=family,size=size)
else:
self._font = tkFont.Font(family=self._textarea.cget("font"))
self._textarea.config(font=self._font)
# I want to insert a tag just in front of the class tag
# It's not necesseary to guive to this tag extra priority including it at the beginning
# For this reason I am making this search
self._autoresize_text_tag = "autoresize_text_"+str(id(self))
list_of_bind_tags = list(self._textarea.bindtags())
list_of_bind_tags.insert(list_of_bind_tags.index('Text'), self._autoresize_text_tag)
self._textarea.bindtags(tuple(list_of_bind_tags))
self._textarea.bind_class(self._autoresize_text_tag, "<KeyPress>",self._on_keypress)
示例7: __init__
# 需要導入模塊: from tkinter import Frame [as 別名]
# 或者: from tkinter.Frame import __init__ [as 別名]
def __init__(self, master, outpipe, title="imagebot"):
Frame.__init__(self, master)
self.pack()
self._outpipe = outpipe
self._image = None
self.master.wm_title(title)
self.master.after(200, self.updateImage)
示例8: __init__
# 需要導入模塊: from tkinter import Frame [as 別名]
# 或者: from tkinter.Frame import __init__ [as 別名]
def __init__(self, parent):
Frame.__init__(self, parent)
if not os.path.exists(self.WORK_FILE):
os.makedirs(self.WORK_DIR)
self.simulateReboot(True)
self.parent = parent
menu = Menu(self.parent)
menu1 = Menu(menu,tearoff=0)
menu1.add_command(label="Simulate Reboot",command=self.simulateReboot)
menu1.add_separator()
menu1.add_command(label="Quit!", command=self.parent.quit)
menu.add_cascade(label="Menu",menu=menu1)
# display the menu
self.parent.config(menu=menu)
self.parent.title("GPIOSim")
self.pack(fill=BOTH, expand=1)
self.canvas = None
self.canvas = Canvas(self, bg=self.BG_COLOR)
#self.canvas.bind("<Button-1>",self.click)
#Images (gif base64 encoded)
imgInLeft = "R0lGODlhHgASAOf7AAoMCAITBBcQCAYbAAsaEBUYEBEaCRMeCB0ZIREhGRkhFB0gEyMmGiIpFy8mNTQyNiROCCJZACxYCTlUKzpWGyleADBeBjRdGCxiCShlAEFcM0BeKDJmAzpmBCFwADxlIBt1BC9yBGpZW0NpMTtvDzttKkdqPid8AENxHD12DDh5AE9tPEZyJUV2Lzh/AF5rYD5+CEV+Fz+AGFxzT1h4LUx9NUaEAkCGA2dxYUqCEF91V1V8ME+AG0WHADuKCFl/RU+IIT2PG2l8XkqPAEuMJFmFREWTBVCRDzGcAHl6g2yBaEuWADybAEKZDkaaAHCHYnaCgneEeFCcA2WPR0ChB1qaA1ebFnuIbk2gCkSlAFCiAFegAF6fAFehD3ORXmueEXOWT26aQU+qBnCZV1inF3yUboCRhWWmBlmqCnuYa2OqAGGqDGOnJVevAF6tAEi0AG2sAF2vIYyXhomado2Ze1S2BmOyBHKpO1e3AGqxBVy1B1q0GXKwAG6sNEm9AH2tB3WrNYmfc22zAHumX2K4AH+maWO0NW61D2m4En60AHK4AGy6AHm3AIW0AHW2IYKsYoSrbnuzPW22S2u7JXS3NpKzBmDAG5CyGW66OI2ph3G7MIuyP4mteou5AHu/AIOzYXa7QpSpnKajqHu8M4O/AIG+EZy4AHe/K4m+AJytdZW8AIO4XnDCNp+ug429KaGrppG4YX+8dHzDUZnAHZ3CAJ/AJo7FK5O+c5+7cp7CP5jKJ5bIQpvAhqi8ia+6lYfLZ5PPHZrFbKHNDK/HVqnJcqHRPqDSTLvDq7TTN7jGubTLnMbRO8DTQ8TGw7DSjb/UVLDSmMTTZ7rYXbjWeMvVVNPSX8jZQbnfOMjYYcfbU7Xeb9XaTs/abt7XcMLjUMXhe8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VCCKGCKEwcYWLLgAzj7w/MPPPddYUAQUVXjBwR6QTDCEFWpMsQArY4BQRKZKVDCNbB7xQw4GaDyAocUPL3QhSQVFIBFGERCAksYHslqBhQOn6MMqP+uYsMETRgyRgwRXjFADFkbQoIEHiiSwRBFFEOEAE/f8c0+4//wSQQQPHIAAAg80MIAAAAwQAAENGEAAAwUowMAF1ohTTjnphBsQADs="
self.phInLeft = PhotoImage(data=bytes(imgInLeft, 'latin1'))
self.phInRight = PhotoImage(data=bytes(imgInRight, 'latin1'))
self.phOutLeft = PhotoImage(data=bytes(imgOutLeft, 'latin1'))
self.phOutRight = PhotoImage(data=bytes(imgOutRight, 'latin1'))
self.updateUI()
# Method that updates the current status, getting info from the file
# Shall be called on receivment of SIGIUSR (sent by the GPIO class)