Gtk.jl icon indicating copy to clipboard operation
Gtk.jl copied to clipboard

GtkSpinButton MethodError

Open AdamWysokinski opened this issue 1 year ago • 0 comments

I'm not sure if this is an error or planned property of the SpinButton. Initializing the GtkSpinButton() without parameters throws MethodError:

using Gtk
b = Gtk.GtkSpinButton()

ERROR: MethodError(GtkSpinButtonLeaf, (), 0xffffffffffffffff)

When initialized with parameters:

b = Gtk.GtkSpinButton(0, 10, 1)

it works fine.

Other Gtk object may be initialized without parameters:

b = Gtk.GtkButton()

AdamWysokinski avatar Sep 05 '23 19:09 AdamWysokinski