Class s.g.b.d.BasicDialog(AbstractDialog):

Part of stoqlib.gui.base.dialogs View In Hierarchy

Known subclasses: stoqlib.gui.base.dialogs.BasicPluggableDialog, stoqlib.gui.base.dialogs.ConfirmDialog, stoqlib.gui.base.lists.SimpleListDialog, stoqlib.gui.base.search.SearchDialog, stoqlib.gui.dialogs.paymentmethod.PaymentMethodsDialog, stoqlib.gui.printing.PrintDialog

Abstract class that offers a Dialog with two buttons. It should be subclassed and customized.
Method __init__ Undocumented
Method _initialize Undocumented
Method setup_keyactions Undocumented
Method confirm Undocumented
Method cancel Undocumented
Method hide_footer Undocumented
Method enable_ok Undocumented
Method disable_ok Undocumented
Method set_ok_label Undocumented
Method set_cancel_label Undocumented
Method justify_label Undocumented
Method set_confirm_widget Enables widget as a confirm widget, the dialog will be closed as
Method set_cancel_widget Enables widget as a cancel widget, the dialog will be closed as
Method add Undocumented
Method action_area Undocumented
Method on_ok_button__clicked Undocumented
Method on_cancel_button__clicked Undocumented

Inherited from RunnableView (via AbstractDialog):

Method close Handles action to be performed when window is closed.
Method destroy Undocumented
Method run Handles action to be performed when window is opened. Defaults to
def __init__(self, delete_handler=None):
Undocumented
def _initialize(self, main_label_text=None, title=' ', header_text='', size=None, hide_footer=False):
Undocumented
def setup_keyactions(self):
Undocumented
def confirm(self, *args):
Undocumented
def cancel(self, *args):
Undocumented
def hide_footer(self):
Undocumented
def enable_ok(self):
Undocumented
def disable_ok(self):
Undocumented
def set_ok_label(self, text, icon=None):
Undocumented
def set_cancel_label(self, text):
Undocumented
def justify_label(self, just):
Undocumented
def set_confirm_widget(self, widget):
Enables widget as a confirm widget, the dialog will be closed as confirmed if the widget is activated.
Parameterswidgeta widget
def set_cancel_widget(self, widget):
Enables widget as a cancel widget, the dialog will be closed as canceled if the widget is activated.
Parameterswidgeta widget
def add(self, widget):
Undocumented
@property
def action_area(self):
Undocumented
def on_ok_button__clicked(self, button):
Undocumented
def on_cancel_button__clicked(self, button):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.