MidoriContextAction

MidoriContextAction

Functions

Types and Values

Object Hierarchy


Description

Functions

MIDORI_TYPE_CONTEXT_ACTION

#define MIDORI_TYPE_CONTEXT_ACTION (midori_context_action_get_type ())

The type for MidoriContextAction.


midori_context_action_add_simple ()

void
midori_context_action_add_simple (MidoriContextAction *self,
                                  const gchar *name,
                                  const gchar *label,
                                  const gchar *tooltip,
                                  const gchar *stock_id,
                                  MidoriContextActionActionActivateCallback callback,
                                  void *callback_target);

Parameters

self

the MidoriContextAction instance

 

callback_target

user data to pass to callback .

[allow-none][closure]

name

 

 

label

 

 

tooltip

 

 

stock_id

 

 

callback

 

 

midori_context_action_add ()

void
midori_context_action_add (MidoriContextAction *self,
                           GtkAction *action);

Parameters

self

the MidoriContextAction instance

 

action

 

 

midori_context_action_add_action_group ()

void
midori_context_action_add_action_group
                               (MidoriContextAction *self,
                                GtkActionGroup *action_group);

Parameters

self

the MidoriContextAction instance

 

action_group

 

 

midori_context_action_add_by_name ()

void
midori_context_action_add_by_name (MidoriContextAction *self,
                                   const gchar *name);

Parameters

self

the MidoriContextAction instance

 

name

 

 

midori_context_action_create_menu ()

GtkMenu *
midori_context_action_create_menu (MidoriContextAction *self,
                                   GtkMenu *default_menu,
                                   gboolean accels);

Parameters

self

the MidoriContextAction instance

 

default_menu

 

 

accels

 

 

midori_context_action_get_by_name ()

GtkAction *
midori_context_action_get_by_name (MidoriContextAction *self,
                                   const gchar *name);

Parameters

self

the MidoriContextAction instance

 

name

 

 

midori_context_action_new ()

MidoriContextAction *
midori_context_action_new (const gchar *name,
                           const gchar *label,
                           const gchar *tooltip,
                           const gchar *stock_id);

Parameters

name

 

 

label

 

 

tooltip

 

 

stock_id

 

 

MidoriContextActionActionActivateCallback ()

void
(*MidoriContextActionActionActivateCallback)
                               (GtkAction *action,
                                void *user_data);

Parameters

action

 

 

user_data

data to pass to the delegate function.

[closure]

MIDORI_TYPE_SEPARATOR_CONTEXT_ACTION

#define MIDORI_TYPE_SEPARATOR_CONTEXT_ACTION (midori_separator_context_action_get_type ())

The type for MidoriSeparatorContextAction.


midori_separator_context_action_new ()

MidoriSeparatorContextAction *
midori_separator_context_action_new (void);

Types and Values

struct MidoriContextAction

struct MidoriContextAction {
	GtkAction parent_instance;
	MidoriContextActionPrivate * priv;
};

struct MidoriContextActionClass

struct MidoriContextActionClass {
	GtkActionClass parent_class;
};

The class structure for MIDORI_TYPE_CONTEXT_ACTION. All the fields in this structure are private and should never be accessed directly.

Members

GtkActionClass parent_class;

the parent class structure

 

struct MidoriSeparatorContextAction

struct MidoriSeparatorContextAction {
	MidoriContextAction parent_instance;
	MidoriSeparatorContextActionPrivate * priv;
};

struct MidoriSeparatorContextActionClass

struct MidoriSeparatorContextActionClass {
	MidoriContextActionClass parent_class;
};

The class structure for MIDORI_TYPE_SEPARATOR_CONTEXT_ACTION. All the fields in this structure are private and should never be accessed directly.

Members

MidoriContextActionClass parent_class;

the parent class structure