5 * Copyright (C) 2002-2005 Monty
7 * Postfish is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
12 * Postfish is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Postfish; see the file COPYING. If not, write to the
19 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
30 #include <glib-object.h>
31 #include <gtk/gtkcontainer.h>
32 #include <gtk/gtkdrawingarea.h>
33 #include <gdk/gdkdrawable.h>
37 #define READOUT_TYPE (readout_get_type ())
38 #define READOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), READOUT_TYPE, Readout))
39 #define READOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), READOUT_TYPE, ReadoutClass))
40 #define IS_READOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), READOUT_TYPE))
41 #define IS_READOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), READOUT_TYPE))
43 typedef struct _Readout Readout
;
44 typedef struct _ReadoutClass ReadoutClass
;
48 GtkDrawingArea canvas
;
55 GtkDrawingAreaClass parent_class
;
56 void (* readout
) (Readout
*m
);
60 GType
readout_get_type (void);
61 GtkWidget
* readout_new (char *markup
);
62 void readout_set (Readout
*m
,char *markup
);
63 const gchar
* readout_get (Readout
*r
);