Package autoglade :: Module autoglade :: Class AutoGladeObject
[show private | hide private]
[frames | no frames]

Class AutoGladeObject


AutoGladeObject is an utility class thet relates together the Glade widget, its name and the XML element in a particular autoglade instance.
Method Summary
  __init__(self, autoglade, name, widget, element)
Constructor
  connectIfNotConnected(self, signal, handler, *args)
Connect the specified signal with handler if there's no another handler defined.
  getElement(self)
  getName(self)
  getWidget(self)

Class Variable Summary
bool DEBUG = True

Method Details

__init__(self, autoglade, name=None, widget=None, element=None)
(Constructor)

Constructor
Parameters:
autoglade - Autoglade objet to which object is related to
           (type=AutoGlade.AutoGlade)
name - Name of the AutoGladeObject
           (type=str)
widget - Widget of the AutoGladeObject. This accepts the special value autoglade.AGO_POSTPONED to defer the initialization of the widget until some conditions are met.
           (type=gtk.Widget)
element - Element of the AutoGladeObject
           (type=str)
Raises:
AutoGladeRuntimeError - If the AutoGladeObject cannot be initialized because some values are missing this Exception is raised.

connectIfNotConnected(self, signal, handler, *args)

Connect the specified signal with handler if there's no another handler defined.

Class Variable Details

DEBUG

Type:
bool
Value:
True                                                                   

Generated by Epydoc 2.1 on Tue Oct 2 22:07:38 2007 http://epydoc.sf.net