代码搜索:self
找到约 10,000 项符合「self」的源代码
代码结果 10,000
www.eeworm.com/read/100127/6273976
object_tp_dealloc
static void
$abbrev$_dealloc(self)
$abbrev$object *self;
{
/* XXXX Add your own cleanup code here */
PyMem_DEL(self);
}
www.eeworm.com/read/100127/6273983
object_new
static $abbrev$object *
new$abbrev$object()
{
$abbrev$object *self;
self = PyObject_NEW($abbrev$object, &$Abbrev$type);
if (self == NULL)
return NULL;
/* XXXX Add your own initializers here *
www.eeworm.com/read/100127/6273987
object_tp_as_mapping
/* Code to access $name$ objects as mappings */
static int
$abbrev$_length(self)
$abbrev$object *self;
{
/* XXXX Return the size of the mapping */
}
static PyObject *
$abbrev$_subscript(self, key
www.eeworm.com/read/100127/6273988
object_tp_getattr
static PyObject *
$abbrev$_getattr(self, name)
$abbrev$object *self;
char *name;
{
/* XXXX Add your own getattr code here */
return Py_FindMethod($abbrev$_methods, (PyObject *)self, name);
}
www.eeworm.com/read/100127/6274018
py slider-demo-1.py
from Tkinter import *
# shows how to make a slider, set and get its value under program control
class Test(Frame):
def print_value(self, val):
print "slider now at", val
def reset(self):
www.eeworm.com/read/100127/6274041
py killing-window-w-wm.py
from Tkinter import *
# This file shows how to trap the killing of a window
# when the user uses window manager menus (typ. upper left hand corner
# menu in the decoration border).
### ******* th
www.eeworm.com/read/100127/6274048
py hanoi.py
# Animated Towers of Hanoi using Tk with optional bitmap file in
# background.
#
# Usage: tkhanoi [n [bitmapfile]]
#
# n is the number of pieces to animate; default is 4, maximum 15.
#
# The bitmap fi
www.eeworm.com/read/100127/6274177
py livevideoin.py
# Live video input class.
# Note that importing this module attempts to initialize video.
# Check if video is available.
# There are three reasons for failure here:
# (1) this version of Python may
www.eeworm.com/read/125603/6279855
htm addpath_close.htm
function closewindow(selectusers){
self.opener.document.DocForm.CheckList_Usr.val
www.eeworm.com/read/293222/6281302
bak mydll.cpp.bak
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include "Mydll.h"
GLDEF_C TInt E32Dll(TDllReason/*aReason*/)
{
return (KErrNone);
}
EXPORT_C CMyClass* CMyClass::