| Home | Trees | Index | Help |
|---|
GTriggerCore--+ |object--+ | | |ParserObj--+ |GObj--+ | UIWidget
| Method Summary | |
|---|---|
__init__(self,
event)
| |
__check_bounding_box(self)
| |
__primary_init(self)
| |
_create_widget_(self,
event,
spacer)
| |
Fire a request<name> event passing the GFObject and the GFObject's form as additional event parameters. | |
create_widget(self,
event,
spacer)
| |
Get the bounding box of the widget. | |
| Inherited from GObj | |
| |
| |
Dumps an XML representation of the object | |
This is a convenience function for applications NOT using GParser to load an object tree. | |
A convenience function for applications NOT using GParser to load an object tree. | |
| string |
Returns the xml tag to be used to represent the object. |
Return a python iterator of child objects. | |
maxInits returns the maximum size of all the _inits list from this object or it's children | |
Starts GNUe's phased initialization system from this object down. | |
A recusive function to print an indented text representation of the GObj tree from this object down. | |
Function that recursively walks down through a tree of ParserObj instances and applies a function
to them. | |
This function is called after the parsers have completely constructed. | |
Used internally by phaseInit to walk through the object tree initializing objects. | |
This bit of nastiness is here to let GNUe Designer capture the setting of GObject properties. | |
| Inherited from GTriggerCore | |
| |
Construct a namespace object tree from an XML ( definitions.GObjects.GObj) object tree. | |
Return the namespace object that mirrors this object in the action/trigger namespace. | |
| Inherited from ParserObj | |
Set the action attribute of a given object to the specified action. | |
Get the contents of this object. | |
Return a compareable and identifying id of an object within a tree. | |
Set attributes loaded by GParser. | |
Add an object to the list of children | |
Assign all attributes from a given object to this one. | |
Build an object tree representing the difference between two object trees. | |
Return a XML representation of the object. | |
Moves downward though the children of an object till it finds the child with the specified name. | |
Moves downward through the children of an object till it finds the child of the specified type. | |
Find all children of a specific type. | |
Moves upward though the parents of an object till it finds the parent of the specified type. | |
Returns the content of any GContent objects that are children of this object. | |
Return a useful description of the object. | |
| any |
Returns the immediate parent of an object instance in a GObj tree. |
Merge another object tree into this tree. | |
Set the immediate parent of an object instance in a GObj tree | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... | |
| Instance Variable Summary | |
|---|---|
_container: If this widget can contain other widgets then _container is the
specific container children should use (as parent) | |
_form: the GFForm instance owning this widget | |
_gfObject: The GFObject for this UIWidget | |
_uiDriver: the GFUserInterface instance of the current ui driver used to render
the form | |
_uiForm: the UIForm widget this widget is a child of | |
bouding_boxes: is a list of tuples with the bounding boxes of all the widgets
children. | |
chr_h: height of the widgets in character-positions | |
chr_pos: tuple of (chr_y, chr_x) defining the upper left corner | |
chr_span: tuple of (chr_h, chr_w) defining the number of rows and columns the
widget occupies | |
chr_w: width of the widgets in character-positions | |
chr_x: zero-based x coordinate of the widget | |
chr_y: zero-based y coordinate of the widget | |
managed: This boolean flag determines wether a widget is used in a managed
layout or in a positioned one | |
widgets: Sequence of ui driver specific widgets created for this UIWidget. | |
| Inherited from GTriggerCore | |
_triggerFunctions: Dictionary defining the functions this object should present in
action/trigger code. | |
_triggerGet: Can be set to a method that returns the string value of the
object. | |
_triggerGlobal: If set to True, this object is added to the global namespace. | |
_triggerProperties: Dictionary defining the properties this object should present in
action/trigger code. | |
_triggerSet: Can be set to a method that sets the value of this object. | |
| Method Details |
|---|
__init__(self,
event)
|
__check_bounding_box(self) |
__primary_init(self) |
_create_widget_(self, event, spacer) |
_request(self, name, **params)Fire a request<name> event passing the GFObject and the GFObject's form as additional event parameters.
|
create_widget(self, event, spacer) |
get_bounding_box(self)Get the bounding box of the widget. For managed layouts this is always None. For positioned layouts it is a tuple of character-positions (left, top, right, bottom)
|
| Instance Variable Details |
|---|
_containerIf this widget can contain other widgets then _container is the specific container children should use (as parent) |
_formthe GFForm instance owning this widget |
_gfObjectThe GFObject for this UIWidget |
_uiDriverthe GFUserInterface instance of the current ui driver used to render the form |
_uiFormthe UIForm widget this widget is a child of |
bouding_boxesis a list of tuples with the bounding boxes of all the widgets children. Such a tuple is made like (left, top, right, bottom, gfObject of the corresponding child). |
chr_hheight of the widgets in character-positions |
chr_postuple of (chr_y, chr_x) defining the upper left corner |
chr_spantuple of (chr_h, chr_w) defining the number of rows and columns the widget occupies |
chr_wwidth of the widgets in character-positions |
chr_xzero-based x coordinate of the widget |
chr_yzero-based y coordinate of the widget |
managedThis boolean flag determines wether a widget is used in a managed layout or in a positioned one |
widgetsSequence of ui driver specific widgets created for this UIWidget. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Tue Jan 6 23:03:38 2009 | http://epydoc.sf.net |