Package zeroinstall :: Package gtkui :: Module gtkutils :: Class Template
[frames] | no frames]

Class Template

source code

Wrapper for GtkBuilder widget tree that throws a sensible exception if the widget isn't found.

Instance Methods
 
__init__(self, builderfile, root)
Constructor.
source code
 
get_widget(self, name=None)
Look up a widget by name.
source code
Method Details

__init__(self, builderfile, root)
(Constructor)

source code 

Constructor.

Parameters:
  • builderfile - pathname of the .ui file to load
  • root - the name of the top-level widget inside the file