![]() |
![]() |
![]() |
Mx Toolkit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct MxPathBar; ClutterActor * mx_path_bar_new (void
); gint mx_path_bar_push (MxPathBar *bar
,const gchar *name
); gint mx_path_bar_pop (MxPathBar *bar
); gint mx_path_bar_get_level (MxPathBar *bar
); void mx_path_bar_clear (MxPathBar *bar
); gboolean mx_path_bar_get_editable (MxPathBar *bar
); void mx_path_bar_set_editable (MxPathBar *bar
,gboolean editable
); gboolean mx_path_bar_get_clear_on_change (MxPathBar *bar
); void mx_path_bar_set_clear_on_change (MxPathBar *bar
,gboolean clear_on_change
); const gchar * mx_path_bar_get_label (MxPathBar *bar
,gint level
); void mx_path_bar_set_label (MxPathBar *bar
,gint level
,const gchar *label
); const gchar * mx_path_bar_get_text (MxPathBar *bar
); void mx_path_bar_set_text (MxPathBar *bar
,const gchar *text
); MxEntry * mx_path_bar_get_entry (MxPathBar *bar
);
"clear-on-change" gboolean : Read / Write "editable" gboolean : Read / Write "entry" MxEntry* : Read "level" gint : Read
struct MxPathBar;
The contents of this structure is private and should only be accessed using the provided API.
gint mx_path_bar_push (MxPathBar *bar
,const gchar *name
);
|
|
|
|
Returns : |
void mx_path_bar_clear (MxPathBar *bar
);
Remove all the current buttons
|
An MxPathBar |
gboolean mx_path_bar_get_editable (MxPathBar *bar
);
Get the value of the "editable" property.
|
A MxPathBar |
Returns : |
the current value of the "editable" property. |
void mx_path_bar_set_editable (MxPathBar *bar
,gboolean editable
);
Set the value of the "editable" property.
gboolean mx_path_bar_get_clear_on_change (MxPathBar *bar
);
Get the value of the "clear-on-change" property
|
A MxPathBar |
Returns : |
the value of the "clear-on-change" property |
void mx_path_bar_set_clear_on_change (MxPathBar *bar
,gboolean clear_on_change
);
Set theh value of the "clear-on-change" property
|
A MxPathBar |
|
the new value of the property |
const gchar * mx_path_bar_get_label (MxPathBar *bar
,gint level
);
|
|
|
|
Returns : |
void mx_path_bar_set_label (MxPathBar *bar
,gint level
,const gchar *label
);
Set the text on the button specified by level
void mx_path_bar_set_text (MxPathBar *bar
,const gchar *text
);
Set the text in the editable area of the MxPathBar
|
A MxPathBar |
|
string to set the editable text to. |
"clear-on-change"
property"clear-on-change" gboolean : Read / Write
Whether to clear the entry when changing levels.
Default value: FALSE
"editable"
property"editable" gboolean : Read / Write
Enable or disable editing.
Default value: FALSE
"level"
property"level" gint : Read
Depth of the path bar.
Allowed values: >= -1
Default value: 0