gschem

gschem_action.c File Reference

#include <config.h>
#include "gschem.h"
Include dependency graph for gschem_action.c:

Go to the source code of this file.

Enumerations

enum  { PROP_MULTIKEY_ACCEL = 1 }

Functions

static void gschem_action_finalize (GObject *object)
 GObject finalise handler.
static void gschem_action_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
 GObject property setter function.
static void gschem_action_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
 GObject property getter function.
static void gschem_action_connect_proxy (GtkAction *action, GtkWidget *proxy)
static void gschem_action_class_init (GschemActionClass *klass)
 GType class initialiser for GschemAction.
GType gschem_action_get_type ()
 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)

Variables

static GObjectClass * gschem_action_parent_class = NULL

Enumeration Type Documentation

anonymous enum
Enumerator:
PROP_MULTIKEY_ACCEL 

Definition at line 26 of file gschem_action.c.


Function Documentation

static void gschem_action_finalize ( GObject *  object) [static]
Function Description
Just before the GschemAction GObject is finalized, free our allocated data, and then chain up to the parent's finalize handler.
Parameters:
[in]objectThe GObject being finalized.

Definition at line 42 of file gschem_action.c.

static void gschem_action_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]
Function Description
Setter function for GschemAction's GObject properties, "settings-name" and "toplevel".
Parameters:
[in]objectThe GObject whose properties we are setting
[in]property_idThe numeric id. under which the property was registered with g_object_class_install_property()
[in]valueThe GValue the property is being set from
[in]pspecA GParamSpec describing the property being set

Definition at line 64 of file gschem_action.c.

static void gschem_action_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]
Function Description
Getter function for GschemAction's GObject properties, "settings-name" and "toplevel".
Parameters:
[in]objectThe GObject whose properties we are getting
[in]property_idThe numeric id. under which the property was registered with g_object_class_install_property()
[out]valueThe GValue in which to return the value of the property
[in]pspecA GParamSpec describing the property being got

Definition at line 91 of file gschem_action.c.

static void gschem_action_connect_proxy ( GtkAction *  action,
GtkWidget *  proxy 
) [static]

Definition at line 106 of file gschem_action.c.

static void gschem_action_class_init ( GschemActionClass klass) [static]
Function Description
GType class initialiser for GschemAction. We override our parent virtual class methods as needed and register our GObject properties.
Parameters:
[in]klassThe GschemActionClass we are initialising

Definition at line 150 of file gschem_action.c.

Here is the call graph for this function:

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.


Variable Documentation

GObjectClass* gschem_action_parent_class = NULL [static]

Definition at line 31 of file gschem_action.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines