GlobalVariables

class lib.gui.utils.config.GlobalVariables

Bases: object

Global tkinter variables accessible from all parts of the GUI. Should only be accessed from get_config().tk_vars

Attributes Summary

action_command

The command line action to perform

analysis_folder

Full path the analysis folder

console_clear

True if the console should be cleared otherwise False

display

The current Faceswap command running

generate_command

The command line action to generate

is_training

True if Faceswap is currently training otherwise False

refresh_graph

True if the training graph should be refreshed otherwise False

running_task

True if a Faceswap task is running otherwise False

Attributes Documentation

action_command

The command line action to perform

Type:

tkinter.StringVar

analysis_folder

Full path the analysis folder

Type:

tkinter.StringVar

console_clear

True if the console should be cleared otherwise False

Type:

tkinter.BooleanVar

display

The current Faceswap command running

Type:

tkinter.StringVar

generate_command

The command line action to generate

Type:

tkinter.StringVar

is_training

True if Faceswap is currently training otherwise False

Type:

tkinter.BooleanVar

refresh_graph

True if the training graph should be refreshed otherwise False

Type:

tkinter.BooleanVar

running_task

True if a Faceswap task is running otherwise False

Type:

tkinter.BooleanVar

property action_command: StringVar

The command line action to perform

Type:

tkinter.StringVar

property analysis_folder: StringVar

Full path the analysis folder

Type:

tkinter.StringVar

property console_clear: BooleanVar

True if the console should be cleared otherwise False

Type:

tkinter.BooleanVar

property display: StringVar

The current Faceswap command running

Type:

tkinter.StringVar

property generate_command: StringVar

The command line action to generate

Type:

tkinter.StringVar

property is_training: BooleanVar

True if Faceswap is currently training otherwise False

Type:

tkinter.BooleanVar

property refresh_graph: BooleanVar

True if the training graph should be refreshed otherwise False

Type:

tkinter.BooleanVar

property running_task: BooleanVar

True if a Faceswap task is running otherwise False

Type:

tkinter.BooleanVar