MxPathBar

MxPathBar

Functions

Properties

gboolean clear-on-change Read / Write
gboolean editable Read / Write
MxEntry * entry Read
gint level Read

Types and Values

struct MxPathBar
struct MxPathBarClass

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── ClutterActor
            ╰── MxWidget
                ╰── MxPathBar

Implemented Interfaces

MxPathBar implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface, MxStylable and MxFocusable.

Description

Functions

mx_path_bar_new ()

ClutterActor *
mx_path_bar_new (void);

mx_path_bar_push ()

gint
mx_path_bar_push (MxPathBar *bar,
                  const gchar *name);

mx_path_bar_pop ()

gint
mx_path_bar_pop (MxPathBar *bar);

mx_path_bar_get_level ()

gint
mx_path_bar_get_level (MxPathBar *bar);

mx_path_bar_clear ()

void
mx_path_bar_clear (MxPathBar *bar);

Remove all the current buttons

Parameters

bar

An MxPathBar

 

mx_path_bar_get_editable ()

gboolean
mx_path_bar_get_editable (MxPathBar *bar);

Get the value of the “editable” property.

Parameters

bar

A MxPathBar

 

Returns

the current value of the "editable" property.


mx_path_bar_set_editable ()

void
mx_path_bar_set_editable (MxPathBar *bar,
                          gboolean editable);

Set the value of the “editable” property.

Parameters

bar

A MxPathBar

 

editable

TRUE if the path bar should be editable

 

mx_path_bar_get_clear_on_change ()

gboolean
mx_path_bar_get_clear_on_change (MxPathBar *bar);

Get the value of the “clear-on-change” property

Parameters

bar

A MxPathBar

 

Returns

the value of the "clear-on-change" property


mx_path_bar_set_clear_on_change ()

void
mx_path_bar_set_clear_on_change (MxPathBar *bar,
                                 gboolean clear_on_change);

Set theh value of the “clear-on-change” property

Parameters

bar

A MxPathBar

 

clear_on_change

the new value of the property

 

mx_path_bar_get_label ()

const gchar *
mx_path_bar_get_label (MxPathBar *bar,
                       gint level);

mx_path_bar_set_label ()

void
mx_path_bar_set_label (MxPathBar *bar,
                       gint level,
                       const gchar *label);

Set the text on the button specified by level

Parameters

bar

A MxPathBar

 

level

A gint

 

label

A gchar

 

mx_path_bar_get_text ()

const gchar *
mx_path_bar_get_text (MxPathBar *bar);

mx_path_bar_set_text ()

void
mx_path_bar_set_text (MxPathBar *bar,
                      const gchar *text);

Set the text in the editable area of the MxPathBar

Parameters

bar

A MxPathBar

 

text

string to set the editable text to.

 

mx_path_bar_get_entry ()

MxEntry *
mx_path_bar_get_entry (MxPathBar *bar);

Get the MxEntry used as the editable area in the MxPathBar.

Parameters

bar

A MxPathBar

 

Returns

MxEntry *.

[transfer none]

Types and Values

struct MxPathBar

struct MxPathBar;

The contents of this structure is private and should only be accessed using the provided API.


struct MxPathBarClass

struct MxPathBarClass {
  MxWidgetClass parent_class;

  /* padding for future expansion */
  void (*_padding_0) (void);
  void (*_padding_1) (void);
  void (*_padding_2) (void);
  void (*_padding_3) (void);
  void (*_padding_4) (void);
};

Property Details

The “clear-on-change” property

  “clear-on-change”          gboolean

Whether to clear the entry when changing levels.

Owner: MxPathBar

Flags: Read / Write

Default value: FALSE


The “editable” property

  “editable”                 gboolean

Enable or disable editing.

Owner: MxPathBar

Flags: Read / Write

Default value: FALSE


The “entry” property

  “entry”                    MxEntry *

The MxEntry inside the path bar.

Owner: MxPathBar

Flags: Read


The “level” property

  “level”                    gint

Depth of the path bar.

Owner: MxPathBar

Flags: Read

Allowed values: >= -1

Default value: 0