ui.messagescreen#

Submodules#

Package Contents#

Classes#

MessageScreen

Screen is an element intended to be used with a ScreenManager.

class ui.messagescreen.MessageScreen(data, *args: Any, **kwds: Any)#

Bases: kivy.uix.screenmanager.Screen

Screen is an element intended to be used with a ScreenManager. Check module documentation for more information.

Events:
on_pre_enter: ()

Event fired when the screen is about to be used: the entering animation is started.

on_enter: ()

Event fired when the screen is displayed: the entering animation is complete.

on_pre_leave: ()

Event fired when the screen is about to be removed: the leaving animation is started.

on_leave: ()

Event fired when the screen is removed: the leaving animation is finished.

Changed in version 1.6.0: Events on_pre_enter, on_enter, on_pre_leave and on_leave were added.

data: Any#
message: str#
session: selenium.webdriver.Chrome#
processed_accounts = []#
add_message_menu#

Stores an instance of the add message menu

data = []#

Stores the Target Account data sent from the account select screen

messages = []#

Stores the messages to be sent. Each message is a dictionary representing the message type and the message content

show_add_message_menu()#

Shows the add message menu

add_text_message()#

Adds a text message to the message box

Adds a link message to the message box

add_post_message()#

Adds a post message to the message box

check_if_can_add()#

Checks if we are under the maximum number of messages

back()#

Goes back to the account select screen

confirm_send()#

Confirms that the user wants to send the messages

navigate_to_progress(*args)#

Navigates to the progress screen