The Gnome Chemistry Utils
0.14.0
|
#include <goffice/goffice.h>
Go to the source code of this file.
Macros | |
#define | GCU_TYPE_SPECTRUM_VIEWER (gcu_spectrum_viewer_get_type ()) |
#define | GCU_SPECTRUM_VIEWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCU_TYPE_SPECTRUM_VIEWER, GcuSpectrumViewer)) |
#define | GCU_SPECTRUM_VIEWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCU_TYPE_SPECTRUM_VIEWER, GcuSpectrumViewerClass |
#define | GCU_IS_SPECTRUM_VIEWER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCU_TYPE_SPECTRUM_VIEWER)) |
#define | GCU_IS_SPECTRUM_VIEWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCU_TYPE_SPECTRUM_VIEWER)) |
#define | GCU_SPECTRUM_VIEWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCU_TYPE_SPECTRUM_VIEWER, GcuSpectrumViewerClass)) |
Typedefs | |
typedef struct _GcuSpectrumViewer | GcuSpectrumViewer |
typedef struct _GcuSpectrumViewerClass | GcuSpectrumViewerClass |
Functions | |
GtkWidget * | gcu_spectrum_viewer_new (const gchar *uri) |
void | gcu_spectrum_viewer_set_uri (GcuSpectrumViewer *viewer, const gchar *uri) |
GogGraph * | gcu_spectrum_viewer_get_graph (GcuSpectrumViewer *viewer) |
Declaration of the GcuSpectrumViewer widget.
Definition in file gcuspectrumviewer.h.
#define GCU_IS_SPECTRUM_VIEWER | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCU_TYPE_SPECTRUM_VIEWER)) |
Definition at line 50 of file gcuspectrumviewer.h.
#define GCU_IS_SPECTRUM_VIEWER_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_TYPE ((klass), GCU_TYPE_SPECTRUM_VIEWER)) |
Definition at line 54 of file gcuspectrumviewer.h.
#define GCU_SPECTRUM_VIEWER | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCU_TYPE_SPECTRUM_VIEWER, GcuSpectrumViewer)) |
Casts obj to a GcuSpectrumViewer * pointer.
Definition at line 41 of file gcuspectrumviewer.h.
#define GCU_SPECTRUM_VIEWER_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_CAST ((klass), GCU_TYPE_SPECTRUM_VIEWER, GcuSpectrumViewerClass |
Casts klass to a GcuSpectrumViewerClass * pointer.
Definition at line 46 of file gcuspectrumviewer.h.
#define GCU_SPECTRUM_VIEWER_GET_CLASS | ( | obj | ) | (G_TYPE_INSTANCE_GET_CLASS ((obj), GCU_TYPE_SPECTRUM_VIEWER, GcuSpectrumViewerClass)) |
Definition at line 59 of file gcuspectrumviewer.h.
#define GCU_TYPE_SPECTRUM_VIEWER (gcu_spectrum_viewer_get_type ()) |
Definition at line 35 of file gcuspectrumviewer.h.
typedef struct _GcuSpectrumViewer GcuSpectrumViewer |
The GcuSpectrumViewer widget.
Definition at line 69 of file gcuspectrumviewer.h.
typedef struct _GcuSpectrumViewerClass GcuSpectrumViewerClass |
The GcuSpectrumViewer widget object class.
Definition at line 71 of file gcuspectrumviewer.h.
GogGraph* gcu_spectrum_viewer_get_graph | ( | GcuSpectrumViewer * | viewer | ) |
viewer | a pointer to GcuSectrumViewer widget. |
GtkWidget* gcu_spectrum_viewer_new | ( | const gchar * | uri | ) |
uri | the URI of the file containing the spectrum to display |
Creates a GcuSpectrumViewer widget and fills it with the data from uri. If uri is NULL, the widget will display an empty chart.
void gcu_spectrum_viewer_set_uri | ( | GcuSpectrumViewer * | viewer, |
const gchar * | uri | ||
) |
viewer | a pointer to GcuSectrumViewer widget. |
uri | the URI of the file containing the spectrum to display. |
Changes the molecule displayed by the one described in the uri. Nothing happens if uri is NULL.