Garcon.MenuMerger

g GObject.GInterface GObject.GInterface Garcon.MenuTreeProvider Garcon.MenuTreeProvider GObject.GInterface->Garcon.MenuTreeProvider GObject.Object GObject.Object Garcon.MenuMerger Garcon.MenuMerger GObject.Object->Garcon.MenuMerger Garcon.MenuTreeProvider->Garcon.MenuMerger

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Garcon.MenuTreeProvider (1)

Structs:

GObject.ObjectClass (5)

class

new (provider)

run (merge_files, merge_dirs, cancellable)

Virtual Methods

Inherited:

GObject.Object (7), Garcon.MenuTreeProvider (1)

Properties

Name

Type

Flags

Short Description

tree-provider

Garcon.MenuTreeProvider

r/w/co

tree-provider

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Garcon.MenuMerger(**kwargs)
Bases:

GObject.Object, Garcon.MenuTreeProvider

Abstract:

No

Structure:

Garcon.MenuMergerClass

classmethod new(provider)
Parameters:

provider (Garcon.MenuTreeProvider) –

Return type:

Garcon.MenuMerger

run(merge_files, merge_dirs, cancellable)
Parameters:
  • merge_files ([str]) – list of files to merge

  • merge_dirs ([str]) – list of menu directories to merge

  • cancellable (Gio.Cancellable or None) –

Raises:

GLib.Error

Return type:

bool

Property Details

Garcon.MenuMerger.props.tree_provider
Name:

tree-provider

Type:

Garcon.MenuTreeProvider

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

tree-provider