Module expcore.guiparts.left
Used to add a left gui frame
Usage:
Gui.left.add{name='foo',caption='Foo',tooltip='just testing',open_on_join=true,can_open=function,draw=function}
Functions
| update ([frame[, players]]) | This is used to update all the guis of conected players, good idea to use our thread system as it as nested for loops |
| open (left_name) | Used to open the left gui of every player |
| close (left_name) | Used to close the left gui of every player |
Functions
- update ([frame[, players]])
-
This is used to update all the guis of conected players, good idea to use our thread system as it as nested for loops
Parameters:
- frame string this is the name of a frame if you only want to update one (optional)
- players the player to update for, if not given all players are updated, can be one player (optional)
Usage:
Gui.left.update()
- open (left_name)
-
Used to open the left gui of every player
Parameters:
- left_name string this is the gui that you want to open
Usage:
Gui.left.open('foo') - close (left_name)
-
Used to close the left gui of every player
Parameters:
- left_name string this is the gui that you want to close
Usage:
Gui.left.close('foo')