Garcon.MenuItemPool

g GObject.Object GObject.Object Garcon.MenuItemPool Garcon.MenuItemPool GObject.Object->Garcon.MenuItemPool

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

apply_exclude_rule (node)

clear ()

foreach (func, *user_data)

get_empty ()

insert (item)

lookup (desktop_id)

lookup_file (file)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Garcon.MenuItemPool(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Garcon.MenuItemPoolClass

classmethod new()
Returns:

a Garcon.MenuItemPool

Return type:

Garcon.MenuItemPool

apply_exclude_rule(node)
Parameters:

node (GLib.Node) –

clear()
foreach(func, *user_data)
Parameters:
get_empty()
Return type:

bool

insert(item)
Parameters:

item (Garcon.MenuItem) – a Garcon.MenuItem

lookup(desktop_id)
Parameters:

desktop_id (str) – .desktop file

Returns:

a Garcon.MenuItem object

Return type:

Garcon.MenuItem

lookup_file(file)
Parameters:

file (Gio.File) – a Gio.File instance

Returns:

a Garcon.MenuItem object

Return type:

Garcon.MenuItem