I would like to be able to make a button pressed. This may be a button style. Or attribute, button.pressed = true
It should be possible to release this button on click.
Add the ability to make a button pressed
Add the ability to make a button pressed
My native language is russian. Sorry if my messages are difficult to read.
Re: Add the ability to make a button pressed
This is just a checkbox with different graphics.
Re: Add the ability to make a button pressed
This was implemented, see 71621, LuaGuiElement::auto_toggle and LuaGuiElement::toggled read/write.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.