You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
I want to change the label of a button after I press it. I also need the label it had before, in order to know how to change it. I can pefectly use setproperty! and getproperty separately, but not one after the other:
using Gtk.ShortNames
b =@Button("B")
win =@Window(b, "SegFault")
showall(win
functionbutton_clicked_callback(widget)
println(getproperty(widget, :label, AbstractString))
setproperty!(widget, :label, "ON")
endsignal_connect(button_clicked_callback, b, :clicked)
I get a SegFault both in the REPL and running the above code as script (modified accordingly). I am running Mac OS 10.9.5, Julia 0.4.2 and Gtk 0.9.2.
The text was updated successfully, but these errors were encountered:
I want to change the label of a button after I press it. I also need the label it had before, in order to know how to change it. I can pefectly use
setproperty!
andgetproperty
separately, but not one after the other:I get a SegFault both in the REPL and running the above code as script (modified accordingly). I am running Mac OS 10.9.5, Julia 0.4.2 and Gtk 0.9.2.
The text was updated successfully, but these errors were encountered: