Garcon.MenuParser

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new (file)

run (cancellable)

Virtual Methods

Inherited:

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

Properties

Name

Type

Flags

Short Description

file

Gio.File

r/w/co

file

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Garcon.MenuParser(**kwargs)
Bases:

GObject.Object, Garcon.MenuTreeProvider

Abstract:

No

Structure:

Garcon.MenuParserClass

classmethod new(file)
Parameters:

file (Gio.File) –

Return type:

Garcon.MenuParser

run(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) –

Raises:

GLib.Error

Return type:

bool

Property Details

Garcon.MenuParser.props.file
Name:

file

Type:

Gio.File

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

file