Skip to content

GtkSpinButton MethodError #693

@AdamWysokinski

Description

@AdamWysokinski

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions