Gladeui.NamedIconChooserDialog

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 GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gladeui.NamedIconChooserDialog Gladeui.NamedIconChooserDialog Gtk.Bin Gtk.Bin Gtk.Window Gtk.Window Gtk.Bin->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Dialog Gtk.Dialog Gtk.Dialog->Gladeui.NamedIconChooserDialog Gtk.Widget->Gtk.Container Gtk.Window->Gtk.Dialog

Subclasses:

None

Methods

Inherited:

Gtk.Dialog (14), Gtk.Window (119), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

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

get_context ()

get_icon_name ()

set_context (context)

set_icon_name (icon_name)

Virtual Methods

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

do_icon_activated ()

do_selection_changed ()

Properties

Inherited:

Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)

Style Properties

Inherited:

Gtk.Dialog (4), Gtk.Window (2), Gtk.Widget (17)

Signals

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Short Description

icon-activated

This signal is emitted when the user “activates” an icon in the named icon chooser.

selection-changed

This signal is emitted when there is a change in the set of selected icon names.

Fields

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent_instance

Gtk.Dialog

r

Class Details

class Gladeui.NamedIconChooserDialog(*args, **kwargs)
Bases:

Gtk.Dialog

Abstract:

No

Structure:

Gladeui.NamedIconChooserDialogClass

get_context()
Return type:

str

get_icon_name()
Return type:

str

set_context(context)
Parameters:

context (str) –

Return type:

bool

set_icon_name(icon_name)
Parameters:

icon_name (str) –

do_icon_activated() virtual
do_selection_changed() virtual

Signal Details

Gladeui.NamedIconChooserDialog.signals.icon_activated(named_icon_chooser_dialog)
Signal Name:

icon-activated

Flags:

RUN_LAST

Parameters:

named_icon_chooser_dialog (Gladeui.NamedIconChooserDialog) – The object which received the signal

This signal is emitted when the user “activates” an icon in the named icon chooser. This can happen by double-clicking on an item in the recently used resources list, or by pressing

Enter.

Gladeui.NamedIconChooserDialog.signals.selection_changed(named_icon_chooser_dialog)
Signal Name:

selection-changed

Flags:

RUN_LAST

Parameters:

named_icon_chooser_dialog (Gladeui.NamedIconChooserDialog) – The object which received the signal

This signal is emitted when there is a change in the set of selected icon names. This can happen when a user modifies the selection with the mouse or the keyboard, or when explicitly calling functions to change the selection.