#include <gtk/gtkbin.h>
#include <libxml/tree.h>
Go to the source code of this file.
Defines | |
#define | GTK_TYPE_CRYSTAL_VIEWER (gtk_crystal_viewer_get_type ()) |
#define | GTK_CRYSTAL_VIEWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewer)) |
#define | GTK_CRYSTAL_VIEWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewerClass)) |
#define | GTK_IS_CRYSTAL_VIEWER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CRYSTAL_VIEWER)) |
#define | GTK_IS_CRYSTAL_VIEWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CRYSTAL_VIEWER)) |
#define | GTK_CRYSTAL_VIEWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewerClass)) |
Typedefs | |
typedef struct _GtkCrystalViewer | GtkCrystalViewer |
typedef struct _GtkCrystalViewerClass | GtkCrystalViewerClass |
Functions | |
GtkWidget * | gtk_crystal_viewer_new (xmlNodePtr node) |
void | gtk_crystal_viewer_set_data (GtkCrystalViewer *viewer, xmlNodePtr node) |
GdkPixbuf * | gtk_crystal_viewer_new_pixbuf (GtkCrystalViewer *viewer, guint width, guint height) |
Definition in file gtkcrystalviewer.h.
#define GTK_CRYSTAL_VIEWER | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewer)) |
Casts obj to a GtkCrystalViewer * pointer.
Definition at line 42 of file gtkcrystalviewer.h.
#define GTK_CRYSTAL_VIEWER_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewerClass)) |
Casts klass to a GtkCrystalViewerClass * pointer.
Definition at line 47 of file gtkcrystalviewer.h.
#define GTK_CRYSTAL_VIEWER_GET_CLASS | ( | obj | ) | (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewerClass)) |
Definition at line 60 of file gtkcrystalviewer.h.
#define GTK_IS_CRYSTAL_VIEWER | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CRYSTAL_VIEWER)) |
Definition at line 51 of file gtkcrystalviewer.h.
#define GTK_IS_CRYSTAL_VIEWER_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CRYSTAL_VIEWER)) |
Definition at line 55 of file gtkcrystalviewer.h.
#define GTK_TYPE_CRYSTAL_VIEWER (gtk_crystal_viewer_get_type ()) |
typedef struct _GtkCrystalViewer GtkCrystalViewer |
The GtkCrystalViewer widget.
Definition at line 63 of file gtkcrystalviewer.h.
typedef struct _GtkCrystalViewerClass GtkCrystalViewerClass |
The GtkCrystalViewer widget object class.
Definition at line 65 of file gtkcrystalviewer.h.
GtkWidget* gtk_crystal_viewer_new | ( | xmlNodePtr | node | ) |
node,: | a pointer to an xlNode (from libxml) containing the serialized version of the crystal to display as saved by Gnome Crystal or NULL. |
Referenced by main().
GdkPixbuf* gtk_crystal_viewer_new_pixbuf | ( | GtkCrystalViewer * | viewer, | |
guint | width, | |||
guint | height | |||
) |
viewer | a pointer to a GtkCrystalViewer widget. | |
width | the width of the new pixbuf. | |
height | the height of the new pixbuf. |
void gtk_crystal_viewer_set_data | ( | GtkCrystalViewer * | viewer, | |
xmlNodePtr | node | |||
) |
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. |