Dazzle.PathElement¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The icon name for the path element |
||
r/w/co |
Identifier |
||
r/w/co |
Title |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Dazzle.PathElement(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(id, icon_name, title)¶
- Parameters:
- Returns:
- Return type:
Creates a new path element for an
Dazzle.Path
.New in version 3.26.
- get_icon_name()¶
- Returns:
The icon-name for the
Dazzle.PathElement
.- Return type:
Gets the
Dazzle.PathElement
:icon-name
property. This is used by the path bar to display an icon next to the element of the path.New in version 3.26.
- get_id()¶
- Returns:
The id for the
Dazzle.PathElement
.- Return type:
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.
New in version 3.26.
- get_title()¶
- Returns:
The title for the
Dazzle.PathElement
.- Return type:
Gets the
Dazzle.PathElement
:title
property. This is used by the path bar to display text representing the element of the path.New in version 3.26.
Property Details¶
- Dazzle.PathElement.props.icon_name¶
- Name:
icon-name
- Type:
- Default Value:
- Flags:
The icon-name of the icon to display next to the path element in the path bar. Set to
None
for no icon.New in version 3.26.
- Dazzle.PathElement.props.id¶
- Name:
id
- Type:
- Default Value:
- Flags:
The id property is an application specific identifier for the element within the path.
New in version 3.26.
- Dazzle.PathElement.props.title¶
- Name:
title
- Type:
- Default Value:
- Flags:
The title property should contain the display text that should be shown to represent the element in the
Dazzle.PathBar
.New in version 3.26.