File: gtkaspectframe.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 (30 lines) | stat: -rw-r--r-- 1,169 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
;; Automatically generated - DO NOT EDIT

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

;;  struct GtkAspectFrame

(define-cclass <gtk-aspect-frame> :base
  "ScmGObject*" "Scm_GtkAspectFrameClass"
  ("Scm_GtkFrameClass" "Scm_GtkBinClass" "Scm_GtkContainerClass" "Scm_GtkWidgetClass" "Scm_GtkObjectClass" "Scm_GObjectClass")
  (
   (xalign :type <float>)
   (yalign :type <float>)
   (ratio :type <float>)
   (obey-child :type <boolean>)
   (center-allocation :getter "return SCM_MAKE_GDK_RECTANGLE(&(obj->center_allocation));" :setter "obj->center_allocation = *SCM_GDK_RECTANGLE(value);")
   )
(allocator (c "Scm_GtkObjectAllocate"))
  )

(initcode "Scm_GtkRegisterClass(GTK_TYPE_ASPECT_FRAME, SCM_CLASS_GTK_ASPECT_FRAME);
")

;; gtk_aspect_frame_get_type
;; gtk_aspect_frame_new
(define-cproc gtk-aspect-frame-new (label::<const-gchar*> xalign::<float> yalign::<float> ratio::<float> obey_child::<boolean>) (return <gtk-widget> "gtk_aspect_frame_new"))

;; gtk_aspect_frame_set
(define-cproc gtk-aspect-frame-set (aspect_frame::<gtk-aspect-frame> xalign::<float> yalign::<float> ratio::<float> obey_child::<boolean>) (return <void> "gtk_aspect_frame_set"))