I am using Julia and Gtk to build a GUI, but have some trouble with callbacks and signals.
How do you get the user inputs from Entry Boxes & user selections from Combo boxes and input it into a function?
Many Thanks!
I am using Julia and Gtk to build a GUI, but have some trouble with callbacks and signals.
How do you get the user inputs from Entry Boxes & user selections from Combo boxes and input it into a function?
Many Thanks!
you can use the “low level” signal interface https://github.com/JuliaGraphics/Gtk.jl/blob/master/doc/more_signals.md
There the user_data is always the last argument.
You may also consider GtkReactive.
Nice! Wasn’t aware off that.