tkgui.mods module

Mods tab for the TKinter GUI.

class tkgui.mods.ModsTab(parent, *args, **kwargs)[source]

Bases: tkgui.tab.Tab

Mods tab for the TKinter GUI.

add_to_installed()[source]

Move selected mod/s from available to merged list and re-merge.

create_controls()[source]

Creates all controls for this tab. Overriden in child classes.

create_from_installed()[source]

Extracts a mod from the currently installed raws.

create_variables()[source]

Creates all TKinter variables needed by this tab. Overridden in child classes.

install_mods()[source]

Replaces <df>/raw with the contents LNP/Baselines/temp/raw

move_down()[source]

Moves the selected item/s down in the merge order and re-merges.

move_up()[source]

Moves the selected item/s up in the merge order and re-merges.

perform_merge()[source]

Merge the selected mods, with background color for user feedback.

read_data()[source]

Reads all external data needed. Overridden in child classes.

remove_from_installed()[source]

Move selected mod/s from merged to available list and re-merge.

static simplify_mods()[source]

Simplify mods; runs on startup if called directly by button.

static toggle_preload()[source]

Toggles whether to preload graphics before merging mods.

update_lists()[source]

Updates the lists.