Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

gtkperiodic.h File Reference

Go to the source code of this file.

Enumerations

enum  GtkPeriodicColorStyle

Functions

guint gtk_periodic_get_element (GtkPeriodic *periodic)
void gtk_periodic_set_element (GtkPeriodic *periodic, guint element)


Detailed Description

Declaration of the GtkPeriodic widget.

Definition in file gtkperiodic.h.


Enumeration Type Documentation

enum GtkPeriodicColorStyle
 

Coloring scheme used for the buttons when displaying the periodic table of the GtkPeriodic widget. Possible values are:

  • GTK_PERIODIC_COLOR_NONE: the default Gtk theme is used.
  • GTK_PERIODIC_COLOR_DEFAULT: the default color for each element is used as returned by gcu_element_get_default_color.

Definition at line 47 of file gtkperiodic.h.


Function Documentation

guint gtk_periodic_get_element GtkPeriodic periodic  ) 
 

gtk_periodic_get_element:

Parameters:
periodic a GtkPeriodic widget
Description: 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.

void gtk_periodic_set_element GtkPeriodic periodic,
guint  element
 

gtk_periodic_set_element:

Parameters:
periodic a GtkPeriodic widget
element the atomic number of the element to select or 0
Description: sets the selected element in the periodic table.


Generated on Wed Feb 23 13:45:28 2005 for The Gnome Chemistry Utils by  doxygen 1.4.1