Top | ![]() |
![]() |
![]() |
![]() |
DzlPathElement * | dzl_path_element_new () |
const gchar * | dzl_path_element_get_title () |
const gchar * | dzl_path_element_get_id () |
const gchar * | dzl_path_element_get_icon_name () |
DzlPathElement * dzl_path_element_new (const gchar *id
,const gchar *icon_name
,const gchar *title
);
Creates a new path element for an DzlPath.
id |
An id for the path element. |
[nullable] |
icon_name |
An optional icon name for the element. |
[nullable] |
title |
The title of the element. |
Since: 3.26
const gchar *
dzl_path_element_get_title (DzlPathElement *self
);
Gets the “title” property. This is used by the path bar to display text representing the element of the path.
Since: 3.26
const gchar *
dzl_path_element_get_id (DzlPathElement *self
);
Gets the id for the element. Generally, a path is built of multiple elements and each element should have an id that is useful to the application that it using it. You might store the name of a directory, or some other key as the id.
Since: 3.26
const gchar *
dzl_path_element_get_icon_name (DzlPathElement *self
);
Gets the “icon-name” property. This is used by the path bar to display an icon next to the element of the path.
Since: 3.26
“icon-name”
property “icon-name” char *
The icon-name of the icon to display next to the path element
in the path bar. Set to NULL
for no icon.
Owner: DzlPathElement
Flags: Read / Write / Construct Only
Default value: NULL
Since: 3.26
“id”
property “id” char *
The id property is an application specific identifier for the element within the path.
Owner: DzlPathElement
Flags: Read / Write / Construct Only
Default value: NULL
Since: 3.26
“title”
property “title” char *
The title property should contain the display text that should be shown to represent the element in the DzlPathBar.
Owner: DzlPathElement
Flags: Read / Write / Construct Only
Default value: NULL
Since: 3.26