ui.components.confirmmessagedialog#

Module Contents#

Classes#

MessageConfirmDialogContent

Box layout class. See module documentation for more information.

MessageConfirmDialog

Dialog class.

class ui.components.confirmmessagedialog.MessageConfirmDialogContent(**kwargs)#

Bases: kivy.uix.boxlayout.BoxLayout

Box layout class. See module documentation for more information.

class ui.components.confirmmessagedialog.MessageConfirmDialog(callback, **kwargs)#

Bases: kivymd.uix.dialog.MDDialog

Dialog class.

For more information, see in the ThemableBehavior and ModalView and CommonElevationBehavior classes documentation.

content_cls#

Stores the content of the dialog

ok_button#

Stores the ok button

cancel_button#

Stores the cancel button

callback#

Stores the callback function to be called when the user confirms the dialog

enable_button(*args)#

Enables the ok button only when there is text in the password fields

on_confirm(*args)#

Called when the user confirms the dialog