/
gtkmathview.defs
82 lines (71 loc) · 1.61 KB
/
gtkmathview.defs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
;; -*- scheme -*-
(define-object MathView
(in-module "GtkMathView")
(parent "GtkWidget")
(c-name "GtkMathView")
(gtype-id "GTK_TYPE_MATH_VIEW")
)
(define-function gtk_math_view_get_type
(c-name "gtk_math_view_get_type__libxml2")
(return-type "GtkType")
)
(define-function gtk_math_view_new
(c-name "gtk_math_view_new__libxml2")
(return-type "GtkWidget*")
(parameters
'("GtkAdjustment*" "adj1")
'("GtkAdjustment*" "adj2")
)
)
(define-method freeze
(of-object "GtkMathView")
(c-name "gtk_math_view_freeze__libxml2")
(return-type "gboolean")
)
(define-method thaw
(of-object "GtkMathView")
(c-name "gtk_math_view_thaw__libxml2")
(return-type "gboolean")
)
(define-method update
(of-object "GtkMathView")
(c-name "gtk_math_view_update__libxml2")
(return-type "none")
(parameters
'("GdkRectangle*" "rect")
)
)
(define-method load_uri
(of-object "GtkMathView")
(c-name "gtk_math_view_load_uri__libxml2")
(return-type "gboolean")
(parameters
'("const-gchar*" "uri")
)
)
(define-method load_buffer
(of-object "GtkMathView")
(c-name "gtk_math_view_load_buffer__libxml2")
(return-type "gboolean")
(parameters
'("const-gchar*" "buffer")
)
)
(define-method unload
(of-object "GtkMathView")
(c-name "gtk_math_view_unload__libxml2")
(return-type "none")
)
(define-method set_font_size
(of-object "GtkMathView")
(c-name "gtk_math_view_set_font_size__libxml2")
(return-type "none")
(parameters
'("guint" "size")
)
)
(define-method get_font_size
(of-object "GtkMathView")
(c-name "gtk_math_view_get_font_size__libxml2")
(return-type "guint")
)