gcucomboperiodic.h File Reference

#include <glib-object.h>

Go to the source code of this file.

Defines

#define GCU_TYPE_COMBO_PERIODIC   (gcu_combo_periodic_get_type ())
#define GCU_COMBO_PERIODIC(o)   (G_TYPE_CHECK_INSTANCE_CAST((o), GCU_TYPE_COMBO_PERIODIC, GcuComboPeriodic))
#define GCU_IS_COMBO_PERIODIC(o)   (G_TYPE_CHECK_INSTANCE_TYPE((o), GCU_TYPE_COMBO_PERIODIC))

Typedefs

typedef struct _GcuComboPeriodic GcuComboPeriodic

Functions

GtkWidget * gcu_combo_periodic_new (void)
guint gcu_combo_periodic_get_element (GcuComboPeriodic *combo)
void gcu_combo_periodic_set_element (GcuComboPeriodic *combo, guint element)


Detailed Description

Declaration of the GcuComboPeriodic widget.

Definition in file gcucomboperiodic.h.


Define Documentation

#define GCU_COMBO_PERIODIC (  )     (G_TYPE_CHECK_INSTANCE_CAST((o), GCU_TYPE_COMBO_PERIODIC, GcuComboPeriodic))

Casts obj to a GcuComboPeriodic * pointer.

Returns:
a pointer to the GcuComboPeriodic * or NULL if obj does not point to a GcuComboPeriodic widget.

Definition at line 37 of file gcucomboperiodic.h.

#define GCU_IS_COMBO_PERIODIC (  )     (G_TYPE_CHECK_INSTANCE_TYPE((o), GCU_TYPE_COMBO_PERIODIC))

Returns:
TRUE if obj points to a GcuComboPeriodic widget, FALSE otherwise.

Definition at line 41 of file gcucomboperiodic.h.

#define GCU_TYPE_COMBO_PERIODIC   (gcu_combo_periodic_get_type ())

Returns:
the GType associated to GcuComboPeriodic

Definition at line 31 of file gcucomboperiodic.h.


Typedef Documentation

typedef struct _GcuComboPeriodic GcuComboPeriodic

The GcuComboPeriodic widget.

Definition at line 66 of file gcucomboperiodic.h.


Function Documentation

guint gcu_combo_periodic_get_element ( GcuComboPeriodic combo  ) 

Parameters:
combo a GcuComboPeriodic widget Used to get the currently selected element in the periodic table.
Returns:
the atomic number of the currently selected element or 0 if none is selected.

GtkWidget* gcu_combo_periodic_new ( void   ) 

Returns:
a pointer to a newly created GcuComboPeriodic widget.

void gcu_combo_periodic_set_element ( GcuComboPeriodic combo,
guint  element 
)

Parameters:
combo a GcuComboPeriodic widget
element the atomic number of the element to select or 0 Sets the selected element in the periodic table.


Generated on Fri Sep 24 15:58:42 2010 for The Gnome Chemistry Utils by  doxygen 1.5.9