gaupol.BuilderDialog¶
Source: gaupol/dialogs/builder.py
Anchestors: builtins.object
- class gaupol.BuilderDialog¶
Baseclass and wrapper for Gtk.Builder constructed dialogs.
All widgets defined in _widgets are assigned as instance variables with names preceded by a single underscore. All signals defined in the UI definition file are connected to self. All getattr() calls not found in self are delegated to self._dialog allowing self to look and act like a Gtk.Dialog.
Methods¶
- BuilderDialog.__init__(ui_file_path, connect_signals=True)¶
Initialize a BuilderDialog instance from ui_file_path.
- BuilderDialog.run()¶
Show the dialog, run it and return response.