FMAObjectMenu

FMAObjectMenu — The Menu Class Definition

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── FMAObject
        ╰── FMAObjectId
            ╰── FMAObjectItem
                ╰── FMAObjectMenu

Implemented Interfaces

FMAObjectMenu implements FMAIDuplicable, FMAIContext and FMAIFactoryObject.

Includes

#include <filemanager-actions/fma-object-menu.h>

Description

Functions

FMA_OBJECT_MENU()

#define FMA_OBJECT_MENU( object )           ( G_TYPE_CHECK_INSTANCE_CAST( object, FMA_TYPE_OBJECT_MENU, FMAObjectMenu ))

FMA_IS_OBJECT_MENU()

#define FMA_IS_OBJECT_MENU( object )        ( G_TYPE_CHECK_INSTANCE_TYPE( object, FMA_TYPE_OBJECT_MENU ))

fma_object_menu_new ()

FMAObjectMenu *
fma_object_menu_new (void);

Allocates a new FMAObjectMenu object.

Returns

the newly allocated FMAObjectMenu object.

Since: 2.30


fma_object_menu_new_with_defaults ()

FMAObjectMenu *
fma_object_menu_new_with_defaults (void);

Allocates a new FMAObjectMenu object, and setup default values.

Returns

the newly allocated FMAObjectMenu object.

Since: 2.30

Types and Values

FMA_TYPE_OBJECT_MENU

#define FMA_TYPE_OBJECT_MENU                ( fma_object_menu_get_type())

FMAObjectMenu

typedef struct _FMAObjectMenu FMAObjectMenu;

Property Details

The “factory-data-all-mimetypes” property

  “factory-data-all-mimetypes” gboolean

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.

Flags: Read / Write

Default value: TRUE


The “factory-data-basenames” property

  “factory-data-basenames”   gpointer

Flags: Read / Write


The “factory-data-capabilitites” property

  “factory-data-capabilitites” gpointer

Flags: Read / Write


The “factory-data-description” property

  “factory-data-description” gchar *

Flags: Read / Write

Default value: ""


The “factory-data-enabled” property

  “factory-data-enabled”     gboolean

Flags: Read / Write

Default value: TRUE


The “factory-data-folders” property

  “factory-data-folders”     gpointer

Flags: Read / Write


The “factory-data-icon” property

  “factory-data-icon”        gchar *

Flags: Read / Write

Default value: ""


The “factory-data-id” property

  “factory-data-id”          gchar *

Internal identifier of the FMAObjectId 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).

Flags: Read / Write

Default value: ""


The “factory-data-items” property

  “factory-data-items”       gpointer

List of subitems objects.

Flags: Read / Write


The “factory-data-items-slist” property

  “factory-data-items-slist” gpointer

Flags: Read / Write


The “factory-data-iversion” property

  “factory-data-iversion”    guint

The version of the configuration format that will be used to manage backward compatibility.

Flags: Read / Write

Default value: 3


The “factory-data-label” property

  “factory-data-label”       gchar *

Flags: Read / Write

Default value: "Empty label"


The “factory-data-matchcase” property

  “factory-data-matchcase”   gboolean

Flags: Read / Write

Default value: TRUE


The “factory-data-mimetypes” property

  “factory-data-mimetypes”   gpointer

Flags: Read / Write


The “factory-data-not-show-in” property

  “factory-data-not-show-in” gpointer

Defaults to none.

Flags: Read / Write


The “factory-data-only-show-in” property

  “factory-data-only-show-in” gpointer

Defaults to all.

Flags: Read / Write


The “factory-data-parent” property

  “factory-data-parent”      gpointer

The FMAObjectItem which is the parent of this object.

Flags: Read / Write


The “factory-data-provider” property

  “factory-data-provider”    gpointer

A pointer to the FMAIOProvider object.

Flags: Read / Write


The “factory-data-provider-data” property

  “factory-data-provider-data” gpointer

A pointer to some FMAIOProvider specific data.

Flags: Read / Write


The “factory-data-readonly” property

  “factory-data-readonly”    gboolean

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.

Flags: Read / Write

Default value: FALSE


The “factory-data-schemes” property

  “factory-data-schemes”     gpointer

Flags: Read / Write


The “factory-data-selection-count” property

  “factory-data-selection-count” gchar *

Flags: Read / Write

Default value: ">0"


The “factory-data-shortcut” property

  “factory-data-shortcut”    gchar *

Flags: Read / Write

Default value: ""


The “factory-data-show-if-registered” property

  “factory-data-show-if-registered” gchar *

Flags: Read / Write

Default value: ""


The “factory-data-show-if-running” property

  “factory-data-show-if-running” gchar *

Flags: Read / Write

Default value: ""


The “factory-data-show-if-true” property

  “factory-data-show-if-true” gchar *

Flags: Read / Write

Default value: ""


The “factory-data-tooltip” property

  “factory-data-tooltip”     gchar *

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.

Flags: Read / Write

Default value: ""


The “factory-data-try-exec” property

  “factory-data-try-exec”    gchar *

Flags: Read / Write

Default value: ""