代码搜索:Pygtk
找到约 117 项符合「Pygtk」的源代码
代码结果 117
www.eeworm.com/read/160583/10516803
py gtk_spreadsheet.py
#!/usr/bin/env python
"""
Example of embedding matplotlib in an application and interacting with
a treeview to store data. Double click on an entry to update plot
data
"""
import pygtk
pygtk.require
www.eeworm.com/read/143979/12825439
py helloworld.py
#!/usr/bin/env python
# example helloworld.py
import pygtk
pygtk.require('2.0')
import gtk
class HelloWorld:
# This is a callback function. The data arguments are ignored
# in this example
www.eeworm.com/read/143979/12825456
py uimanager.py
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk
class UIManagerExample:
ui = '''
www.eeworm.com/read/143979/12825482
py toolbar.py
#!/usr/bin/env python
# example toolbar.py
import pygtk
pygtk.require('2.0')
import gtk
class ToolbarExample:
# This method is connected to the Close button or
# closing the window from the
www.eeworm.com/read/143979/12825490
py actiongroup.py
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk
class ActionGroupExample:
def __init__(self):
# Create the toplevel window
window = gtk.Window()
window
www.eeworm.com/read/143979/12825336
py fixed.py
#!/usr/bin/env python
# example fixed.py
import pygtk
pygtk.require('2.0')
import gtk
class FixedExample:
# This callback method moves the button to a new position
# in the Fixed container.
www.eeworm.com/read/143979/12825347
py clipboard.py
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk, gobject
class ClipboardInfo:
pass
class ClipboardExample:
# update button label and tooltips
def update_buttons(self)
www.eeworm.com/read/143979/12825386
py getselection.py
#!/usr/bin/env python
# example getselection.py
import pygtk
pygtk.require('2.0')
import gtk
class GetSelectionExample:
# Signal handler invoked when user clicks on the
# "Get String Target
www.eeworm.com/read/143979/12825436
py setselection.py
#!/usr/bin/env python
# example setselection.py
import pygtk
pygtk.require('2.0')
import gtk
import time
class SetSelectionExample:
# Callback when the user toggles the selection
def select
www.eeworm.com/read/143979/12825470
py checkbutton.py
#!/usr/bin/env python
# example checkbutton.py
import pygtk
pygtk.require('2.0')
import gtk
class CheckButton:
# Our callback.
# The data passed to this method is printed to stdout
def