Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

GtkSpinButton MethodError #693

Open
AdamWysokinski opened this issue Sep 5, 2023 · 0 comments
Open

GtkSpinButton MethodError #693

AdamWysokinski opened this issue Sep 5, 2023 · 0 comments

Comments

@AdamWysokinski
Copy link

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 AdamWysokinski changed the title SpinButton MethodError GtkSpinButton MethodError Sep 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant