The Gnome Chemistry Utils
0.14.0
|
#include <glib-object.h>
Go to the source code of this file.
Macros | |
#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) |
Declaration of the GcuComboPeriodic widget.
Definition in file gcucomboperiodic.h.
#define GCU_COMBO_PERIODIC | ( | o | ) | (G_TYPE_CHECK_INSTANCE_CAST((o), GCU_TYPE_COMBO_PERIODIC, GcuComboPeriodic)) |
Casts obj to a GcuComboPeriodic * pointer.
Definition at line 37 of file gcucomboperiodic.h.
#define GCU_IS_COMBO_PERIODIC | ( | o | ) | (G_TYPE_CHECK_INSTANCE_TYPE((o), GCU_TYPE_COMBO_PERIODIC)) |
Definition at line 41 of file gcucomboperiodic.h.
#define GCU_TYPE_COMBO_PERIODIC (gcu_combo_periodic_get_type ()) |
Definition at line 31 of file gcucomboperiodic.h.
typedef struct _GcuComboPeriodic GcuComboPeriodic |
The GcuComboPeriodic widget.
Definition at line 66 of file gcucomboperiodic.h.
guint gcu_combo_periodic_get_element | ( | GcuComboPeriodic * | combo | ) |
combo | a GcuComboPeriodic widget Used to get the currently selected element in the periodic table. |
Definition at line 121 of file gcucomboperiodic.c.
References GCU_PERIODIC.
GtkWidget* gcu_combo_periodic_new | ( | void | ) |
void gcu_combo_periodic_set_element | ( | GcuComboPeriodic * | combo, |
guint | element | ||
) |
combo | a GcuComboPeriodic widget |
element | the atomic number of the element to select or 0 Sets the selected element in the periodic table. |
Definition at line 126 of file gcucomboperiodic.c.
References gcu_element_get_symbol(), and GCU_PERIODIC.