gschem

gschem_action.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _GschemActionClass
struct  _GschemAction

Defines

#define GSCHEM_TYPE_ACTION   (gschem_action_get_type())
#define GSCHEM_ACTION(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSCHEM_TYPE_ACTION, GschemAction))
#define GSCHEM_ACTION_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GSCHEM_TYPE_ACTION, GschemActionClass))
#define GSCHEM_IS_ACTION(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSCHEM_TYPE_ACTION))
#define GSCHEM_ACTION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GSCHEM_TYPE_ACTION, GschemActionClass))

Typedefs

typedef struct _GschemActionClass GschemActionClass
typedef struct _GschemAction GschemAction

Functions

GType gschem_action_get_type (void)
 Function to retrieve GschemAction's GType identifier.
GschemActiongschem_action_new (const gchar *name, const gchar *label, const gchar *tooltip, const gchar *stock_id, const gchar *multikey_accel)

Define Documentation

#define GSCHEM_TYPE_ACTION   (gschem_action_get_type())

Definition at line 27 of file gschem_action.h.

#define GSCHEM_ACTION (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSCHEM_TYPE_ACTION, GschemAction))

Definition at line 28 of file gschem_action.h.

#define GSCHEM_ACTION_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GSCHEM_TYPE_ACTION, GschemActionClass))

Definition at line 29 of file gschem_action.h.

#define GSCHEM_IS_ACTION (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSCHEM_TYPE_ACTION))

Definition at line 30 of file gschem_action.h.

#define GSCHEM_ACTION_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GSCHEM_TYPE_ACTION, GschemActionClass))

Definition at line 31 of file gschem_action.h.


Typedef Documentation

Definition at line 33 of file gschem_action.h.

typedef struct _GschemAction GschemAction

Definition at line 34 of file gschem_action.h.


Function Documentation

GType gschem_action_get_type ( void  )
Function Description
Function to retrieve GschemAction's GType identifier. Upon first call, this registers the GschemAction in the GType system. Subsequently it returns the saved value from its first execution.
Returns:
the GType identifier associated with GschemAction.

Definition at line 182 of file gschem_action.c.

Here is the call graph for this function:

GschemAction* gschem_action_new ( const gchar *  name,
const gchar *  label,
const gchar *  tooltip,
const gchar *  stock_id,
const gchar *  multikey_accel 
)

/brief Creates a new GschemAction object

/par Function Descriptions

Creates a new GschemAction object.

/param [in] name A unique name for the action /param [in] label The label displayed in menu items and on buttons, or NULL /param [in] tooltip A tooltip for the action, or NULL /param [in] stock_id The stock icon to display in widgets representing the action, or NULL /param [in] multikey_accel The (potentially) multi-key accelerator used for this action

/returns A new GschemAction

Definition at line 222 of file gschem_action.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines