~vcs-imports/gtk-vnc/trunk

« back to all changes in this revision

Viewing changes to src/vnc.defs

  • Committer: anthony@rhesus
  • Date: 2007-01-06 05:24:48 UTC
  • Revision ID: git-v1:1b37b85e6ab9f2c7660814051b1a6886f9a3290d
Reorganize repo and create a proper setup.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;; -*- scheme -*-
 
2
; object definitions ...
 
3
(define-object Display
 
4
  (in-module "Vnc")
 
5
  (parent "GtkDrawingArea")
 
6
  (c-name "VncDisplay")
 
7
  (gtype-id "VNC_TYPE_DISPLAY")
 
8
)
 
9
 
 
10
;; Enumerations and flags ...
 
11
 
 
12
 
 
13
;; From vncdisplay.h
 
14
 
 
15
(define-function vnc_display_get_type
 
16
  (c-name "vnc_display_get_type")
 
17
  (return-type "GType")
 
18
)
 
19
 
 
20
(define-function vnc_display_new
 
21
  (c-name "vnc_display_new")
 
22
  (is-constructor-of "VncDisplay")
 
23
  (return-type "GtkWidget*")
 
24
)
 
25
 
 
26
(define-method open
 
27
  (of-object "VncDisplay")
 
28
  (c-name "vnc_display_open")
 
29
  (return-type "none")
 
30
  (parameters
 
31
    '("int" "fd")
 
32
  )
 
33
)
 
34
 
 
35
(define-method set_password
 
36
  (of-object "VncDisplay")
 
37
  (c-name "vnc_display_set_password")
 
38
  (return-type "none")
 
39
  (parameters
 
40
    '("const-gchar*" "password")
 
41
  )
 
42
)
 
43
 
 
44