E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
pygtk
pygtk
-文件选择
filesel=gtk.FileSelection(title=None)filesel.set_filename(filename)filename=filesel.get_filename() filesel属性:filesel.dir_listfilesel.file_listfilesel.selection_entryfilesel.selection_textfilesel.main_
deepfuture
·
2011-09-19 22:00
gtk
pygtk
-文件选择
filesel=gtk.FileSelection(title=None)filesel.set_filename(filename)filename=filesel.get_filename() filesel属性:filesel.dir_listfilesel.file_listfilesel.selection_entryfilesel.selection_textfilesel.main_
deepfuture
·
2011-09-19 22:00
gtk
pygtk
-colorsel
colorsel=colorseldlg.colorselcolorsel.set_has_opacity_control(has_opacity)has_opacity是逻辑值True或Falsecolorsel.set_current_color(color)colorsel.set_current_alpha(alpha) color=colorsel.get_current_color()
deepfuture
·
2011-09-19 20:00
color
pygtk
-colorsel
colorsel=colorseldlg.colorselcolorsel.set_has_opacity_control(has_opacity)has_opacity是逻辑值True或Falsecolorsel.set_current_color(color)colorsel.set_current_alpha(alpha) color=colorsel.get_current_color()
deepfuture
·
2011-09-19 20:00
color
pygtk
-日期
/usr/bin/envpython importpygtk
pygtk
.require('2.0') importgtk,pango importtime classCalendarExample
deepfuture
·
2011-09-17 07:00
gtk
pygtk
-日期
/usr/bin/envpython importpygtk
pygtk
.require('2.0') importgtk,pango importtime classCalendarExample
deepfuture
·
2011-09-17 07:00
gtk
pygtk
-spin_button微调
相对当前值做调整spin_button.spin(direction,increment)direction参数如下:SPIN_STEP_FORWARDSPIN_STEP_BACKWARDSPIN_PAGE_FORWARDSPIN_PAGE_BACKWARDSPIN_HOMESPIN_ENDSPIN_USER_DEFINED 设置Spin_button在最低和最高值范围值之间滑动spin_but
deepfuture
·
2011-09-13 22:00
button
pygtk
-spin_button微调
相对当前值做调整spin_button.spin(direction,increment)direction参数如下:SPIN_STEP_FORWARDSPIN_STEP_BACKWARDSPIN_PAGE_FORWARDSPIN_PAGE_BACKWARDSPIN_HOMESPIN_ENDSPIN_USER_DEFINED 设置Spin_button在最低和最高值范围值之间滑动spin_but
deepfuture
·
2011-09-13 22:00
button
pygtk
-entry
阅读更多#!/usr/bin/envpython#exampleentry.pyimportpygtkpygtk.require('2.0')importgtkclassEntryExample:defenter_callback(self,widget,entry):entry_text=entry.get_text()print"Entrycontents:%s\n"%entry_textde
deepfuture
·
2011-09-13 13:00
pygtk
-entry
/usr/bin/envpython #exampleentry.py importpygtk
pygtk
.require('2.0') importgtk classEntryExample
deepfuture
·
2011-09-13 13:00
try
pygtk
-entry
/usr/bin/envpython #exampleentry.py importpygtk
pygtk
.require('2.0') importgtk classEntryExample
deepfuture
·
2011-09-13 13:00
try
pygtk
-Statusbar
/usr/bin/envpython #examplestatusbar.py importpygtk
pygtk
.require('2.0') importgtk classStatusbarExample
deepfuture
·
2011-09-13 10:00
status
pygtk
-Statusbar
/usr/bin/envpython #examplestatusbar.py importpygtk
pygtk
.require('2.0') importgtk classStatusbarExample
deepfuture
·
2011-09-13 10:00
status
pygtk
-ruler标尺
/usr/bin/envpython #-*-coding:utf-8-*- importpygtk
pygtk
.require('2.0') importgtk classRulersExample
deepfuture
·
2011-09-12 20:00
Rule
pygtk
-ruler标尺
/usr/bin/envpython #-*-coding:utf-8-*- importpygtk
pygtk
.require('2.0') importgtk classRulersExample
deepfuture
·
2011-09-12 20:00
Rule
pygtk
-xpm 和button
/usr/bin/envpython #examplepixmap.py importpygtk
pygtk
.require('2.0') importgtk #XPMdataofOpen-Fileicon
deepfuture
·
2011-09-12 13:00
button
pygtk
-xpm 和button
/usr/bin/envpython #examplepixmap.py importpygtk
pygtk
.require('2.0') importgtk #XPMdataofOpen-Fileicon
deepfuture
·
2011-09-12 13:00
button
pygtk
-image
/usr/bin/envpython #exampleimages.py importpygtk
pygtk
.require('2.0') importgtk classImagesExample
deepfuture
·
2011-09-12 10:00
image
pygtk
-image
/usr/bin/envpython #exampleimages.py importpygtk
pygtk
.require('2.0') importgtk classImagesExample
deepfuture
·
2011-09-12 10:00
image
pygtk
-image
image.set_from_pixbuf(pixbuf)image.set_from_pixmap(pixmap, mask)image.set_from_image(image)image.set_from_file(filename)image.set_from_stock(stock_id, size)image.set_from_icon_set(icon_set, size)image
deepfuture
·
2011-09-11 22:00
image
pygtk
-image
image.set_from_pixbuf(pixbuf)image.set_from_pixmap(pixmap, mask)image.set_from_image(image)image.set_from_file(filename)image.set_from_stock(stock_id, size)image.set_from_icon_set(icon_set, size)image
deepfuture
·
2011-09-11 22:00
image
pygtk
-dialog
dialog = gtk.Dialog(title=None, parent=None, flags=0, buttons=None)dialog模式:DIALOG_MODAL - make the dialog modalDIALOG_DESTROY_WITH_PARENT - destroy dialog when its parent is destroyedDIALOG_NO_SEPARA
deepfuture
·
2011-09-11 22:00
dialog
pygtk
-dialog
dialog = gtk.Dialog(title=None, parent=None, flags=0, buttons=None)dialog模式:DIALOG_MODAL - make the dialog modalDIALOG_DESTROY_WITH_PARENT - destroy dialog when its parent is destroyedDIALOG_NO_SEPARA
deepfuture
·
2011-09-11 22:00
dialog
pygtk
-进度条
/usr/bin/envpython #exampleprogressbar.py importpygtk
pygtk
.require('2.0') importgtk,gobject
deepfuture
·
2011-09-11 17:00
进度条
pygtk
-进度条
/usr/bin/envpython #exampleprogressbar.py importpygtk
pygtk
.require('2.0') importgtk,gobject
deepfuture
·
2011-09-11 17:00
进度条
pygtk
-tooltip
/usr/bin/envpython #exampletooltip.py importpygtk
pygtk
.require('2.0') importgtk #CreateanArrowwidgetwiththespecifiedparameters
deepfuture
·
2011-09-11 12:00
tooltip
pygtk
-tooltip
/usr/bin/envpython #exampletooltip.py importpygtk
pygtk
.require('2.0') importgtk #CreateanArrowwidgetwiththespecifiedparameters
deepfuture
·
2011-09-11 12:00
tooltip
pygtk
-arrows
/usr/bin/envpython #examplearrow.py importpygtk
pygtk
.require('2.0') importgtk #CreateanArrowwidgetwiththespecifiedparameters
deepfuture
·
2011-09-11 11:00
rows
pygtk
-arrows
/usr/bin/envpython #examplearrow.py importpygtk
pygtk
.require('2.0') importgtk #CreateanArrowwidgetwiththespecifiedparameters
deepfuture
·
2011-09-11 11:00
rows
pygtk
-label
/usr/bin/envpython #examplelabel.py importpygtk
pygtk
.require('2.0') importgtk classLabels
deepfuture
·
2011-09-11 11:00
label
pygtk
-label
/usr/bin/envpython #examplelabel.py importpygtk
pygtk
.require('2.0') importgtk classLabels
deepfuture
·
2011-09-11 11:00
label
pygtk
-range widgets
/usr/bin/envpython #examplerangewidgets.py importpygtk
pygtk
.require('2.0') importgtk #Conveniencefunctions
deepfuture
·
2011-09-10 16:00
widget
pygtk
-range widgets
/usr/bin/envpython #examplerangewidgets.py importpygtk
pygtk
.require('2.0') importgtk #Conveniencefunctions
deepfuture
·
2011-09-10 16:00
widget
pygtk
-radio button
liuxing@liuxing-O-E-M:~/pro/pytest$pythontest1.pyradiobutton1wastoggledOFFradiobutton2wastoggledONradiobutton2wastoggledOFFradiobutton3wastoggledONradiobutton3wastoggledOFFradiobutton1wastoggledONra
deepfuture
·
2011-09-08 21:00
button
pygtk
-radio button
liuxing@liuxing-O-E-M:~/pro/pytest$pythontest1.pyradiobutton1wastoggledOFFradiobutton2wastoggledONradiobutton2wastoggledOFFradiobutton3wastoggledONradiobutton3wastoggledOFFradiobutton1wastoggledONra
deepfuture
·
2011-09-08 21:00
button
pygtk
-check buttons
liuxing@liuxing-O-E-M:~/pro/pytest$pythontest1.pycheckbutton1wastoggledONcheckbutton1wastoggledOFFcheckbutton2wastoggledONcheckbutton1wastoggledONcheckbutton1wastoggledOFF#!/usr/bin/envpython #examp
deepfuture
·
2011-09-07 22:00
button
pygtk
-check buttons
liuxing@liuxing-O-E-M:~/pro/pytest$pythontest1.pycheckbutton1wastoggledONcheckbutton1wastoggledOFFcheckbutton2wastoggledONcheckbutton1wastoggledONcheckbutton1wastoggledOFF#!/usr/bin/envpython #examp
deepfuture
·
2011-09-07 22:00
button
pygtk
-toogle button
类似于checkbutton和radiobutton,带有状态的liuxing@liuxing-O-E-M:~/pro/pytest$pythontest1.pytogglebutton2wastoggledONtogglebutton2wastoggledOFFtogglebutton2wastoggledONtogglebutton2wastoggledOFFtogglebutton2wast
deepfuture
·
2011-09-06 21:00
button
pygtk
-toogle button
类似于checkbutton和radiobutton,带有状态的liuxing@liuxing-O-E-M:~/pro/pytest$pythontest1.pytogglebutton2wastoggledONtogglebutton2wastoggledOFFtogglebutton2wastoggledONtogglebutton2wastoggledOFFtogglebutton2wast
deepfuture
·
2011-09-06 21:00
button
pygtk
-Button
button=gtk.Button(label=None,stock=None) stock项主要有以下:STOCK_DIALOG_INFOSTOCK_DIALOG_WARNINGSTOCK_DIALOG_ERRORSTOCK_DIALOG_QUESTIONSTOCK_DNDSTOCK_DND_MULTIPLESTOCK_ADDSTOCK_APPLYSTOCK_BOLDSTOCK_CANCELS
deepfuture
·
2011-09-05 20:00
button
pygtk
-Button
button=gtk.Button(label=None,stock=None) stock项主要有以下:STOCK_DIALOG_INFOSTOCK_DIALOG_WARNINGSTOCK_DIALOG_ERRORSTOCK_DIALOG_QUESTIONSTOCK_DNDSTOCK_DND_MULTIPLESTOCK_ADDSTOCK_APPLYSTOCK_BOLDSTOCK_CANCELS
deepfuture
·
2011-09-05 20:00
button
pygtk
-widget继承树
gobject.GObject | +gtk.Object | +gtk.Widget | | +gtk.Misc | | | +gtk.Label | | | | ‘gtk.AccelLabel | | | +gtk.Arrow | | | ‘gtk.Image | | +gtk.Container | | | +gtk.Bin | | | | +gtk.A
deepfuture
·
2011-09-05 19:00
widget
pygtk
-widget继承树
gobject.GObject | +gtk.Object | +gtk.Widget | | +gtk.Misc | | | +gtk.Label | | | | ‘gtk.AccelLabel | | | +gtk.Arrow | | | ‘gtk.Image | | +gtk.Container | | | +gtk.Bin | | | | +gtk.A
deepfuture
·
2011-09-05 19:00
widget
pygtk
-表格
pygtk
表格 table=gtk.Table(rows=1,columns=1,homogeneous=False)第一个参数是表格的行数,第二个是表格的列数,homogeneous表格的box的大小是否调整成最大的
deepfuture
·
2011-08-30 17:00
gtk
pygtk
-表格
pygtk
表格 table=gtk.Table(rows=1,columns=1,homogeneous=False)第一个参数是表格的行数,第二个是表格的列数,homogeneous表格的box的大小是否调整成最大的
deepfuture
·
2011-08-30 17:00
gtk
pygtk
入门(4)-第三个窗口(带2个按钮)
/usr/bin/envpython #-*-coding:utf-8-*- importpygtk
pygtk
.require('2.0') importgtk classDeepFuture
deepfuture
·
2011-08-30 12:00
gtk
pygtk
入门(4)-第三个窗口(带2个按钮)
/usr/bin/envpython #-*-coding:utf-8-*- importpygtk
pygtk
.require('2.0') importgtk classDeepFuture
deepfuture
·
2011-08-30 12:00
gtk
pygtk
入门(3)-事件
button_press_eventbutton_release_eventscroll_eventmotion_notify_eventdelete_eventdestroy_eventexpose_eventkey_press_eventkey_release_evententer_notify_eventleave_notify_eventconfigure_eventfocus_in_ev
deepfuture
·
2011-08-29 17:00
gtk
pygtk
入门(2)-第二个窗口
/usr/bin/envpython #-*-coding:utf-8-*- importpygtk
pygtk
.require('2.0') importgtk classDeepFuture
deepfuture
·
2011-08-29 16:00
gtk
pygtk
入门(2)-第二个窗口
/usr/bin/envpython #-*-coding:utf-8-*- importpygtk
pygtk
.require('2.0') importgtk classDeepFuture
deepfuture
·
2011-08-29 16:00
gtk
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他