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

GtkChem3DViewer Struct Reference

#include <chem3d/gtkchem3dviewer.h>


Detailed Description

The GtkChem3DViewer displays 3D models of molecules using an OpenGL window. This widget is also available as a Bonobo Control. Test programs are available in the tests directory of the Gnome Chemistry Utils source archive (sources in testgtkchem3dviewer.c for the use of the widget and in testbonobocontrol.c for the use of the Bonobo control).
<

Properties

There are two properties:

To set one of these properties when using the Bonobo control, use the associated Bonobo_PropertyBag. Example where control is an already existing BonoboControl widget (without error checking):
BonoboControlFrame *control_frame;
Bonobo_PropertyBag prop_bag;
control_frame = bonobo_widget_get_control_frame(BONOBO_WIDGET(control));
prop_bag = bonobo_control_frame_get_control_property_bag (control_frame, NULL);
bonobo_pbclient_set_string (prop_bag, "display3d", "ball&stick", NULL);

Functions

Functions related to the GtkChem3DViewer Widget are described in the gtkchem3dviewer.h page.


The documentation for this struct was generated from the following file:
Generated on Thu Oct 21 20:22:10 2004 for The Gnome Chemistry Utils by doxygen 1.3.8