GimpUi.LabelIntWidget

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned GimpUi.LabelIntWidget GimpUi.LabelIntWidget GimpUi.Labeled GimpUi.Labeled GimpUi.Labeled->GimpUi.LabelIntWidget Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Grid Gtk.Grid Gtk.Container->Gtk.Grid Gtk.Grid->GimpUi.Labeled Gtk.Orientable->Gtk.Grid Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

GimpUi.Labeled (3), Gtk.Grid (21), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new (text, widget)

get_widget ()

Virtual Methods

Inherited:

GimpUi.Labeled (1), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

GimpUi.Labeled (1), Gtk.Grid (5), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)

Name

Type

Flags

Short Description

value

int

r/w

Current value

widget

Gtk.Widget

r/w/co

Integer widget

Child Properties

Inherited:

Gtk.Grid (4)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

GimpUi.Labeled (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Short Description

value-changed

Fields

Inherited:

GimpUi.Labeled (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Class Details

class GimpUi.LabelIntWidget(**kwargs)
Bases:

GimpUi.Labeled

Abstract:

No

Structure:

GimpUi.LabelIntWidgetClass

This widget is a subclass of GimpUi.Labeled.

classmethod new(text, widget)
Parameters:
Returns:

The new GimpUi.LabelIntWidget widget.

Return type:

Gtk.Widget

Creates a new GimpUi.LabelIntWidget whose “value” property is bound to that of widget (which must therefore have such an integer property).

get_widget()
Returns:

The new Gtk.Widget packed next to the label.

Return type:

Gtk.Widget

Signal Details

GimpUi.LabelIntWidget.signals.value_changed(label_int_widget)
Signal Name:

value-changed

Flags:

RUN_FIRST

Parameters:

label_int_widget (GimpUi.LabelIntWidget) – The object which received the signal

Property Details

GimpUi.LabelIntWidget.props.value
Name:

value

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

The currently set value.

New in version 3.0.

GimpUi.LabelIntWidget.props.widget
Name:

widget

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The widget holding an integer value.

New in version 3.0.