gschem

gschem_accel_label.c File Reference

#include "config.h"
#include "gschem.h"
Include dependency graph for gschem_accel_label.c:

Go to the source code of this file.

Defines

#define P_(x)   (x)

Enumerations

enum  { PROP_0, PROP_ACCEL_CLOSURE, PROP_ACCEL_WIDGET, PROP_ACCEL_STRING }

Functions

gboolean gschem_accel_label_refetch (GschemAccelLabel *accel_label)
static const gchar * gschem_accel_label_get_string (GschemAccelLabel *accel_label)
static void gschem_accel_label_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
static void gschem_accel_label_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
static void gschem_accel_label_init (GschemAccelLabel *accel_label)
static void gschem_accel_label_finalize (GObject *object)
guint gschem_accel_label_get_accel_width (GschemAccelLabel *accel_label)
static void gschem_accel_label_size_request (GtkWidget *widget, GtkRequisition *requisition)
static gint get_first_baseline (PangoLayout *layout)
static gboolean gschem_accel_label_expose_event (GtkWidget *widget, GdkEventExpose *event)
static void substitute_underscores (char *str)
void gschem_accel_label_set_accel_string (GschemAccelLabel *accel_label, const gchar *accel_string)
static void gschem_accel_label_class_init (GschemAccelLabelClass *class)

Define Documentation

#define P_ (   x)    (x)

Definition at line 42 of file gschem_accel_label.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
PROP_0 
PROP_ACCEL_CLOSURE 
PROP_ACCEL_WIDGET 
PROP_ACCEL_STRING 

Definition at line 44 of file gschem_accel_label.c.


Function Documentation

gboolean gschem_accel_label_refetch ( GschemAccelLabel accel_label)

Definition at line 55 of file gschem_accel_label.c.

static const gchar* gschem_accel_label_get_string ( GschemAccelLabel accel_label) [static]

Definition at line 79 of file gschem_accel_label.c.

Here is the call graph for this function:

static void gschem_accel_label_set_property ( GObject *  object,
guint  prop_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 89 of file gschem_accel_label.c.

Here is the call graph for this function:

static void gschem_accel_label_get_property ( GObject *  object,
guint  prop_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 114 of file gschem_accel_label.c.

static void gschem_accel_label_init ( GschemAccelLabel accel_label) [static]

Definition at line 145 of file gschem_accel_label.c.

static void gschem_accel_label_finalize ( GObject *  object) [static]

Definition at line 152 of file gschem_accel_label.c.

guint gschem_accel_label_get_accel_width ( GschemAccelLabel accel_label)

Definition at line 162 of file gschem_accel_label.c.

static void gschem_accel_label_size_request ( GtkWidget *  widget,
GtkRequisition *  requisition 
) [static]

Definition at line 171 of file gschem_accel_label.c.

Here is the call graph for this function:

static gint get_first_baseline ( PangoLayout *  layout) [static]

Definition at line 189 of file gschem_accel_label.c.

static gboolean gschem_accel_label_expose_event ( GtkWidget *  widget,
GdkEventExpose *  event 
) [static]

Definition at line 202 of file gschem_accel_label.c.

Here is the call graph for this function:

static void substitute_underscores ( char *  str) [static]

Definition at line 283 of file gschem_accel_label.c.

void gschem_accel_label_set_accel_string ( GschemAccelLabel accel_label,
const gchar *  accel_string 
)

gschem_accel_label_set_accel_string:

Parameters:
accel_labela GschemAccelLabel
accel_stringthe accelerator string.

Sets the accelerator string for this accelerator label.

Definition at line 301 of file gschem_accel_label.c.

Here is the call graph for this function:

static void gschem_accel_label_class_init ( GschemAccelLabelClass class) [static]

Definition at line 320 of file gschem_accel_label.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines