本文整理汇总了Python中Images.logo方法的典型用法代码示例。如果您正苦于以下问题:Python Images.logo方法的具体用法?Python Images.logo怎么用?Python Images.logo使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Images
的用法示例。
在下文中一共展示了Images.logo方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: about
# 需要导入模块: import Images [as 别名]
# 或者: from Images import logo [as 别名]
def about(self):
win=Toplevel()
win.geometry('+500+350')
win.title('About DNATool')
win.maxsize(width=400,height=400)
logo = Images.logo()
label = Label(win,image=logo)
label.image = logo
label.pack(fill=BOTH,padx=4,pady=4)
text="""DNATool App, Version 2
is a python desktop application for DNA sequence manipulation.
Released under GPL v3
(C) Copyright 2012- Damien Farrell """
text=text.replace('\t','')
text= ' '.join(text.split())
Label(win,text=text,wraplength=400).pack(fill=Y,side=TOP,pady=4)
return
示例2: about
# 需要导入模块: import Images [as 别名]
# 或者: from Images import logo [as 别名]
def about(self):
win=Toplevel()
win.geometry('+500+350')
win.title('About DataPipeline')
logo = Images.logo()
label = Label(win,image=logo)
label.image = logo
label.pack(fill=BOTH,padx=4,pady=4)
text="""DataPipeline App, Version 1.2
is a python desktop and web application
that uses a configuration file to automate the import of
raw data in a variety of formats.\n
Released under GPL v3\n
(C) Copyright 2011- Damien Farrell """
text=text.replace('\t','')
text= ' '.join(text.split())
Label(win,text=text,wraplength=400).pack(fill=Y,side=TOP,pady=4)
return