代码搜索:self
找到约 10,000 项符合「self」的源代码
代码结果 10,000
www.eeworm.com/read/250937/12374796
pm memcachedtest.pm
package MemcachedTest;
use strict;
use IO::Socket::INET;
use Exporter 'import';
use FindBin qw($Bin);
use Carp qw(croak);
use vars qw(@EXPORT);
@EXPORT = qw(new_memcached sleep mem_get_is mem_stats f
www.eeworm.com/read/337282/12379386
py tree_store.py
#!/usr/bin/env python
'''Tree View/Tree Store
The GtkTreeStore is used to store data in tree form, to be used
later on by a GtkTreeView to display it. This demo builds a simple
GtkTreeStore and displ
www.eeworm.com/read/337282/12379442
py colorsel.py
#!/usr/bin/env python
"""Color Selector
GtkColorSelection lets the user choose a color. GtkColorSelectionDialog is a
prebuilt dialog containing a GtkColorSelection."""
import gtk
class ColorSelecto
www.eeworm.com/read/337282/12379455
py expander.py
#!/usr/bin/env python
'''Expander
GtkExpander allows to provide additional content that is initially hidden.
This is also known as "disclosure triangle".
'''
# pygtk version: Maik Hertha
www.eeworm.com/read/337282/12379472
py properties.py
import gobject
class MyObject(gobject.GObject):
__gproperties__ = {
'foo': (gobject.TYPE_STRING, 'foo property', 'the foo of the object',
'bar', gobject.PARAM_READWRITE),
www.eeworm.com/read/337282/12379484
py autoconnect.py
#!/usr/bin/env python
#
# Small test to demonstrate glade.XML.signal_autoconnect on an instance
#
import pygtk
pygtk.require('2.0')
import gtk, gtk.glade
class SimpleTest:
def __init__(self):
www.eeworm.com/read/337282/12379523
py browse.py
#!/usr/bin/env python
# This is an example of using dynamic trees (trees where nodes are only
# calculated as they are needed) with pygtk. This particular example
# allows for the browsing of the va
www.eeworm.com/read/337282/12379532
py edit.py
#!/usr/bin/env python
# This is a sample implementation of an editor.
import os
import dialogs
import gtk
BLOCK_SIZE = 2048
RESPONSE_FORWARD = 1
class EditWindow(gtk.Window):
def __init__(sel
www.eeworm.com/read/337282/12379541
py gtkprof.py
#!/usr/bin/env python
import profile, pstats, fpformat
import pygtk
pygtk.require('2.0')
import gtk
class PStatWindow(gtk.Window):
def __init__(self, stats):
gtk.Window.__init__(self)
www.eeworm.com/read/337282/12379558
py scrollable.py
#
# Reimplementation of gtk.Layout in python
# Example on how to implement a scrollable container in python
#
# Johan Dahlin , 2006
#
# Requires PyGTK 2.8.0 or later
import gobject
i