def __init__(self, path=None, root=None, domain=None, **kwargs): """ Load a glade file specified by glade_filename, using root as root widget and domain as the domain for translations. If it receives extra named arguments (argname=value), then they are used as attributes of the instance. path: path to a glade filename. If glade_filename cannot be found, then it will be searched in the same directory of the program (sys.argv[0]) root: the name of the widget that is the root of the user interface, usually a window or dialog (a top level widget). If None or ommited, the full user interface is loaded. domain: A domain to use for loading translations. If None or ommited, no translation is loaded. **kwargs: a dictionary representing the named extra arguments. It is useful to set attributes of new instances, for example: glade_app = SimpleGladeApp("ui.glade", foo="some value", bar="another value") sets two attributes (foo and bar) to glade_app. """ SimpleGladeWrapper.__init__(self, path=path, root=root, domain=domain)
def __init__(self, root=None, path=None, callbacks_proxy=None, isModule=False): SimpleGladeWrapper.__init__(self, path=path, root=root, domain=None, callbacks_proxy=callbacks_proxy, isModule=isModule) self._prepareWindowPlacement()