GimpUi.LabelEntry

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.LabelEntry GimpUi.LabelEntry GimpUi.Labeled GimpUi.Labeled GimpUi.Labeled->GimpUi.LabelEntry 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 (label)

get_entry ()

get_value ()

set_value (value)

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

str

r/w

The text in the entry

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.LabelEntry(**kwargs)
Bases:

GimpUi.Labeled

Abstract:

No

Structure:

GimpUi.LabelEntryClass

This widget is a subclass of GimpUi.Labeled with a Gtk.Entry.

classmethod new(label)
Parameters:

label (str) – The text for the Gtk.Label.

Returns:

The new GimpUi.LabelEntry widget.

Return type:

Gtk.Widget

get_entry()
Returns:

The Gtk.Entry contained in self.

Return type:

Gtk.Widget

This function returns the Gtk.Entry packed in self.

get_value()
Returns:

The value currently set.

Return type:

str

This function returns the value shown by self.

set_value(value)
Parameters:

value (str) – A new value.

This function sets the value in the Gtk.Entry inside self.

Signal Details

GimpUi.LabelEntry.signals.value_changed(label_entry)
Signal Name:

value-changed

Flags:

RUN_FIRST

Parameters:

label_entry (GimpUi.LabelEntry) – The object which received the signal

Property Details

GimpUi.LabelEntry.props.value
Name:

value

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The currently set value.

New in version 3.0.