代码搜索:Pygtk
找到约 117 项符合「Pygtk」的源代码
代码结果 117
www.eeworm.com/read/143979/12825389
py helloworld2.py
#!/usr/bin/env python
# example helloworld2.py
import pygtk
pygtk.require('2.0')
import gtk
class HelloWorld2:
# Our new improved callback. The data passed to this method
# is printed to
www.eeworm.com/read/143979/12825420
py treeviewdnd.py
#!/usr/bin/env python
# example treeviewdnd.py
import pygtk
pygtk.require('2.0')
import gtk
class TreeViewDnDExample:
TARGETS = [
('MY_TREE_MODEL_ROW', gtk.TARGET_SAME_WIDGET, 0),
www.eeworm.com/read/143979/12825423
py expander.py
#!/usr/bin/env python
import time
import pygtk
pygtk.require('2.0')
import gtk
class ExpanderExample:
def __init__(self):
window = gtk.Window()
window.connect('destroy', lambda w
www.eeworm.com/read/143979/12825432
py dragndrop.py
#!/usr/bin/env python
# example dragndrop.py
import pygtk
pygtk.require('2.0')
import gtk
import string, time
import gtkxpm
class DragNDropExample:
HEIGHT = 600
WIDTH = 600
TARGET_TYPE
www.eeworm.com/read/143979/12825441
py packbox.py
#!/usr/bin/env python
# example packbox.py
import pygtk
pygtk.require('2.0')
import gtk
import sys, string
# Helper function that makes a new hbox filled with button-labels. Arguments
# for the var
www.eeworm.com/read/143979/12825454
py scrolledwin.py
#!/usr/bin/env python
# example scrolledwin.py
import pygtk
pygtk.require('2.0')
import gtk
class ScrolledWindowExample:
def destroy(self, widget):
gtk.main_quit()
def __init__(sel
www.eeworm.com/read/337282/12379475
py signal.py
import pygtk; pygtk.require("2.0")
import gobject
class C(gobject.GObject):
__gsignals__ = {
'my_signal': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE,
(gobject.TYPE
www.eeworm.com/read/337282/12379528
py pyide.py
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk
import gtkcons, gtkdb, gtkprof, edit, dialogs
import os, sys, string
# select a good VT emulator
for vt in 'Eterm', 'nxterm', 'xter
www.eeworm.com/read/337282/12379547
py dialogs.py
import pygtk
pygtk.require('2.0')
import gtk
import os
def InputBox(title, label, parent, text=''):
dlg = gtk.Dialog(title, parent, gtk.DIALOG_DESTROY_WITH_PARENT,
(gtk.STOC
www.eeworm.com/read/186812/8908376
bluepin
#!/usr/bin/python
#
# Bluetooth PIN helper
# Written by Maxim Krasnyansky
#
import sys, os, string, popen2, pygtk
pygtk.require('2.0')
# X Display initialization.
# Find running