tkgui.options module

Options tab for the TKinter GUI.

class tkgui.options.OptionsTab(parent, *args, **kwargs)[source]

Bases: tkgui.tab.Tab

Options tab for the TKinter GUI.

create_controls()[source]

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

create_variables()[source]

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

delete_keybinds()[source]

Deletes a keybinding file.

install_embarks(listbox)[source]

Installs selected embark profiles.

Parameters

listbox – Listbox containing the list of embark profiles.

load_keybinds()[source]

Replaces keybindings with selected file.

read_data()[source]

Reads all external data needed. Overridden in child classes.

read_embarks()[source]

Reads list of embark profiles.

read_keybinds()[source]

Reads list of keybinding files.

save_keybinds()[source]

Saves keybindings to a file.

static set_child_cap()[source]

Requests new child cap from the user.

static set_graze_coef()[source]

Requests new graze coefficient from the user.

static set_guild_count()[source]

Requests new guild members limits from the user.

static set_inv_monster_cap()[source]

Requests new invasion monster cap from the user.

static set_inv_soldier_cap()[source]

Requests new invasion soldier cap from the user.

static set_pop_cap()[source]

Requests new population cap from the user.

static set_strict_pop_cap()[source]

Requests new strict population cap from the user.

static set_temple_count()[source]

Requests new worshippers limits from the user.

static set_visitor_cap()[source]

Requests new visitor cap from the user.

toggle_embark(event)[source]

Toggles selected embark profile.