Package gazpacho :: Package widgets :: Package base :: Module box :: Class BoxAdaptor
[frames | no frames]

Type BoxAdaptor

BaseWidgetAdaptor --+        
                    |        
           object --+        
                    |        
        WidgetAdaptor --+    
                        |    
         ContainerAdaptor --+
                            |
                           BoxAdaptor

Known Subclasses:
ComboEntryAdaptor, DateEntryAdaptor

Method Summary
  fill_empty(self, context, widget)
After the widget is created this function is called to put one or more placeholders in it.
    Inherited from ContainerAdaptor
  get_children(self, context, widget)
To get the list of children for a widget, overridable by subclasses
  replace_child(self, context, current, new, container)
    Inherited from WidgetAdaptor
  button_release(self, context, widget, event)
Called when a button release event occurs in the widget.
  create(self, context, interactive)
Called when creating a widget, it should return an instance of self.type
  get_default(self)
  get_default_prop_value(self, prop, parent_type)
This is responsible for accessing the default value of a property.
  is_toplevel(self)
Return true if it's a toplevel, False otherwise
  list_signals(self)
Return a list of signals
  load(self, context, widget)
Build a gadget from a widget
  motion_notify(self, context, widget, event)
Called when the mouse is moved on the widget.
  post_create(self, context, widget, interactive)
Called after all initialization is done in the creation process.
  save(self, context, widget)
Prepares the widget to be saved.

Instance Variable Summary
    Inherited from WidgetAdaptor
  cursor: @ivar pixbuf
  default: default widget as created in gobject.new().
  default_child: for packing properties we need to save the default child too
  editor_name: Name displayed in the editor
  generic_name: generic_name is used to create default widget names
  icon:  
  library:  
NoneType name: Optional identifier of adaptor, GType name of type will be used if not specified
  palette_name: palette_name is used in the palette
  tooltip: the tooltip is shown in the palette
NoneType type: GTK type for this widget.
  type_name: type_name is used when saving the xml

Method Details

fill_empty(self, context, widget)

After the widget is created this function is called to put one or more placeholders in it. Only useful for container widgets
Overrides:
gazpacho.widgets.base.base.ContainerAdaptor.fill_empty (inherited documentation)

Generated by Epydoc 2.1 on Mon Jan 29 16:46:03 2007 http://epydoc.sf.net