Mirage.Object

g GObject.GInterface GObject.GInterface Mirage.Contextual Mirage.Contextual GObject.GInterface->Mirage.Contextual GObject.Object GObject.Object Mirage.Object Mirage.Object GObject.Object->Mirage.Object Mirage.Contextual->Mirage.Object

Subclasses:

Mirage.CdTextCoder, Mirage.Disc, Mirage.FileStream, Mirage.FilterStream, Mirage.Fragment, Mirage.Index, Mirage.Language, Mirage.Parser, Mirage.Sector, Mirage.Session, Mirage.Track, Mirage.Writer

Methods

Inherited:

GObject.Object (37), Mirage.Contextual (8)

Structs:

GObject.ObjectClass (5)

get_parent ()

set_parent (parent)

Virtual Methods

Inherited:

GObject.Object (7), Mirage.Contextual (2)

Properties

None

Signals

Inherited:

GObject.Object (1)

Name

Short Description

context-changed

Emitted when a new Mirage.Context is set to a Mirage.Object.

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Mirage.Object(**kwargs)
Bases:

GObject.Object, Mirage.Contextual

Abstract:

No

Structure:

Mirage.ObjectClass

All the fields in the Mirage.Object structure are private to the Mirage.Object implementation and should never be accessed directly.

get_parent()
Returns:

parent object, or None.

Return type:

Mirage.Object

Returns pointer to object’s parent object.

set_parent(parent)
Parameters:

parent (Mirage.Object or None) – parent

Sets object’s parent. If parent is None, the object’s parent is reset.

Signal Details

Mirage.Object.signals.context_changed(object)
Signal Name:

context-changed

Flags:

RUN_LAST

Parameters:

object (Mirage.Object) – The object which received the signal

Emitted when a new Mirage.Context is set to a Mirage.Object.