]> matita.cs.unibo.it Git - helm.git/blob - helm/gtkmathview-bonobo/src/control-data.h
* advanced implementation of View interface
[helm.git] / helm / gtkmathview-bonobo / src / control-data.h
1
2 #ifndef __control_data_h__
3 #define __control_data_h__
4
5 #include <gtkmathview.h>
6 #include <gdome.h>
7
8 typedef struct _GtkMathViewControlData
9 {
10   GtkMathView* math_view;
11   gboolean semantic_selection;
12   GdomeElement* first_selected;
13   GdomeElement* root_selected;
14   GdomeDOMString* id_ns_uri;
15   GdomeDOMString* id_name;
16 } GtkMathViewControlData;
17
18 GtkMathViewControlData* gtk_math_view_control_data_new(GtkMathView*);
19 void gtk_math_view_control_data_destroy(GtkMathViewControlData*);
20 void gtk_math_view_control_data_set_id_attribute(GtkMathViewControlData*,
21                                                  const char*, const char*);
22
23 #endif // __control_data_h__