PathElement

Constructors

this
this(DzlPathElement* dzlPathElement, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(string id, string iconName, string title)

Creates a new path element for an #DzlPath.

Members

Functions

getIconName
string getIconName()

Gets the #DzlPathElement:icon-name property. This is used by the path bar to display an icon next to the element of the path.

getId
string getId()

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.

getPathElementStruct
DzlPathElement* getPathElementStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getTitle
string getTitle()

Gets the #DzlPathElement:title property. This is used by the path bar to display text representing the element of the path.

Static functions

getType
GType getType()

Variables

dzlPathElement
DzlPathElement* dzlPathElement;

the main Gtk struct

Meta