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

A python-constructible GadgetColumn. More...

Methods defined here:

def __init__
def __reduce__
def add
def remove

Data descriptors defined here:

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

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

A python-constructible GadgetColumn.

(See GadgetColumn.)

Method resolution order

CallbackColumn
Boost.Python.instance
builtin.object

Constructor & Destructor Documentation

def Gadget.CallbackColumn.__init__ (   args)
 CallbackColumn(gadgetscreen, callback, displayname, sortname,        foldname, defaultfoldstate)
     gadgetscreen - the gadget screen object this column is
                    associated with
     callback     - a function that takes a GadgetColumn as a
                    parameter in order to create widgets in it
     displayname  - a string that is used for the title of the
                    column
     sortname     - a string that is used to establish the order
                    columns will appear on their GadgetScreen
     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 CallbackColumn is automatically added to its screen;
 GadgetScreen.add does not need to be called.

Member Function Documentation

def Gadget.CallbackColumn.__dict__ (   args)
def Gadget.CallbackColumn.__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.CallbackColumn.__reduce__ (   args)
 __reduce__ = <unnamed Boost.Python function>(args)
def Gadget.CallbackColumn.__weakref__ (   args)
def Gadget.CallbackColumn.add (   args)
 CallbackColumn.add(leaf)
     leaf - a GadgetLeaf objectAdd a GadgetLeaf object to the column.
def Gadget.CallbackColumn.icon (   args)

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

def Gadget.CallbackColumn.mainCavity (   args)

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

(Leaves added to this banner will go in this frame automatically.)

def Gadget.CallbackColumn.remove (   args)
 CallbackColumn.remove(leaf)
     leaf - a GadgetLeaf objectRemove a GadgetLeaf object from the column.
 
 CallbackColumn.remove(leaf)
     leaf - a GadgetLeaf objectRemove a GadgetLeaf object from the column.
 
 CallbackColumn.remove(leaf)
     leaf - a GadgetLeaf objectRemove a GadgetLeaf object from the column.
 
 CallbackColumn.remove(leaf)
     leaf - a GadgetLeaf objectRemove a GadgetLeaf object from the column.
def Gadget.CallbackColumn.secondaryCavity (   args)

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

def Gadget.CallbackColumn.sidebar (   args)

(Read-only) Returns the frame which should be used as the parent of widgets in this column's sidebar.

Member Data Documentation

int Gadget.CallbackColumn.__instance_size__ = 40
staticprivate