![]() |
![]() |
![]() |
Nautilus-Actions™ Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <nautilus-actions/na-object-action.h> #define NA_OBJECT_ACTION_TYPE #define NA_OBJECT_ACTION (object) #define NA_IS_OBJECT_ACTION (object) NAObjectAction; NAObjectAction * na_object_action_new (void
); NAObjectAction * na_object_action_new_with_profile (void
); NAObjectAction * na_object_action_new_with_defaults (void
); gchar * na_object_action_get_new_profile_name (const NAObjectAction *action
); void na_object_action_attach_profile (NAObjectAction *action
,NAObjectProfile *profile
); void na_object_action_set_last_version (NAObjectAction *action
);
"na-factory-data-all-mimetypes" gboolean : Read / Write "na-factory-data-basenames" gpointer : Read / Write "na-factory-data-capabilitites" gpointer : Read / Write "na-factory-data-description" gchar* : Read / Write "na-factory-data-enabled" gboolean : Read / Write "na-factory-data-folders" gpointer : Read / Write "na-factory-data-icon" gchar* : Read / Write "na-factory-data-id" gchar* : Read / Write "na-factory-data-isdir" gboolean : Read / Write "na-factory-data-isfile" gboolean : Read / Write "na-factory-data-items" gpointer : Read / Write "na-factory-data-items-slist" gpointer : Read / Write "na-factory-data-iversion" guint : Read / Write "na-factory-data-label" gchar* : Read / Write "na-factory-data-last-allocated" guint : Read / Write "na-factory-data-matchcase" gboolean : Read / Write "na-factory-data-mimetypes" gpointer : Read / Write "na-factory-data-not-show-in" gpointer : Read / Write "na-factory-data-only-show-in" gpointer : Read / Write "na-factory-data-parent" gpointer : Read / Write "na-factory-data-provider" gpointer : Read / Write "na-factory-data-provider-data" gpointer : Read / Write "na-factory-data-readonly" gboolean : Read / Write "na-factory-data-schemes" gpointer : Read / Write "na-factory-data-selection-count" gchar* : Read / Write "na-factory-data-shortcut" gchar* : Read / Write "na-factory-data-show-if-registered" gchar* : Read / Write "na-factory-data-show-if-running" gchar* : Read / Write "na-factory-data-show-if-true" gchar* : Read / Write "na-factory-data-target-location" gboolean : Read / Write "na-factory-data-target-selection" gboolean : Read / Write "na-factory-data-target-toolbar" gboolean : Read / Write "na-factory-data-toolbar-label" gchar* : Read / Write "na-factory-data-toolbar-same-label" gboolean : Read / Write "na-factory-data-tooltip" gchar* : Read / Write "na-factory-data-try-exec" gchar* : Read / Write "na-factory-data-version" gchar* : Read / Write
This is the class which maintains data and properties of a Nautilus-Actions™ action.
Edition status. As a particular rule for a NAObjectItem -derived class, a NAObjectAction is considered modified as soon as any of its profiles has been modified itself (because they are saved as a whole).
#define NA_OBJECT_ACTION( object ) ( G_TYPE_CHECK_INSTANCE_CAST( object, NA_OBJECT_ACTION_TYPE, NAObjectAction ))
#define NA_IS_OBJECT_ACTION( object ) ( G_TYPE_CHECK_INSTANCE_TYPE( object, NA_OBJECT_ACTION_TYPE ))
gchar * na_object_action_get_new_profile_name
(const NAObjectAction *action
);
void na_object_action_attach_profile (NAObjectAction *action
,NAObjectProfile *profile
);
void na_object_action_set_last_version (NAObjectAction *action
);
"na-factory-data-all-mimetypes"
property"na-factory-data-all-mimetypes" gboolean : Read / Write
The generic wildcard may be coded as '*', or '*/*' or 'all' or 'all/*' or 'all/all'. In each case, we will try to spend as less time as possible to check selection mimetypes.
Default value: TRUE
"na-factory-data-capabilitites"
property"na-factory-data-capabilitites" gpointer : Read / Write
"na-factory-data-description"
property"na-factory-data-description" gchar* : Read / Write
Default value: ""
"na-factory-data-enabled"
property"na-factory-data-enabled" gboolean : Read / Write
Default value: TRUE
"na-factory-data-id"
property"na-factory-data-id" gchar* : Read / Write
Internal identifiant of the NAObjectId object. Historically a UUID used as a GConf directory (thus ASCII, case insensitive), it is also the basename of the .desktop file (thus UTF-8, case sensitive).
Default value: NULL
"na-factory-data-isdir"
property"na-factory-data-isdir" gboolean : Read / Write
Default value: FALSE
"na-factory-data-isfile"
property"na-factory-data-isfile" gboolean : Read / Write
Default value: TRUE
"na-factory-data-items"
property"na-factory-data-items" gpointer : Read / Write
List of subitems objects.
"na-factory-data-iversion"
property"na-factory-data-iversion" guint : Read / Write
The version of the configuration format that will be used to manage backward compatibility.
Default value: 3
"na-factory-data-label"
property"na-factory-data-label" gchar* : Read / Write
Default value: ""
"na-factory-data-last-allocated"
property"na-factory-data-last-allocated" guint : Read / Write
Last allocated profile number in na_object_action_get_new_profile_name(), reset to zero when saving the action.
Default value: 0
"na-factory-data-matchcase"
property"na-factory-data-matchcase" gboolean : Read / Write
Default value: TRUE
"na-factory-data-not-show-in"
property"na-factory-data-not-show-in" gpointer : Read / Write
Defaults to none.
"na-factory-data-only-show-in"
property"na-factory-data-only-show-in" gpointer : Read / Write
Defaults to all.
"na-factory-data-parent"
property"na-factory-data-parent" gpointer : Read / Write
The NAObjectItem which is the parent of this object.
"na-factory-data-provider"
property"na-factory-data-provider" gpointer : Read / Write
A pointer to the NAIOProvider object.
"na-factory-data-provider-data"
property"na-factory-data-provider-data" gpointer : Read / Write
A pointer to some NAIOProvider specific data.
"na-factory-data-readonly"
property"na-factory-data-readonly" gboolean : Read / Write
Is the item only readable ? This is an intrinsic property, dynamically set when the item is unserialized. This property being FALSE doesn't mean that the item will actually be updatable, as this also depend of parameters set by user and administrator. Also, a property initially set to FALSE when first unserializing may be set toTRUE if an eccor occurs on a later write operation.
Default value: FALSE
"na-factory-data-selection-count"
property"na-factory-data-selection-count" gchar* : Read / Write
Default value: ">0"
"na-factory-data-shortcut"
property"na-factory-data-shortcut" gchar* : Read / Write
Default value: ""
"na-factory-data-show-if-registered"
property"na-factory-data-show-if-registered" gchar* : Read / Write
Default value: NULL
"na-factory-data-show-if-running"
property"na-factory-data-show-if-running" gchar* : Read / Write
Default value: NULL
"na-factory-data-show-if-true"
property"na-factory-data-show-if-true" gchar* : Read / Write
Default value: NULL
"na-factory-data-target-location"
property"na-factory-data-target-location" gboolean : Read / Write
Default value: FALSE
"na-factory-data-target-selection"
property"na-factory-data-target-selection" gboolean : Read / Write
Default value: TRUE
"na-factory-data-target-toolbar"
property"na-factory-data-target-toolbar" gboolean : Read / Write
Default value: FALSE
"na-factory-data-toolbar-label"
property"na-factory-data-toolbar-label" gchar* : Read / Write
Default value: ""
"na-factory-data-toolbar-same-label"
property"na-factory-data-toolbar-same-label" gboolean : Read / Write
Does the toolbar label is the same than the main one ?.
Default value: TRUE
"na-factory-data-tooltip"
property"na-factory-data-tooltip" gchar* : Read / Write
The tooltip of the menu item that will appear in the file manager statusbar when the user points to the file manager context menu item with his/her mouse.
Default value: ""
"na-factory-data-try-exec"
property"na-factory-data-try-exec" gchar* : Read / Write
Default value: NULL
"na-factory-data-version"
property"na-factory-data-version" gchar* : Read / Write
The version of the configuration format that will be used to manage backward compatibility.
Default value: NULL