| Trees | Index | Help |
|---|
| Package flumotion :: Package common :: Module pygobject |
|
| Function Summary | |
|---|---|
Set the given property to the given value on the given object. | |
Add a GObject property to the current object. | |
Add a GObject signal to the current object. | |
type_register(klass)
| |
Wrap a class' __init__ method in a procedure that will construct gobject properties. | |
| Variable Summary | |
|---|---|
int |
PARAM_CONSTRUCT = 512 |
| Function Details |
|---|
gobject_set_property(object, property, value)Set the given property to the given value on the given object.
|
gproperty(type_, name, desc, *args, **kwargs)Add a GObject property to the current object. To be used from class definition scope.
|
gsignal(name, *args)Add a GObject signal to the current object. To be used from class definition scope.
|
with_construct_properties(__init__)Wrap a class' __init__ method in a procedure that will construct gobject properties. This is necessary because pygtk's object construction is a bit broken. Usage:
class Foo(GObject):
def __init__(self):
GObject.__init(self)
__init__ = with_construct_properties(__init__)
|
| Variable Details |
|---|
PARAM_CONSTRUCT
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Oct 26 16:39:16 2008 | http://epydoc.sf.net |