GimpUi.HintBox

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.HintBox GimpUi.HintBox Gtk.Box Gtk.Box Gtk.Box->GimpUi.HintBox Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Box (14), 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 (hint)

Virtual Methods

Inherited:

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

Properties

Inherited:

Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)

Name

Type

Flags

Short Description

hint

str

r/w/co

The hint to display

icon-name

str

r/w/co

The icon to show next to the hint

Child Properties

Inherited:

Gtk.Box (5)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

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

Fields

Inherited:

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

Class Details

class GimpUi.HintBox(*args, **kwargs)
Bases:

Gtk.Box

Abstract:

No

Structure:

GimpUi.HintBoxClass

Displays a wilber icon and a text.

classmethod new(hint)
Parameters:

hint (str) – text to display as a user hint

Returns:

a new widget

Since GIMP 2.4

Return type:

Gtk.Widget

Creates a new widget that shows a text label showing hint, decorated with a GIMP_ICON_INFO wilber icon.

Property Details

GimpUi.HintBox.props.hint
Name:

hint

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The hint to display

GimpUi.HintBox.props.icon_name
Name:

icon-name

Type:

str

Default Value:

'dialog-information'

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The icon to show next to the hint