File: libglade.defs

package info (click to toggle)
rep-gtk 0.15-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 728 kB
  • ctags: 349
  • sloc: ansic: 3,577; sh: 2,430; lisp: 1,102; makefile: 159
file content (79 lines) | stat: -rw-r--r-- 1,623 bytes parent folder | download
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
;; -*-lisp-*-

(import "gtk.defs")

(define-object GladeXML (GtkData)
  (fields
   (string filename)
   (string textdomain (getter sgtk_glade_xml_textdomain))))

(define-func glade_xml_new
  GladeXML
  ((string fname)
   (string root (null-ok))))

(define-func glade_xml_new_with_domain
  GladeXML
  ((string fname)
   (string root (null-ok))
   (string domain (null-ok))))

(define-func sgtk_glade_xml_new_from_string
  GladeXML
  ((SCM text)				;actually a string
   (string root (null-ok))
   (string domain (null-ok)))
  (scm-name "glade-xml-new-from-string"))

(define-func glade_xml_construct
  bool
  ((GladeXML self)
   (string fname)
   (string root (null-ok))
   (string domain (null-ok))))

(define-func sgtk_glade_xml_signal_connect
  none
  ((GladeXML self)
   (string handler_name)
   (SCM func))
  (scm-name "glade-xml-signal-connect"))

(define-func sgtk_glade_xml_signal_autoconnect
  none
  ((GladeXML self))
  (scm-name "glade-xml-signal-autoconnect"))

(define-func glade_xml_get_widget
  GtkWidget
  ((GladeXML self)
   (string name)))

(define-func glade_xml_get_widget_by_long_name
  GtkWidget
  ((GladeXML self)
   (string longname)))

(define-func glade_xml_relative_file
  string
  ((GladeXML self)
   (string filename)))

(define-func glade_get_widget_name
  static_string
  ((GtkWidget widget)))

(define-func glade_get_widget_long_name
  static_string
  ((GtkWidget widget)))

(define-func glade_get_widget_tree
  GladeXML
  ((GtkWidget widget)))

;; Options

(options
 (includes "#include <glade/glade.h>")
 (includes "#include \"rep-libglade.h\"")
 (init-func "sgtk_init_gtk_libglade_glue"))