SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
Gadget.CallbackLeaf Class Reference

Python-constructible GadgetLeaf objects. More...

Methods defined here:

def __init__
def __reduce__

Data descriptors defined here:

def icon
 The filename of an image to display for this leaf on the Gadget tree.
def imageCavity
 (Read-only) Returns the frame which should be used as the parent for this leaf's explanatory images.
def mainCavity
 (Read-only) Returns the frame which should be used as the parent of widgets in this leaf.
def secondaryCavity
 (Read-only) Returns the frame which should be used as the parent for auxiliary controls used by this leaf, such as form cut and paste buttons.

Data and other attributes defined here:

int __instance_size__ = 40

Data descriptors inherited from Boost.Python.instance:

def __dict__
def __weakref__

Data and other attributes inherited from Boost.Python.instance:

def __new__

Detailed Description

Python-constructible GadgetLeaf objects.

(See GadgetLeaf.)

Method resolution order

CallbackLeaf
Boost.Python.instance
builtin.object

Constructor & Destructor Documentation

def Gadget.CallbackLeaf.__init__ (   args)
 CallbackLeaf(gadgetcolumn, callback, displayname, sortname,        foldname, defaultfoldstate)
     gadgetcolumn - the gadget column object this leaf is
                    associated with
     callback     - a function that takes a GadgetLeaf as a
                    parameter in order to create widgets in it
     displayname  - a string that is used for the title of the
                    leaf
     sortname     - a string that is used to establish the order
                    leaves will appear within their column
     foldname     - a uuid that is used to track the user's preferred
                    fold state for this gadget
     defaultfoldstate - a boolean that specifies the default fold
                    state when the user's prefere is not known
 A CallbackLeaf is automatically added to its column;
 GadgetColumn.add does not need to be called.

Member Function Documentation

def Gadget.CallbackLeaf.__dict__ (   args)
def Gadget.CallbackLeaf.__new__ (   args)
T.__new__(S, ...) -> a new object with type S, a subtype of T
 __new__ = <built-in method __new__ of Boost.Python.class object>
def Gadget.CallbackLeaf.__reduce__ (   args)
 __reduce__ = <unnamed Boost.Python function>(args)
def Gadget.CallbackLeaf.__weakref__ (   args)
def Gadget.CallbackLeaf.icon (   args)

The filename of an image to display for this leaf on the Gadget tree.

def Gadget.CallbackLeaf.imageCavity (   args)

(Read-only) Returns the frame which should be used as the parent for this leaf's explanatory images.

def Gadget.CallbackLeaf.mainCavity (   args)

(Read-only) Returns the frame which should be used as the parent of widgets in this leaf.

def Gadget.CallbackLeaf.secondaryCavity (   args)

(Read-only) Returns the frame which should be used as the parent for auxiliary controls used by this leaf, such as form cut and paste buttons.

Member Data Documentation

int Gadget.CallbackLeaf.__instance_size__ = 40
staticprivate