http://lua-api.factorio.com/0.13.9/even ... te_changed
about the new on_gui_checked_state_changed event, I wonder why it has been separated from on_gui_click ?
Did I miss something?
On the other hand, this new on_gui_text_changed is very useful !
use of on_gui_checked_state_changed ?
use of on_gui_checked_state_changed ?
My mods on the Factorio Mod Portal ![Geek :geek:](./images/smilies/icon_e_geek.gif)
![Geek :geek:](./images/smilies/icon_e_geek.gif)
Re: use of on_gui_checked_state_changed ?
binbinhfr wrote:http://lua-api.factorio.com/0.13.9/even ... te_changed
about the new on_gui_checked_state_changed event, I wonder why it has been separated from on_gui_click ?
Did I miss something?
On the other hand, this new on_gui_text_changed is very useful !
Because you can right-click a checkbox which will register the on_click but not change the state of the checkbox
Re: use of on_gui_checked_state_changed ?
Oh, ok, that's subtile. I did not know that on_click was reacting to righ-clicks too. (but we cannot make the distinction with the left click, no ?)Klonan wrote:Because you can right-click a checkbox which will register the on_click but not change the state of the checkbox
My mods on the Factorio Mod Portal ![Geek :geek:](./images/smilies/icon_e_geek.gif)
![Geek :geek:](./images/smilies/icon_e_geek.gif)