Skip to content
Discussion options

You must be logged in to vote

You probably want something like the below.

//gui is for extending a console.

You don't want to call await gui() that replaces the whole gui

But I should warn that Engineering and Comms are quite dense. Finding the screen real estate to place a button is difficult.
Comms engineering have also changed in the current development (v1.0.7 at the time this was written). Some of it is to allow for more things in an already complex UI. It is not completed

//gui/normal_comm
    gui_section(style="area: 75,100-50px, 100,100;")
    on gui_message(gui_button("Incoming Message")):
        comms_broadcast(c,"testing)

Most consoles are laid out here

Likely to accomplish what you are trying you'd need …

Replies: 0 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@astrolamb-gaming
Comment options

@astrolamb-gaming
Comment options

Answer selected by astrolamb-gaming
Comment options

You must be logged in to vote
1 reply
@astrolamb-gaming
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants