代码搜索:Pygtk
找到约 117 项符合「Pygtk」的源代码
代码结果 117
www.eeworm.com/read/143979/12825474
py togglebutton.py
#!/usr/bin/env python
# example togglebutton.py
import pygtk
pygtk.require('2.0')
import gtk
class ToggleButton:
# Our callback.
# The data passed to this method is printed to stdout
de
www.eeworm.com/read/143979/12825487
py uimerge.py
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk
class UIMergeExample:
ui0 = '''
www.eeworm.com/read/116026/14992172
in configure.in
AC_INIT([coralftp], [0.2])
AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE
AC_PROG_INSTALL
AM_PATH_PYTHON
AC_PATH_PROG(GCONFTOOL, gconftool-2)
PKG_CHECK_MODULES(PYGTK, pygtk-2.0)
AC_SUBST(PYGTK_CFLGAS)
AC_SUBS
www.eeworm.com/read/143979/12825353
py basicaction.py
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk
class BasicAction:
def __init__(self):
# Create the toplevel window
window = gtk.Window()
window.connec
www.eeworm.com/read/143979/12825369
py basictreeview.py
#!/usr/bin/env python
# example basictreeview.py
import pygtk
pygtk.require('2.0')
import gtk
class BasicTreeViewExample:
# close the window and quit
def delete_event(self, widget, event,
www.eeworm.com/read/143979/12825374
py treeviewcolumn.py
#!/usr/bin/env python
# example treeviewcolumn.py
import pygtk
pygtk.require('2.0')
import gtk
class TreeViewColumnExample:
# close the window and quit
def delete_event(self, widget, event
www.eeworm.com/read/143979/12825398
py paned.py
#!/usr/bin/env python
# example paned.py
import pygtk
pygtk.require('2.0')
import gtk, gobject
class PanedExample:
# Create the list of "messages"
def create_list(self):
# Create a
www.eeworm.com/read/143979/12825417
py notebook.py
#!/usr/bin/env python
# example notebook.py
import pygtk
pygtk.require('2.0')
import gtk
class NotebookExample:
# This method rotates the position of the tabs
def rotate_book(self, button,
www.eeworm.com/read/143979/12825450
py actions.py
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk
class ActionExample:
def __init__(self):
# Create the toplevel window
window = gtk.Window()
window.conn
www.eeworm.com/read/143979/12825467
py rulers.py
#!/usr/bin/env python
# example rulers.py
import pygtk
pygtk.require('2.0')
import gtk
class RulersExample:
XSIZE = 400
YSIZE = 400
# This routine gets control when the close button is