Gui structure define for left frames [[
expcore.gui.core |
expcore.gui.prototype |
expcore.gui.concepts.toolbar |
expcore.gui.elements.buttons |
mod-gui |
utils.game |
utils.event |
LeftFrames.get_flow(player) | Gets the left frame flow for a player |
LeftFrames.get_frame(name, player) | Gets one frame from the left flow by its name |
LeftFrames.get_open(player) | Gets all open frames for a player, if non are open it will remove the close all button |
LeftFrames.toggle_frame(name, player[, state]) | Toggles the visibility of a left frame, or sets its visibility state |
LeftFrames.new_frame(permission_name) | Creates a new left frame define |
LeftFrames._prototype:set_open_by_default([state=true]) | Sets if the frame is visible when a player joins, can also be a function to return a boolean |
LeftFrames._prototype:set_direction(direction) | Sets the direction of the frame, either vertical or horizontal |
LeftFrames._prototype:_internal_draw(player) | Creates the gui for the first time, used internally |
LeftFrames._prototype:get_frame(player) | Gets the frame for this define from the left frame flow |
LeftFrames._prototype:is_open(player) | Returns if the player currently has this define visible |
LeftFrames._prototype:toggle(player) | Toggles the visibility of the left frame |
LeftFrames._prototype:update(player) | Updates the contents of the left frame, first tries update callback, other wise will clear and redraw |
LeftFrames._prototype:update_all([update_offline=false]) | Updates the frame for all players, see update |
LeftFrames._prototype:redraw(player) | Redraws the frame by calling on_draw, will always clear the frame |
LeftFrames._prototype:redraw_all([update_offline=false]) | Redraws the frame for all players, see redraw |
LeftFrames._prototype:event_handler([action=update]) | Creates an event handler that will trigger one of its functions, use with Event.add |
Gets the left frame flow for a player
Parameters:Gets one frame from the left flow by its name
Parameters:Gets all open frames for a player, if non are open it will remove the close all button
Parameters:Toggles the visibility of a left frame, or sets its visibility state
Parameters:Creates a new left frame define
Parameters:Sets if the frame is visible when a player joins, can also be a function to return a boolean
Parameters:Sets the direction of the frame, either vertical or horizontal
Parameters:Creates the gui for the first time, used internally
Parameters:Gets the frame for this define from the left frame flow
Parameters:Returns if the player currently has this define visible
Parameters:Toggles the visibility of the left frame
Parameters:Updates the contents of the left frame, first tries update callback, other wise will clear and redraw
Parameters:Updates the frame for all players, see update
Parameters:Redraws the frame by calling on_draw, will always clear the frame
Parameters:Redraws the frame for all players, see redraw
Parameters:Creates an event handler that will trigger one of its functions, use with Event.add
Parameters: