| Home | Trees | Index | Help |
|---|
object--+ |EventAware--+ | GFInstance
A running GNUe Forms instance.
This class handles loading of the forms definitions, building up the object tree for the forms, and starting the main form, as well as ending the application when the last form is closed.| Method Summary | |
|---|---|
__init__(self,
manager,
connections,
ui,
disableSplash,
parameters,
parentContainer,
moduleName)
| |
DEPRECATED. | |
DEPRECATED. | |
DEPRECATED. | |
Decide whether the main loop should automatically be ended when the last window is closed. | |
Exit the application if the last form has been closed | |
Load a form definition from a string and open the form. | |
Load a form definition from a file and open the form. | |
This function shows the last exception raised. | |
| 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 | |
Return repr(x)... | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... | |
| Method Details |
|---|
__init__(self,
manager,
connections,
ui,
disableSplash=False,
parameters=None,
parentContainer=None,
moduleName=None)
|
activate(self)DEPRECATED. Use run_from_buffer or run_from_file instead. |
addFormFromBuffer(self, buffer)DEPRECATED. Use run_from_buffer instead. |
addFormFromFile(self, fileName)DEPRECATED. Use run_from_file instead. |
keepalive(self, setting)Decide whether the main loop should automatically be ended when the last window is closed. GNUe-Navigator uses this to keep the application alive even if no form is open any more.
|
maybe_exit(self)Exit the application if the last form has been closed This function is called by each form when it is closed. |
run_from_buffer(self, buffer, parameters)Load a form definition from a string and open the form.
|
run_from_file(self, filename, parameters)Load a form definition from a file and open the form.
|
show_exception(self, group=None, name=None, message=None, detail=None)This function shows the last exception raised. The exact way of showing the message depends on the exception group. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Feb 28 23:04:18 2008 | http://epydoc.sf.net |