2006-09-26 21:58:54 +02:00
|
|
|
;; -*- scheme -*-
|
|
|
|
; object definitions ...
|
2006-10-12 15:49:11 +02:00
|
|
|
(define-object AddressEntry
|
|
|
|
(in-module "Sugar")
|
|
|
|
(parent "GtkEntry")
|
|
|
|
(c-name "SugarAddressEntry")
|
|
|
|
(gtype-id "SUGAR_TYPE_ADDRESS_ENTRY")
|
|
|
|
)
|
|
|
|
|
2006-10-13 01:04:01 +02:00
|
|
|
(define-object Browser
|
|
|
|
(in-module "Sugar")
|
|
|
|
(parent "GtkMozEmbed")
|
|
|
|
(c-name "SugarBrowser")
|
|
|
|
(gtype-id "SUGAR_TYPE_BROWSER")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object KeyGrabber
|
|
|
|
(in-module "Sugar")
|
|
|
|
(parent "GObject")
|
|
|
|
(c-name "SugarKeyGrabber")
|
|
|
|
(gtype-id "SUGAR_TYPE_KEY_GRABBER")
|
|
|
|
)
|
|
|
|
|
2006-09-26 21:58:54 +02:00
|
|
|
;; Enumerations and flags ...
|
|
|
|
|
|
|
|
|
2006-10-13 01:04:01 +02:00
|
|
|
;; From sugar-address-entry.h
|
2006-09-27 14:45:55 +02:00
|
|
|
|
2006-10-13 01:04:01 +02:00
|
|
|
(define-function sugar_address_entry_get_type
|
|
|
|
(c-name "sugar_address_entry_get_type")
|
2006-09-27 14:45:55 +02:00
|
|
|
(return-type "GType")
|
|
|
|
)
|
2006-09-26 21:58:54 +02:00
|
|
|
|
2006-10-13 01:04:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
;; From sugar-browser.h
|
|
|
|
|
|
|
|
(define-function sugar_browser_get_type
|
|
|
|
(c-name "sugar_browser_get_type")
|
|
|
|
(return-type "GType")
|
2006-09-26 21:58:54 +02:00
|
|
|
)
|
|
|
|
|
2006-10-13 01:04:01 +02:00
|
|
|
(define-function startup_browser
|
|
|
|
(c-name "sugar_browser_startup")
|
|
|
|
(return-type "none")
|
2006-09-27 14:45:55 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method create_window
|
2006-10-13 01:04:01 +02:00
|
|
|
(of-object "SugarBrowser")
|
|
|
|
(c-name "sugar_browser_create_window")
|
|
|
|
(return-type "SugarBrowser*")
|
2006-09-27 14:45:55 +02:00
|
|
|
)
|
2006-09-26 21:58:54 +02:00
|
|
|
|
2006-10-13 01:04:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
;; From sugar-key-grabber.h
|
2006-10-12 12:47:17 +02:00
|
|
|
|
|
|
|
(define-function sugar_key_grabber_get_type
|
|
|
|
(c-name "sugar_key_grabber_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method grab
|
|
|
|
(of-object "SugarKeyGrabber")
|
|
|
|
(c-name "sugar_key_grabber_grab")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-10-13 01:04:01 +02:00
|
|
|
'("const-char*" "key")
|
2006-10-12 12:47:17 +02:00
|
|
|
)
|
|
|
|
)
|
2006-10-13 01:04:01 +02:00
|
|
|
|
|
|
|
|