File: gtkhandlebox.stub

package info (click to toggle)
gauche-gtk 0.4.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,520 kB
  • ctags: 3,230
  • sloc: ansic: 6,655; lisp: 4,159; sh: 2,707; makefile: 344
file content (52 lines) | stat: -rw-r--r-- 2,218 bytes parent folder | download | duplicates (4)
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
;; Automatically generated - DO NOT EDIT

(include "gtk-lib.types")
"#include \"gauche-gtk.h\""

;;  struct GtkHandleBox

(define-cclass <gtk-handle-box> :base
  "ScmGObject*" "Scm_GtkHandleBoxClass"
  ("Scm_GtkBinClass" "Scm_GtkContainerClass" "Scm_GtkWidgetClass" "Scm_GtkObjectClass" "Scm_GObjectClass")
  (
   (bin-window :type <gdk-drawable>)
   (float-window :type <gdk-drawable>)
   (shadow-type :type <int>)
   (handle-position :type <uint>)
   (float-window-mapped :type <uint>)
   (child-detached :type <uint>)
   (in-drag :type <uint>)
   (shrink-on-detach :type <uint>)
   (deskoff-x :type <int>)
   (deskoff-y :type <int>)
   (attach-allocation :getter "return SCM_MAKE_GDK_RECTANGLE(&(obj->attach_allocation));" :setter "obj->attach_allocation = *SCM_GDK_RECTANGLE(value);")
   (float-allocation :getter "return SCM_MAKE_GDK_RECTANGLE(&(obj->float_allocation));" :setter "obj->float_allocation = *SCM_GDK_RECTANGLE(value);")
   )
(allocator (c "Scm_GtkObjectAllocate"))
  )

(initcode "Scm_GtkRegisterClass(GTK_TYPE_HANDLE_BOX, SCM_CLASS_GTK_HANDLE_BOX);
")

;; gtk_handle_box_get_type
;; gtk_handle_box_new
(define-cproc gtk-handle-box-new () (return <gtk-widget> "gtk_handle_box_new"))

;; gtk_handle_box_set_shadow_type
(define-cproc gtk-handle-box-set-shadow-type (handle_box::<gtk-handle-box> type::<int>) (return <void> "gtk_handle_box_set_shadow_type"))

;; gtk_handle_box_get_shadow_type
(define-cproc gtk-handle-box-get-shadow-type (handle_box::<gtk-handle-box>) (return <int> "gtk_handle_box_get_shadow_type"))

;; gtk_handle_box_set_handle_position
(define-cproc gtk-handle-box-set-handle-position (handle_box::<gtk-handle-box> position::<int>) (return <void> "gtk_handle_box_set_handle_position"))

;; gtk_handle_box_get_handle_position
(define-cproc gtk-handle-box-get-handle-position (handle_box::<gtk-handle-box>) (return <int> "gtk_handle_box_get_handle_position"))

;; gtk_handle_box_set_snap_edge
(define-cproc gtk-handle-box-set-snap-edge (handle_box::<gtk-handle-box> edge::<int>) (return <void> "gtk_handle_box_set_snap_edge"))

;; gtk_handle_box_get_snap_edge
(define-cproc gtk-handle-box-get-snap-edge (handle_box::<gtk-handle-box>) (return <int> "gtk_handle_box_get_snap_edge"))