gcucrystalviewer.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00027 #ifndef GCU_CRYSTAL_VIEWER_H
00028 #define GCU_CRYSTAL_VIEWER_H
00029
00030 #include <gtk/gtkbin.h>
00031 #include <libxml/tree.h>
00032
00033 G_BEGIN_DECLS
00034
00036 #define GCU_TYPE_CRYSTAL_VIEWER (gcu_crystal_viewer_get_type ())
00037
00042 #define GCU_CRYSTAL_VIEWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCU_TYPE_CRYSTAL_VIEWER, GcuCrystalViewer))
00043
00047 #define GCU_CRYSTAL_VIEWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCU_TYPE_CRYSTAL_VIEWER, GcuCrystalViewerClass))
00048
00051 #define GCU_IS_CRYSTAL_VIEWER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCU_TYPE_CRYSTAL_VIEWER))
00052
00055 #define GCU_IS_CRYSTAL_VIEWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCU_TYPE_CRYSTAL_VIEWER))
00056
00060 #define GCU_CRYSTAL_VIEWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCU_TYPE_CRYSTAL_VIEWER, GcuCrystalViewerClass))
00061
00063 typedef struct _GcuCrystalViewer GcuCrystalViewer;
00065 typedef struct _GcuCrystalViewerClass GcuCrystalViewerClass;
00066
00076 GType gcu_crystal_viewer_get_type (void) G_GNUC_CONST;
00084 GtkWidget* gcu_crystal_viewer_new (xmlNodePtr node);
00092 void gcu_crystal_viewer_set_data (GcuCrystalViewer * viewer, xmlNodePtr node);
00093
00102 GdkPixbuf *gcu_crystal_viewer_new_pixbuf (GcuCrystalViewer * viewer, guint width, guint height);
00103
00112 void gcu_crystal_viewer_set_uri_with_mime_type (GcuCrystalViewer * viewer, const gchar * uri, const gchar* mime_type);
00120 void gcu_crystal_viewer_set_uri (GcuCrystalViewer * viewer, const gchar * uri);
00121
00122 G_END_DECLS
00123
00124 #endif //GCU_CRYSTAL_VIEWER_H