AgsFileIdRef

AgsFileIdRef — file id reference

Functions

Properties

GObject * application-context Read / Write
GObject * file Read / Write
gpointer node Read / Write
gpointer reference Read / Write
gchar * xpath Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── AgsFileIdRef

Includes

#include <ags/file/ags_file_id_ref.h>

Description

The AgsFileIdRef referes a XML node by its ID. It's used to perform XPath lookup.

Functions

AGS_FILE_RESOLVE()

#define AGS_FILE_RESOLVE(f)          ((AgsFileResolve)(f))


AgsFileResolve ()

void
(*AgsFileResolve) (void);


ags_file_id_ref_resolved ()

void
ags_file_id_ref_resolved (AgsFileIdRef *file_id_ref);


ags_file_id_ref_new ()

AgsFileIdRef *
ags_file_id_ref_new ();

Creates an AgsFileIdRef

Returns

a new AgsFileIdRef

Since: 0.4

Types and Values

AGS_FILE_ID_REF_SERIALIZE_DATA

#define AGS_FILE_ID_REF_SERIALIZE_DATA "ags-file-id-ref-serizalize-data\0"


AGS_FILE_ID_REF_RESOLVE_DATA

#define AGS_FILE_ID_REF_RESOLVE_DATA "ags-file-id-ref-resolve-data\0"

Property Details

The “application-context” property

  “application-context”      GObject *

The application-context object to access the tree.

Flags: Read / Write


The “file” property

  “file”                     GObject *

The entire file assigned to.

Flags: Read / Write


The “node” property

  “node”                     gpointer

The node to find the element.

Flags: Read / Write


The “reference” property

  “reference”                gpointer

The reference resulted by the xpath locator.

Flags: Read / Write


The “xpath” property

  “xpath”                    gchar *

The xpath to find the element.

Flags: Read / Write

Default value: NULL

Signal Details

The “resolved” signal

void
user_function (AgsFileIdRef *agsfileidref,
               gpointer      user_data)

Flags: Run Last