Nautilus.PropertiesModel¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
|||
r/w |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Nautilus.PropertiesModel(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A model to implement custom file Properties.
NautilusPropertiesModelis an model that describes a set of file properties. Extensions can provideNautilusPropertiesModelobjects by registering a [iface`PropertiesModelProvider`] and returning them from [method`PropertiesModelProvider`.get_models], which will be called by the main application when creating file properties.- classmethod new(title, model)¶
- Parameters:
title (
str) – the user-visible name for the set of properties in this modelmodel (
Gio.ListModel) – a [iface`Gio`.ListModel] containing #NautilusPropertyItem objects.
- Returns:
a new
Nautilus.PropertiesModel- Return type:
Create a new
NautilusPropertiesModel.
- get_model()¶
- Returns:
a [iface`Gio`.ListModel] containing [class`PropertiesItem`].
- Return type:
Gets the properties items provided by this model.
- get_title()¶
- Returns:
the title of this
Nautilus.PropertiesModel- Return type:
Get the user-visible title.
Property Details¶
- Nautilus.PropertiesModel.props.model¶
- Name:
model- Type:
- Default Value:
- Flags:
The item model.