pushbase.message_box_component¶
Module constants¶
FORMAT_SPECIFIER_WITH_MARKUP_PATTERN
Classes¶
class Notification(object)¶
Bases: object
__init__(self, parent, *a, **k)¶
class Messenger(object)¶
Bases: object
Attributes¶
expect_dialogshow_notification
class MessageBoxComponent(BackgroundComponent)¶
Bases: BackgroundComponent
Attributes¶
num_lines = 4
__init__(self, *a, **k)¶
_set_display_line(self, n, display_line)¶
set_display_line1(self, display_line)¶
set_display_line2(self, display_line)¶
set_display_line3(self, display_line)¶
set_display_line4(self, display_line)¶
set_cancel_button(self, button)¶
_update_cancel_button(self)¶
_update_display(self)¶
_on_cancel_button_value(self, value)¶
text(self)¶
text(self, text)¶
can_cancel(self)¶
can_cancel(self, can_cancel)¶
update(self)¶
class DialogComponent(Component)¶
Bases: Component
Attributes¶
message_box_layer
__init__(self, *a, **k)¶
expect_dialog(self, message)¶
_on_open_dialog_count(self)¶
_on_message_cancel(self)¶
_update_dialog(self, open_dialog_changed)¶
class InfoComponent(BackgroundComponent)¶
Bases: BackgroundComponent