We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using Gtk4 c = GtkColorButton() c.rgba
produces:
ERROR: MethodError: no constructors have been defined for Gtk4.GLib.GBoxed Stacktrace: [1] convert(::Type{Gtk4.GLib.GBoxed}, unbox::Ptr{Gtk4.GLib.GBoxed}, owns::Bool) @ Gtk4.GLib ~/Sync/Gtk4.jl/src/GLib/gtype.jl:119 [2] convert(::Type{Gtk4.GLib.GBoxed}, unbox::Ptr{Gtk4.GLib.GBoxed}) @ Gtk4.GLib ~/Sync/Gtk4.jl/src/GLib/gtype.jl:119 [3] (::Gtk4.GLib.var"#70#71")(v::Base.RefValue{Gtk4.GLib.GValue}) @ Gtk4.GLib ~/Sync/Gtk4.jl/src/GLib/gvalues.jl:186 [4] getindex(gv::Base.RefValue{Gtk4.GLib.GValue}, ::Type{Any}) @ Gtk4.GLib ~/Sync/Gtk4.jl/src/GLib/gvalues.jl:247 [5] get_gtk_property(w::GtkColorButtonLeaf, name::String) @ Gtk4.GLib ~/Sync/Gtk4.jl/src/GLib/gvalues.jl:289 [6] get_gtk_property @ ~/Sync/Gtk4.jl/src/GLib/gvalues.jl:284 [inlined] [7] getproperty(w::GtkColorButtonLeaf, name::Symbol) @ Gtk4.GLib ~/Sync/Gtk4.jl/src/GLib/gvalues.jl:353 [8] top-level scope @ REPL[3]:1
As a workaround, use the accessor method:
Gtk4.rgba(c)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
produces:
As a workaround, use the accessor method:
The text was updated successfully, but these errors were encountered: