gtkcrystalviewer.h File Reference

Go to the source code of this file.

Classes

struct  _GtkCrystalViewer
struct  _GtkCrystalViewerClass

Defines

#define GTK_TYPE_CRYSTAL_VIEWER   (gtk_crystal_viewer_get_type ())
#define GTK_CRYSTAL_VIEWER(obj)   (GTK_CHECK_CAST ((obj), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewer))
#define GTK_CRYSTAL_VIEWER_CLASS(klass)   (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewerClass))
#define GTK_IS_CRYSTAL_VIEWER(obj)   (GTK_CHECK_TYPE ((obj), GTK_TYPE_CRYSTAL_VIEWER))
#define GTK_IS_CRYSTAL_VIEWER_CLASS(klass)   (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CRYSTAL_VIEWER))
#define GTK_CRYSTAL_VIEWER_GET_CLASS(obj)   (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewerClass))

Typedefs

typedef _GtkCrystalViewer GtkCrystalViewer
typedef _GtkCrystalViewerClass GtkCrystalViewerClass

Functions

GtkWidget * gtk_crystal_viewer_new (xmlNodePtr node)
void gtk_crystal_viewer_set_data (GtkCrystalViewer *viewer, xmlNodePtr node)


Detailed Description

Declaration of the GtkCrystalViewer widget.

Definition in file gtkcrystalviewer.h.


Function Documentation

GtkWidget* gtk_crystal_viewer_new ( xmlNodePtr  node  ) 

Parameters:
node,: a pointer to an xlNode (from libxml) containing the serialized version of the crystal to display as saved by Gnome Crystal or NULL.
Builds a new GtkCrystalViewer widget and, if node is not NULL, fills it with the Crystal structure described in node.
Returns:
a pointer to the new viewer.

Referenced by main().

void gtk_crystal_viewer_set_data ( GtkCrystalViewer viewer,
xmlNodePtr  node 
)

Parameters:
viewer,: a pointer to a GtkCrystalViewer widget.
node,: a pointer to an xlNode (from libxml) containing the serialized version of the crystal to display as saved by Gnome Crystal.
Replaces the content of viewer by the Crystal structure described in node.


Generated on Tue Aug 15 10:47:35 2006 for The Gnome Chemistry Utils by  doxygen 1.4.7