[maemo-commits] [maemo-commits] r8295 - in projects/haf/trunk/python-hildon: . defs examples examples/wip

From: www-data at stage.maemo.org www-data at stage.maemo.org
Date: Thu Nov 23 20:50:27 EET 2006
Author: luciano
Date: 2006-11-23 20:49:23 +0200 (Thu, 23 Nov 2006)
New Revision: 8295

Added:
   projects/haf/trunk/python-hildon/defs/hildon-app-private.defs
   projects/haf/trunk/python-hildon/defs/hildon-appview.defs
   projects/haf/trunk/python-hildon/defs/hildon-code-dialog.defs
   projects/haf/trunk/python-hildon/defs/hildon-color-chooser-button.defs
   projects/haf/trunk/python-hildon/defs/hildon-color-chooser-dialog.defs
   projects/haf/trunk/python-hildon/defs/hildon-color-chooser.defs
   projects/haf/trunk/python-hildon/defs/hildon-file-handling-note.defs
   projects/haf/trunk/python-hildon/defs/hildon-input-mode-hint.defs
   projects/haf/trunk/python-hildon/defs/hildon-plugin-widget.defs
   projects/haf/trunk/python-hildon/defs/hildon-system-sound.defs
   projects/haf/trunk/python-hildon/defs/hildon-window-private.defs
Removed:
   projects/haf/trunk/python-hildon/defs/hildon-base-dnotify.defs
   projects/haf/trunk/python-hildon/defs/hildon-base-types.defs
   projects/haf/trunk/python-hildon/defs/hildon-file-chooser-dialog.defs
   projects/haf/trunk/python-hildon/defs/hildon-file-details-dialog.defs
   projects/haf/trunk/python-hildon/defs/hildon-home-plugin-interface.defs
   projects/haf/trunk/python-hildon/defs/hildon-search.defs
Modified:
   projects/haf/trunk/python-hildon/defs/gtk-infoprint.defs
   projects/haf/trunk/python-hildon/defs/hildon-add-home-dialog.defs
   projects/haf/trunk/python-hildon/defs/hildon-app.defs
   projects/haf/trunk/python-hildon/defs/hildon-banner.defs
   projects/haf/trunk/python-hildon/defs/hildon-calendar-popup.defs
   projects/haf/trunk/python-hildon/defs/hildon-caption.defs
   projects/haf/trunk/python-hildon/defs/hildon-color-button.defs
   projects/haf/trunk/python-hildon/defs/hildon-color-popup.defs
   projects/haf/trunk/python-hildon/defs/hildon-color-selector.defs
   projects/haf/trunk/python-hildon/defs/hildon-controlbar.defs
   projects/haf/trunk/python-hildon/defs/hildon-date-editor.defs
   projects/haf/trunk/python-hildon/defs/hildon-defines.defs
   projects/haf/trunk/python-hildon/defs/hildon-dialoghelp.defs
   projects/haf/trunk/python-hildon/defs/hildon-find-toolbar.defs
   projects/haf/trunk/python-hildon/defs/hildon-font-selection-dialog.defs
   projects/haf/trunk/python-hildon/defs/hildon-get-password-dialog.defs
   projects/haf/trunk/python-hildon/defs/hildon-grid-item.defs
   projects/haf/trunk/python-hildon/defs/hildon-grid.defs
   projects/haf/trunk/python-hildon/defs/hildon-hvolumebar.defs
   projects/haf/trunk/python-hildon/defs/hildon-name-password-dialog.defs
   projects/haf/trunk/python-hildon/defs/hildon-note.defs
   projects/haf/trunk/python-hildon/defs/hildon-number-editor.defs
   projects/haf/trunk/python-hildon/defs/hildon-program.defs
   projects/haf/trunk/python-hildon/defs/hildon-range-editor.defs
   projects/haf/trunk/python-hildon/defs/hildon-scroll-area.defs
   projects/haf/trunk/python-hildon/defs/hildon-seekbar.defs
   projects/haf/trunk/python-hildon/defs/hildon-set-password-dialog.defs
   projects/haf/trunk/python-hildon/defs/hildon-sort-dialog.defs
   projects/haf/trunk/python-hildon/defs/hildon-telephone-editor.defs
   projects/haf/trunk/python-hildon/defs/hildon-time-editor.defs
   projects/haf/trunk/python-hildon/defs/hildon-time-picker.defs
   projects/haf/trunk/python-hildon/defs/hildon-volumebar.defs
   projects/haf/trunk/python-hildon/defs/hildon-vvolumebar.defs
   projects/haf/trunk/python-hildon/defs/hildon-weekday-picker.defs
   projects/haf/trunk/python-hildon/defs/hildon-window.defs
   projects/haf/trunk/python-hildon/defs/hildon-wizard-dialog.defs
   projects/haf/trunk/python-hildon/examples/hello-hildon.py
   projects/haf/trunk/python-hildon/examples/hildon-test.py
   projects/haf/trunk/python-hildon/examples/maemo-pad.py
   projects/haf/trunk/python-hildon/examples/wip/appwindow.py
   projects/haf/trunk/python-hildon/examples/wip/download.py
   projects/haf/trunk/python-hildon/examples/wip/pyhildon-demo.py
   projects/haf/trunk/python-hildon/hildon-types.h
   projects/haf/trunk/python-hildon/hildon.defs
   projects/haf/trunk/python-hildon/setup.py
Log:
Python hildon binding update

Modified: projects/haf/trunk/python-hildon/defs/gtk-infoprint.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/gtk-infoprint.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/gtk-infoprint.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -3,7 +3,7 @@
 ;; Enumerations and flags ...
 
 
-;; From /usr/include/hildon-widgets/gtk-infoprint.h
+;; From gtk-infoprint.h
 
 (define-function gtk_infoprint
   (c-name "gtk_infoprint")
@@ -34,15 +34,15 @@
   )
 )
 
-;(define-function gtk_infoprintf
-;  (c-name "gtk_infoprintf")
-;  (return-type "none")
-;  (parameters
-;    '("GtkWindow*" "parent")
-;    '("const-gchar*" "format")
-;  )
-;  (varargs #t)
-;)
+(define-function gtk_infoprintf
+  (c-name "gtk_infoprintf")
+  (return-type "none")
+  (parameters
+    '("GtkWindow*" "parent")
+    '("const-gchar*" "format")
+  )
+  (varargs #t)
+)
 
 (define-function gtk_infoprint_temporarily_disable_wrap
   (c-name "gtk_infoprint_temporarily_disable_wrap")

Modified: projects/haf/trunk/python-hildon/defs/hildon-add-home-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-add-home-dialog.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-add-home-dialog.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,3 +1,5 @@
+;; -*- scheme -*-
+; object definitions ...
 (define-object AddHomeDialog
   (in-module "Hildon")
   (parent "GtkDialog")
@@ -5,6 +7,11 @@
   (gtype-id "HILDON_TYPE_ADD_HOME_DIALOG")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-add-home-dialog.h
+
 (define-function hildon_add_home_dialog_get_type
   (c-name "hildon_add_home_dialog_get_type")
   (return-type "GType")

Added: projects/haf/trunk/python-hildon/defs/hildon-app-private.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-app-private.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-app-private.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -0,0 +1,8 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From hildon-app-private.h
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-app.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-app.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-app.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,21 +1,42 @@
-;;; HildonApp
-
+;; -*- scheme -*-
+; object definitions ...
 (define-object App
   (in-module "Hildon")
   (parent "GtkWindow")
   (c-name "HildonApp")
-  (gtype-id "HILDON_TYPE_APP"))
+  (gtype-id "HILDON_TYPE_APP")
+)
 
+;; Enumerations and flags ...
+
+;(define-enum ZoomLevel
+;  (in-module "Hildon")
+;  (c-name "HildonZoomLevel")
+;  (gtype-id "HILDON_TYPE_ZOOM_LEVEL")
+;  (values
+;    '("small" "HILDON_ZOOM_SMALL")
+;    '("medium" "HILDON_ZOOM_MEDIUM")
+;    '("large" "HILDON_ZOOM_LARGE")
+;  )
+;)
+
+
+;; From hildon-app.h
+
+;(define-function hildon_zoom_level_get_type
+;  (c-name "hildon_zoom_level_get_type")
+;  (return-type "GType")
+;)
+
+(define-function hildon_app_get_type
+  (c-name "hildon_app_get_type")
+  (return-type "GType")
+)
+
 (define-function hildon_app_new
   (c-name "hildon_app_new")
   (is-constructor-of "HildonApp")
   (return-type "GtkWidget*")
-  (properties
-    '("scroll-control" (optional))
-    '("two-part-title" (optional))
-    '("app-title" (optional))
-    '("killable" (optional))
-  )
 )
 
 (define-function hildon_app_new_with_appview
@@ -23,169 +44,159 @@
   (is-constructor-of "HildonApp")
   (return-type "GtkWidget*")
   (parameters
-    '("HildonAppView*" "appview")))
-	
+    '("HildonAppView*" "appview")
+  )
+)
+
 (define-method set_appview
   (of-object "HildonApp")
   (c-name "hildon_app_set_appview")
   (return-type "none")
   (parameters
-    '("HildonAppView*" "appview")))
+    '("HildonAppView*" "appview")
+  )
+)
 
 (define-method get_appview
   (of-object "HildonApp")
   (c-name "hildon_app_get_appview")
-  (return-type "HildonAppView*"))
+  (return-type "HildonAppView*")
+)
 
 (define-method set_title
   (of-object "HildonApp")
   (c-name "hildon_app_set_title")
   (return-type "none")
   (parameters
-    '("const-gchar*" "title")))
+    '("const-gchar*" "newtitle")
+  )
+)
 
 (define-method get_title
   (of-object "HildonApp")
   (c-name "hildon_app_get_title")
-  (return-type "const-gchar*"))
+  (return-type "const-gchar*")
+)
 
 ;(define-method set_zoom
 ;  (of-object "HildonApp")
 ;  (c-name "hildon_app_set_zoom")
 ;  (return-type "none")
 ;  (parameters
-;    '("HildonZoomLevel" "zoom")))
+;    '("HildonZoomLevel" "newzoom")
+;  )
+;)
+
 ;(define-method get_zoom
 ;  (of-object "HildonApp")
 ;  (c-name "hildon_app_get_zoom")
-;  (return-type "HildonZoomLevel"))
-;
-;(define-method get_default_font
-;  (of-object "HildonApp")
-;  (c-name "hildon_app_get_default_font")
-;  (return-type "PangoFontDescription*"))
-;
+;  (return-type "HildonZoomLevel")
+;)
+
+(define-method get_default_font
+  (of-object "HildonApp")
+  (c-name "hildon_app_get_default_font")
+  (return-type "PangoFontDescription*")
+)
+
 ;(define-method get_zoom_font
 ;  (of-object "HildonApp")
 ;  (c-name "hildon_app_get_zoom_font")
-;  (return-type "PangoFontDescription*"))
+;  (return-type "PangoFontDescription*")
+;)
 
 (define-method set_two_part_title
   (of-object "HildonApp")
   (c-name "hildon_app_set_two_part_title")
   (return-type "none")
   (parameters
-   '("gboolean" "istwoparttitle")))
+    '("gboolean" "istwoparttitle")
+  )
+)
 
 (define-method get_two_part_title
   (of-object "HildonApp")
   (c-name "hildon_app_get_two_part_title")
-  (return-type "gboolean"))
+  (return-type "gboolean")
+)
 
 (define-method set_autoregistration
   (of-object "HildonApp")
   (c-name "hildon_app_set_autoregistration")
   (return-type "none")
   (parameters
-   '("gboolean" "auto_reg")))
+    '("gboolean" "auto_reg")
+  )
+)
 
-(define-method set_killable
+(define-method register_view
   (of-object "HildonApp")
-  (c-name "hildon_app_set_killable")
+  (c-name "hildon_app_register_view")
   (return-type "none")
   (parameters
-   '("gboolean" "killability")))
+    '("gpointer" "view_ptr")
+  )
+)
 
-
-;;; HildonAppView
-
-(define-object AppView
-  (in-module "Hildon")
-  (parent "GtkBin")
-  (c-name "HildonAppView")
-  (gtype-id "HILDON_TYPE_APPVIEW"))
-
-(define-function hildon_appview_new
-  (c-name "hildon_appview_new")
-  (is-constructor-of "HildonAppView")
-  (return-type "GtkWidget*")
+(define-method register_view_with_id
+  (of-object "HildonApp")
+  (c-name "hildon_app_register_view_with_id")
+  (return-type "gboolean")
   (parameters
-    '("const-gchar*" "title" (null-ok))))
+    '("gpointer" "view_ptr")
+    '("unsigned-long" "view_id")
+  )
+)
 
-(define-method add_with_scrollbar
-  (of-object "HildonAppView")
-  (c-name "hildon_appview_add_with_scrollbar")
+(define-method unregister_view
+  (of-object "HildonApp")
+  (c-name "hildon_app_unregister_view")
   (return-type "none")
   (parameters
-   '("GtkWidget*" "child")))
+    '("gpointer" "view_ptr")
+  )
+)
 
-(define-method set_fullscreen_key_allowed
-  (of-object "HildonAppView")
-  (c-name "hildon_appview_set_fullscreen_key_allowed")
+(define-method unregister_view_with_id
+  (of-object "HildonApp")
+  (c-name "hildon_app_unregister_view_with_id")
   (return-type "none")
   (parameters
-   '("gboolean" "allow")))
+    '("unsigned-long" "view_id")
+  )
+)
 
-(define-method get_fullscreen_key_allowed
-  (of-object "HildonAppView")
-  (c-name "hildon_appview_get_fullscreen_key_allowed")
-  (return-type "gboolean"))
-
-(define-method set_fullscreen
-  (of-object "HildonAppView")
-  (c-name "hildon_appview_set_fullscreen")
+(define-method notify_view_changed
+  (of-object "HildonApp")
+  (c-name "hildon_app_notify_view_changed")
   (return-type "none")
   (parameters
-   '("gboolean" "fullscreen")))
+    '("gpointer" "view_ptr")
+  )
+)
 
-(define-method get_fullscreen
-  (of-object "HildonAppView")
-  (c-name "hildon_appview_get_fullscreen")
-  (return-type "gboolean"))
-
-(define-method get_menu
-  (of-object "HildonAppView")
-  (c-name "hildon_appview_get_menu")
-  (return-type "GtkMenu*"))
-
-(define-method set_title
-  (of-object "HildonAppView")
-  (c-name "hildon_appview_set_title")
+(define-method set_killable
+  (of-object "HildonApp")
+  (c-name "hildon_app_set_killable")
   (return-type "none")
   (parameters
-   '("const-gchar*" "newname")))
+    '("gboolean" "killability")
+  )
+)
 
-(define-method get_title
-  (of-object "HildonAppView")
-  (c-name "hildon_appview_get_title")
-  (return-type "const-gchar*"))
+;(define-method set_ui_manager
+;  (of-object "HildonApp")
+;  (c-name "hildon_app_set_ui_manager")
+;  (return-type "none")
+;  (parameters
+;    '("GtkUIManager*" "uim")
+;  )
+;)
 
-(define-method set_connected_adjustment
-  (of-object "HildonAppView")
-  (c-name "hildon_appview_set_connected_adjustment")
-  (return-type "none")
-  (parameters
-   '("GtkAdjustment*" "adjustment")))
+;(define-method get_ui_manager
+;  (of-object "HildonApp")
+;  (c-name "hildon_app_get_ui_manager")
+;  (return-type "GtkUIManager*")
+;)
 
-(define-method get_connected_adjustment
-  (of-object "HildonAppView")
-  (c-name "hildon_appview_get_connected_adjustment")
-  (return-type "GtkAdjustment*"))
 
-;(define-method set_toolbar
-;  (of-object "HildonAppView")
-;  (c-name "hildon_appview_set_toolbar")
-;  (return-type "none")
-;  (parameters
-;   '("GtkToolbar*" "toolbar")))
-;
-;(define-method get_toolbar
-;  (of-object "HildonAppView")
-;  (c-name "hildon_appview_get_toolbar")
-;  (return-type "GtkToolbar*"))
-
-(define-method get_vbox
-  (of-object "HildonAppView")
-  (c-name "hildon_appview_get_vbox")
-  (return-type "GtkWidget*")
-)

Added: projects/haf/trunk/python-hildon/defs/hildon-appview.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-appview.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-appview.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -0,0 +1,134 @@
+;; -*- scheme -*-
+; object definitions ...
+(define-object AppView
+  (in-module "Hildon")
+  (parent "GtkBin")
+  (c-name "HildonAppView")
+  (gtype-id "HILDON_TYPE_APPVIEW")
+)
+
+;; Enumerations and flags ...
+
+
+;; From hildon-appview.h
+
+(define-function hildon_appview_get_type
+  (c-name "hildon_appview_get_type")
+  (return-type "GType")
+)
+
+(define-function hildon_appview_new
+  (c-name "hildon_appview_new")
+  (is-constructor-of "HildonAppView")
+  (return-type "GtkWidget*")
+  (parameters
+    '("const-gchar*" "title" (null-ok))
+  )
+)
+
+(define-method add_with_scrollbar
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_add_with_scrollbar")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "child")
+  )
+)
+
+(define-method set_fullscreen_key_allowed
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_set_fullscreen_key_allowed")
+  (return-type "none")
+  (parameters
+    '("gboolean" "allow")
+  )
+)
+
+(define-method get_fullscreen_key_allowed
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_get_fullscreen_key_allowed")
+  (return-type "gboolean")
+)
+
+(define-method get_fullscreen
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_get_fullscreen")
+  (return-type "gboolean")
+)
+
+(define-method set_fullscreen
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_set_fullscreen")
+  (return-type "none")
+  (parameters
+    '("gboolean" "fullscreen")
+  )
+)
+
+(define-method get_menu
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_get_menu")
+  (return-type "GtkMenu*")
+)
+
+;(define-method set_toolbar
+;  (of-object "HildonAppView")
+;  (c-name "hildon_appview_set_toolbar")
+;  (return-type "none")
+;  (parameters
+;    '("GtkToolbar*" "toolbar")
+;  )
+;)
+
+;(define-method get_toolbar
+;  (of-object "HildonAppView")
+;  (c-name "hildon_appview_get_toolbar")
+;  (return-type "GtkToolbar*")
+;)
+
+(define-method set_title
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_set_title")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "newname")
+  )
+)
+
+(define-method get_title
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_get_title")
+  (return-type "const-gchar*")
+)
+
+(define-method set_connected_adjustment
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_set_connected_adjustment")
+  (return-type "none")
+  (parameters
+    '("GtkAdjustment*" "adjustment")
+  )
+)
+
+(define-method get_connected_adjustment
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_get_connected_adjustment")
+  (return-type "GtkAdjustment*")
+)
+
+(define-method set_menu_ui
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_set_menu_ui")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "ui_string")
+  )
+)
+
+(define-method get_menu_ui
+  (of-object "HildonAppView")
+  (c-name "hildon_appview_get_menu_ui")
+  (return-type "const-gchar*")
+)
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-banner.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-banner.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-banner.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -10,7 +10,7 @@
 ;; Enumerations and flags ...
 
 
-;; From /usr/include/hildon-widgets/hildon-banner.h
+;; From hildon-banner.h
 
 (define-function hildon_banner_get_type
   (c-name "hildon_banner_get_type")
@@ -27,6 +27,16 @@
   )
 )
 
+(define-function hildon_banner_show_information_with_markup
+  (c-name "hildon_banner_show_information_with_markup")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+    '("const-gchar*" "icon_name")
+    '("const-gchar*" "markup")
+  )
+)
+
 (define-function hildon_banner_show_animation
   (c-name "hildon_banner_show_animation")
   (return-type "GtkWidget*")
@@ -56,6 +66,15 @@
   )
 )
 
+(define-method set_markup
+  (of-object "HildonBanner")
+  (c-name "hildon_banner_set_markup")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "markup")
+  )
+)
+
 (define-method set_fraction
   (of-object "HildonBanner")
   (c-name "hildon_banner_set_fraction")

Deleted: projects/haf/trunk/python-hildon/defs/hildon-base-dnotify.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-base-dnotify.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-base-dnotify.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,46 +0,0 @@
-;; -*- scheme -*-
-; object definitions ...
-;; Enumerations and flags ...
-
-
-;; From /usr/include/hildon-base-lib/hildon-base-dnotify.h
-
-(define-function hildon_dnotify_handler_init
-  (c-name "hildon_dnotify_handler_init")
-  (return-type "hildon_return_t")
-)
-
-(define-function hildon_dnotify_set_cb
-  (c-name "hildon_dnotify_set_cb")
-  (return-type "hildon_return_t")
-  (parameters
-    '("hildon_dnotify_cb_f*" "func")
-    '("char*" "path")
-    '("gpointer" "data")
-  )
-)
-
-(define-function hildon_dnotify_remove_cb
-  (c-name "hildon_dnotify_remove_cb")
-  (return-type "hildon_return_t")
-  (parameters
-    '("char*" "path")
-  )
-)
-
-(define-function hildon_dnotify_remove_every_cb
-  (c-name "hildon_dnotify_remove_every_cb")
-  (return-type "hildon_return_t")
-)
-
-(define-function hildon_dnotify_handler_clear
-  (c-name "hildon_dnotify_handler_clear")
-  (return-type "hildon_return_t")
-)
-
-(define-function hildon_dnotify_check_run_callbacks
-  (c-name "hildon_dnotify_check_run_callbacks")
-  (return-type "hildon_return_t")
-)
-
-

Deleted: projects/haf/trunk/python-hildon/defs/hildon-base-types.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-base-types.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-base-types.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,27 +0,0 @@
-;; -*- scheme -*-
-; object definitions ...
-;; Enumerations and flags ...
-
-(define-enum return_t
-  (in-module "Hildon")
-  (c-name "hildon_return_t")
-  (gtype-id "HILDON_TYPE_HILDON_RETURN_T")
-  (values
-    '("err", "HILDON_ERR")
-    '("err-nomem", "HILDON_ERR_NOMEM") 
-  )
-)
-
-(define-enum boolean
-  (in-module "Hildon")
-  (c-name "hildon_boolean")
-  (gtype-id "HILDON_TYPE_HILDON_BOOLEAN")
-  (values
-    '("false", "HILDON_FALSE")
-    '("true", "HILDON_TRUE")
-  )
-)
-
-;; From /usr/include/hildon-base-lib/hildon-base-types.h
-
-

Modified: projects/haf/trunk/python-hildon/defs/hildon-calendar-popup.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-calendar-popup.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-calendar-popup.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object CalendarPopup
   (in-module "Hildon")
   (parent "GtkDialog")
@@ -6,6 +7,11 @@
   (gtype-id "HILDON_TYPE_CALENDAR_POPUP")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-calendar-popup.h
+
 (define-function hildon_calendar_popup_get_type
   (c-name "hildon_calendar_popup_get_type")
   (return-type "GType")

Modified: projects/haf/trunk/python-hildon/defs/hildon-caption.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-caption.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-caption.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,5 +1,3 @@
-;; TODO: /usr/bin/run-standalone.sh: line 11: 15629 Segmentation fault      (core dumped) $*
-;; Take a look at the solution done for hildon_file_chooser_dialog_new override, it may be the same case.
 ;; -*- scheme -*-
 ; object definitions ...
 (define-object Caption
@@ -22,16 +20,16 @@
 )
 
 
-;; From /usr/include/hildon-widgets/hildon-caption.h
+;; From hildon-caption.h
 
 (define-function hildon_caption_status_get_type
   (c-name "hildon_caption_status_get_type")
-  (return-type "const-GType")
+  (return-type "GType")
 )
 
 (define-function hildon_caption_get_type
   (c-name "hildon_caption_get_type")
-  (return-type "const-GType")
+  (return-type "GType")
 )
 
 (define-function hildon_caption_new
@@ -47,22 +45,21 @@
   )
 )
 
-; Deprecated
-;(define-method get_sizegroup
-;  (of-object "HildonCaption")
-;  (c-name "hildon_caption_get_sizegroup")
-;  (return-type "GtkSizeGroup*")
-;)
-;
-;(define-method set_sizegroup
-;  (of-object "HildonCaption")
-;  (c-name "hildon_caption_set_sizegroup")
-;  (return-type "none")
-;  (parameters
-;    '("GtkSizeGroup*" "new_group")
-;  )
-;)
+(define-method get_sizegroup
+  (of-object "HildonCaption")
+  (c-name "hildon_caption_get_sizegroup")
+  (return-type "GtkSizeGroup*")
+)
 
+(define-method set_sizegroup
+  (of-object "HildonCaption")
+  (c-name "hildon_caption_set_sizegroup")
+  (return-type "none")
+  (parameters
+    '("GtkSizeGroup*" "new_group")
+  )
+)
+
 (define-method is_mandatory
   (of-object "HildonCaption")
   (c-name "hildon_caption_is_mandatory")
@@ -144,22 +141,21 @@
   (return-type "gfloat")
 )
 
-; Deprecated
-;(define-method get_control
-;  (of-object "HildonCaption")
-;  (c-name "hildon_caption_get_control")
-;  (return-type "GtkWidget*")
-;)
-;
-;(define-method set_control
-;  (of-object "HildonCaption")
-;  (c-name "hildon_caption_set_control")
-;  (return-type "none")
-;  (parameters
-;    '("GtkWidget*" "control")
-;  )
-;)
+(define-method get_control
+  (of-object "HildonCaption")
+  (c-name "hildon_caption_get_control")
+  (return-type "GtkWidget*")
+)
 
+(define-method set_control
+  (of-object "HildonCaption")
+  (c-name "hildon_caption_set_control")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "control")
+  )
+)
+
 (define-method set_child_expand
   (of-object "HildonCaption")
   (c-name "hildon_caption_set_child_expand")

Added: projects/haf/trunk/python-hildon/defs/hildon-code-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-code-dialog.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-code-dialog.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -0,0 +1,47 @@
+;; -*- scheme -*-
+; object definitions ...
+(define-object CodeDialog
+  (in-module "Hildon")
+  (parent "GtkDialog")
+  (c-name "HildonCodeDialog")
+  (gtype-id "HILDON_TYPE_CODE_DIALOG")
+)
+
+;; Enumerations and flags ...
+
+
+;; From hildon-code-dialog.h
+
+(define-function hildon_code_dialog_get_type
+  (c-name "hildon_code_dialog_get_type")
+  (return-type "GType")
+)
+
+(define-function hildon_code_dialog_new
+  (c-name "hildon_code_dialog_new")
+  (is-constructor-of "HildonCodeDialog")
+  (return-type "GtkWidget*")
+)
+
+(define-method get_code
+  (of-object "HildonCodeDialog")
+  (c-name "hildon_code_dialog_get_code")
+  (return-type "const-gchar*")
+)
+
+(define-method clear_code
+  (of-object "HildonCodeDialog")
+  (c-name "hildon_code_dialog_clear_code")
+  (return-type "none")
+)
+
+(define-method set_help_text
+  (of-object "HildonCodeDialog")
+  (c-name "hildon_code_dialog_set_help_text")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "text")
+  )
+)
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-color-button.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-color-button.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-color-button.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object ColorButton
   (in-module "Hildon")
   (parent "GtkButton")
@@ -6,21 +7,27 @@
   (gtype-id "HILDON_TYPE_COLOR_BUTTON")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-color-button.h
+
+(define-function hildon_color_button_get_type
+  (c-name "hildon_color_button_get_type")
+  (return-type "GType")
+)
+
 (define-function hildon_color_button_new
   (c-name "hildon_color_button_new")
   (is-constructor-of "HildonColorButton")
-  (properties
-    '("color" (optional))
-  )
   (return-type "GtkWidget*")
 )
 
 (define-function hildon_color_button_new_with_color
   (c-name "hildon_color_button_new_with_color")
-  (is-constructor-of "HildonColorButton")
   (return-type "GtkWidget*")
   (parameters
-    '("GdkColor*" "color")
+    '("const-GdkColor*" "color")
   )
 )
 

Added: projects/haf/trunk/python-hildon/defs/hildon-color-chooser-button.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-color-chooser-button.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-color-chooser-button.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -0,0 +1,41 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From hildon-color-chooser-button.h
+
+(define-function hildon_color_chooser_button_get_type
+  (c-name "hildon_color_chooser_button_get_type")
+  (return-type "GtkType")
+  (parameters
+  )
+)
+
+(define-function hildon_color_chooser_button_new
+  (c-name "hildon_color_chooser_button_new")
+  (is-constructor-of "HildonColorChooserButton")
+  (return-type "GtkWidget*")
+  (parameters
+  )
+)
+
+(define-method set_color
+  (of-object "HildonColorChooserButton")
+  (c-name "hildon_color_chooser_button_set_color")
+  (return-type "none")
+  (parameters
+    '("GdkColor*" "color")
+  )
+)
+
+(define-method get_color
+  (of-object "HildonColorChooserButton")
+  (c-name "hildon_color_chooser_button_get_color")
+  (return-type "none")
+  (parameters
+    '("GdkColor*" "color")
+  )
+)
+
+

Added: projects/haf/trunk/python-hildon/defs/hildon-color-chooser-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-color-chooser-dialog.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-color-chooser-dialog.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -0,0 +1,47 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From hildon-color-chooser-dialog.h
+
+(define-function hildon_color_chooser_dialog_get_type
+  (c-name "hildon_color_chooser_dialog_get_type")
+  (return-type "GtkType")
+  (parameters
+  )
+)
+
+(define-function hildon_color_chooser_dialog_new
+  (c-name "hildon_color_chooser_dialog_new")
+  (is-constructor-of "HildonColorChooserDialog")
+  (return-type "GtkWidget*")
+  (parameters
+  )
+)
+
+(define-method set_color
+  (of-object "HildonColorChooserDialog")
+  (c-name "hildon_color_chooser_dialog_set_color")
+  (return-type "none")
+  (parameters
+    '("GdkColor*" "color")
+  )
+)
+
+(define-method get_color
+  (of-object "HildonColorChooserDialog")
+  (c-name "hildon_color_chooser_dialog_get_color")
+  (return-type "none")
+  (parameters
+    '("GdkColor*" "color")
+  )
+)
+
+(define-method emit_color_changed
+  (of-object "HildonColorChooserDialog")
+  (c-name "hildon_color_chooser_dialog_emit_color_changed")
+  (return-type "none")
+)
+
+

Added: projects/haf/trunk/python-hildon/defs/hildon-color-chooser.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-color-chooser.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-color-chooser.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -0,0 +1,43 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From hildon-color-chooser.h
+
+(define-function hildon_color_chooser_get_type
+  (c-name "hildon_color_chooser_get_type")
+  (return-type "GtkType")
+)
+
+(define-function hildon_color_chooser_new
+  (c-name "hildon_color_chooser_new")
+  (is-constructor-of "HildonColorChooser")
+  (return-type "GtkWidget*")
+)
+
+(define-method set_color
+  (of-object "HildonColorChooser")
+  (c-name "hildon_color_chooser_set_color")
+  (return-type "none")
+  (parameters
+    '("GdkColor*" "color")
+  )
+)
+
+(define-method get_color
+  (of-object "HildonColorChooser")
+  (c-name "hildon_color_chooser_get_color")
+  (return-type "none")
+  (parameters
+    '("GdkColor*" "color")
+  )
+)
+
+(define-method emit_color_changed
+  (of-object "HildonColorChooser")
+  (c-name "hildon_color_chooser_emit_color_changed")
+  (return-type "none")
+)
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-color-popup.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-color-popup.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-color-popup.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -3,7 +3,7 @@
 ;; Enumerations and flags ...
 
 
-;; From /usr/include/hildon-widgets/hildon-color-popup.h
+;; From hildon-color-popup.h
 
 (define-function hildon_color_popup_new
   (c-name "hildon_color_popup_new")
@@ -11,7 +11,7 @@
   (return-type "GtkWidget*")
   (parameters
     '("GtkWindow*" "parent")
-    '("GdkColor*" "initial_color")
+    '("const-GdkColor*" "initial_color")
     '("HildonColorPopup*" "popupdata")
   )
 )

Modified: projects/haf/trunk/python-hildon/defs/hildon-color-selector.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-color-selector.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-color-selector.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object ColorSelector
   (in-module "Hildon")
   (parent "GtkDialog")
@@ -6,11 +7,21 @@
   (gtype-id "HILDON_TYPE_COLOR_SELECTOR")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-color-selector.h
+
 (define-function hildon_color_selector_get_type
   (c-name "hildon_color_selector_get_type")
   (return-type "GType")
 )
 
+(define-function hildon_color_selector_get_type
+  (c-name "hildon_color_selector_get_type")
+  (return-type "GType")
+)
+
 (define-function hildon_color_selector_new
   (c-name "hildon_color_selector_new")
   (is-constructor-of "HildonColorSelector")
@@ -34,3 +45,5 @@
     '("GdkColor*" "color")
   )
 )
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-controlbar.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-controlbar.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-controlbar.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object Controlbar
   (in-module "Hildon")
   (parent "GtkScale")
@@ -6,6 +7,11 @@
   (gtype-id "HILDON_TYPE_CONTROLBAR")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-controlbar.h
+
 (define-function hildon_controlbar_get_type
   (c-name "hildon_controlbar_get_type")
   (return-type "GType")
@@ -14,11 +20,6 @@
 (define-function hildon_controlbar_new
   (c-name "hildon_controlbar_new")
   (is-constructor-of "HildonControlbar")
-  (properties
-    '("min" (optional))
-    '("max" (optional))
-    '("value" (optional))
-  )
   (return-type "GtkWidget*")
 )
 

Modified: projects/haf/trunk/python-hildon/defs/hildon-date-editor.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-date-editor.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-date-editor.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -14,6 +14,7 @@
   (c-name "HildonDateEditorErrorType")
   (gtype-id "HILDON_TYPE_DATE_EDITOR_ERROR_TYPE")
   (values
+    '("no-error" "NO_ERROR")
     '("max-day" "MAX_DAY")
     '("max-month" "MAX_MONTH")
     '("max-year" "MAX_YEAR")
@@ -28,7 +29,7 @@
 )
 
 
-;; From /usr/include/hildon-widgets/hildon-date-editor.h
+;; From hildon-date-editor.h
 
 (define-function hildon_date_editor_get_type
   (c-name "hildon_date_editor_get_type")
@@ -38,13 +39,6 @@
 (define-function hildon_date_editor_new
   (c-name "hildon_date_editor_new")
   (is-constructor-of "HildonDateEditor")
-  (properties
-    '("year" (optional))
-    '("month" (optional))
-    '("day" (optional))
-    '("min-year" (optional))
-    '("max-year" (optional))
-  )
   (return-type "GtkWidget*")
 )
 
@@ -70,4 +64,49 @@
   )
 )
 
+(define-method set_year
+  (of-object "HildonDateEditor")
+  (c-name "hildon_date_editor_set_year")
+  (return-type "gboolean")
+  (parameters
+    '("guint" "year")
+  )
+)
 
+(define-method set_month
+  (of-object "HildonDateEditor")
+  (c-name "hildon_date_editor_set_month")
+  (return-type "gboolean")
+  (parameters
+    '("guint" "month")
+  )
+)
+
+(define-method set_day
+  (of-object "HildonDateEditor")
+  (c-name "hildon_date_editor_set_day")
+  (return-type "gboolean")
+  (parameters
+    '("guint" "day")
+  )
+)
+
+(define-method get_year
+  (of-object "HildonDateEditor")
+  (c-name "hildon_date_editor_get_year")
+  (return-type "guint")
+)
+
+(define-method get_month
+  (of-object "HildonDateEditor")
+  (c-name "hildon_date_editor_get_month")
+  (return-type "guint")
+)
+
+(define-method get_day
+  (of-object "HildonDateEditor")
+  (c-name "hildon_date_editor_get_day")
+  (return-type "guint")
+)
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-defines.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-defines.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-defines.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -3,7 +3,7 @@
 ;; Enumerations and flags ...
 
 
-;; From /usr/include/hildon-widgets/hildon-defines.h
+;; From hildon-defines.h
 
 (define-function hildon_icon_sizes_init
   (c-name "hildon_icon_sizes_init")
@@ -15,7 +15,7 @@
   (return-type "gulong")
   (parameters
     '("GtkWidget*" "widget")
-    '("gchar*" "logicalfontname")
+    '("const-gchar*" "logicalfontname")
   )
 )
 
@@ -26,7 +26,7 @@
     '("GtkWidget*" "widget")
     '("GtkRcFlags" "rcflags")
     '("GtkStateType" "state")
-    '("gchar*" "logicalcolorname")
+    '("const-gchar*" "logicalcolorname")
   )
 )
 

Modified: projects/haf/trunk/python-hildon/defs/hildon-dialoghelp.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-dialoghelp.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-dialoghelp.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -3,7 +3,7 @@
 ;; Enumerations and flags ...
 
 
-;; From /usr/include/hildon-widgets/hildon-dialoghelp.h
+;; From hildon-dialoghelp.h
 
 (define-method help_enable
   (of-object "GtkDialog")

Deleted: projects/haf/trunk/python-hildon/defs/hildon-file-chooser-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-file-chooser-dialog.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-file-chooser-dialog.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,76 +0,0 @@
-;;
-(define-object FileChooserDialog
-  (in-module "Hildon")
-  (parent "GtkDialog")
-  (c-name "HildonFileChooserDialog")
-  (gtype-id "HILDON_TYPE_FILE_CHOOSER_DIALOG")
-)
-
-(define-function hildon_file_chooser_dialog_new
-  (c-name "hildon_file_chooser_dialog_new")
-  (is-constructor-of "HildonFileChooserDialog")
-  (return-type "GtkWidget*")
-  (properties
-    '("empty-text" (optional))
-    '("file-system-model" (optional))
-    '("show-folder-button" (optional))
-    '("show-location" (optional))
-    '("autonaming" (optional))
-    '("open-button-text" (optional))
-    '("save-multiple" (optional))
-    '("max-name-length" (optional))
-    '("max-full-path-length" (optional))
-  )
-  (parameters
-    '("GtkWindow*" "parent")
-    '("GtkFileChooserAction" "action")
-  )
-)
-
-(define-function hildon_file_chooser_dialog_new_with_properties
-  (c-name "hildon_file_chooser_dialog_new_with_properties")
-  (is-constructor-of "HildonFileChooserDialog")
-  (return-type "GtkWidget*")
-  (parameters
-    '("GtkWindow*" "parent")
-    '("const-gchar*" "first_property")
-  )
-  (varargs #t)
-)
-
-(define-method set_safe_folder
-  (of-object "HildonFileChooserDialog")
-  (c-name "hildon_file_chooser_dialog_set_safe_folder")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "local_path")
-  )
-)
-
-(define-method set_safe_folder_uri
-  (of-object "HildonFileChooserDialog")
-  (c-name "hildon_file_chooser_dialog_set_safe_folder_uri")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "uri")
-  )
-)
-
-(define-method get_safe_folder
-  (of-object "HildonFileChooserDialog")
-  (c-name "hildon_file_chooser_dialog_get_safe_folder")
-  (return-type "gchar*")
-)
-
-(define-method get_safe_folder_uri
-  (of-object "HildonFileChooserDialog")
-  (c-name "hildon_file_chooser_dialog_get_safe_folder_uri")
-  (return-type "gchar*")
-)
-
-(define-method get_filename
-  (of-object "HildonFileChooserDialog")
-  (c-name "hildon_file_chooser_dialog_get_filename")
-  (return-type "gchar*")
-)
-

Deleted: projects/haf/trunk/python-hildon/defs/hildon-file-details-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-file-details-dialog.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-file-details-dialog.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,42 +0,0 @@
-;;
-(define-object FileDetailsDialog
-  (in-module "Hildon")
-  (parent "GtkDialog")
-  (c-name "HildonFileDetailsDialog")
-  (gtype-id "HILDON_TYPE_FILE_DETAILS_DIALOG")
-)
-
-(define-function hildon_file_details_dialog_get_type
-  (c-name "hildon_file_details_dialog_get_type")
-  (return-type "GType")
-)
-
-(define-function hildon_file_details_dialog_new
-  (c-name "hildon_file_details_dialog_new")
-  (is-constructor-of "HildonFileDetailsDialog")
-  (return-type "GtkWidget*")
-  (parameters
-    '("GtkWindow*" "parent")
-    '("const-gchar*" "filename")
-  )
-)
-
-(define-method set_file_iter
-  (of-object "HildonFileDetailsDialog")
-  (c-name "hildon_file_details_dialog_set_file_iter")
-  (return-type "none")
-  (parameters
-    '("GtkTreeIter*" "iter")
-  )
-)
-
-(define-method get_file_iter
-  (of-object "HildonFileDetailsDialog")
-  (c-name "hildon_file_details_dialog_get_file_iter")
-  (return-type "gboolean")
-  (parameters
-    '("GtkTreeIter*" "iter")
-  )
-)
-
-

Added: projects/haf/trunk/python-hildon/defs/hildon-file-handling-note.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-file-handling-note.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-file-handling-note.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -0,0 +1,81 @@
+;; -*- scheme -*-
+; object definitions ...
+(define-object FileHandlingNote
+  (in-module "Hildon")
+  (parent "HildonNote")
+  (c-name "HildonFileHandlingNote")
+  (gtype-id "HILDON_TYPE_FILE_HANDLING_NOTE")
+)
+
+;; Enumerations and flags ...
+
+
+;; From hildon-file-handling-note.h
+
+(define-function hildon_file_handling_note_new_moving
+  (c-name "hildon_file_handling_note_new_moving")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+  )
+)
+
+(define-function hildon_file_handling_note_new_deleting
+  (c-name "hildon_file_handling_note_new_deleting")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+  )
+)
+
+(define-function hildon_file_handling_note_new_opening
+  (c-name "hildon_file_handling_note_new_opening")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+  )
+)
+
+(define-function hildon_file_handling_note_new_saving
+  (c-name "hildon_file_handling_note_new_saving")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+  )
+)
+
+(define-method set_fraction
+  (of-object "HildonFileHandlingNote")
+  (c-name "hildon_file_handling_note_set_fraction")
+  (return-type "none")
+  (parameters
+    '("gfloat" "frac")
+  )
+)
+
+(define-method set_counter_and_name
+  (of-object "HildonFileHandlingNote")
+  (c-name "hildon_file_handling_note_set_counter_and_name")
+  (return-type "none")
+  (parameters
+    '("guint" "current")
+    '("guint" "maximum")
+    '("const-gchar*" "name")
+  )
+)
+
+(define-method set_name
+  (of-object "HildonFileHandlingNote")
+  (c-name "hildon_file_handling_note_set_name")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "name")
+  )
+)
+
+(define-function hildon_file_handling_note_get_type
+  (c-name "hildon_file_handling_note_get_type")
+  (return-type "GType")
+)
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-find-toolbar.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-find-toolbar.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-find-toolbar.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,3 +1,5 @@
+;; -*- scheme -*-
+; object definitions ...
 (define-object FindToolbar
   (in-module "Hildon")
   (parent "GtkToolbar")
@@ -5,15 +7,35 @@
   (gtype-id "HILDON_TYPE_FIND_TOOLBAR")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-find-toolbar.h
+
+(define-function hildon_find_toolbar_get_type
+  (c-name "hildon_find_toolbar_get_type")
+  (return-type "GType")
+)
+
 (define-function hildon_find_toolbar_new
   (c-name "hildon_find_toolbar_new")
   (is-constructor-of "HildonFindToolbar")
   (return-type "GtkWidget*")
   (parameters
-    '("gchar*" "label")
+    '("const-gchar*" "label")
   )
 )
 
+(define-function hildon_find_toolbar_new_with_model
+  (c-name "hildon_find_toolbar_new_with_model")
+  (return-type "GtkWidget*")
+  (parameters
+    '("const-gchar*" "label")
+    '("GtkListStore*" "model")
+    '("gint" "column")
+  )
+)
+
 (define-method highlight_entry
   (of-object "HildonFindToolbar")
   (c-name "hildon_find_toolbar_highlight_entry")
@@ -22,3 +44,5 @@
     '("gboolean" "get_focus")
   )
 )
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-font-selection-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-font-selection-dialog.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-font-selection-dialog.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object FontSelectionDialog
   (in-module "Hildon")
   (parent "GtkDialog")
@@ -6,6 +7,26 @@
   (gtype-id "HILDON_TYPE_FONT_SELECTION_DIALOG")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-font-selection-dialog.h
+
+(define-method get_font
+  (of-object "HildonFontSelectionDialog")
+  (c-name "hildon_font_selection_dialog_get_font")
+  (return-type "PangoAttrList*")
+)
+
+(define-method set_font
+  (of-object "HildonFontSelectionDialog")
+  (c-name "hildon_font_selection_dialog_set_font")
+  (return-type "none")
+  (parameters
+    '("PangoAttrList*" "list")
+  )
+)
+
 (define-function hildon_font_selection_dialog_get_type
   (c-name "hildon_font_selection_dialog_get_type")
   (return-type "GType")
@@ -21,6 +42,21 @@
   )
 )
 
+(define-method set_buffer
+  (of-object "HildonFontSelectionDialog")
+  (c-name "hildon_font_selection_dialog_set_buffer")
+  (return-type "none")
+  (parameters
+    '("GtkTextBuffer*" "buffer")
+  )
+)
+
+(define-method get_text_tag
+  (of-object "HildonFontSelectionDialog")
+  (c-name "hildon_font_selection_dialog_get_text_tag")
+  (return-type "GtkTextTag*")
+)
+
 (define-method get_preview_text
   (of-object "HildonFontSelectionDialog")
   (c-name "hildon_font_selection_dialog_get_preview_text")

Modified: projects/haf/trunk/python-hildon/defs/hildon-get-password-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-get-password-dialog.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-get-password-dialog.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -10,43 +10,48 @@
 ;; Enumerations and flags ...
 
 
-;; From /usr/include/hildon-widgets/hildon-get-password-dialog.h
+;; From hildon-get-password-dialog.h
 
+(define-function hildon_get_password_dialog_get_type
+  (c-name "hildon_get_password_dialog_get_type")
+  (return-type "GType")
+)
+
 (define-function hildon_get_password_dialog_new
   (c-name "hildon_get_password_dialog_new")
   (is-constructor-of "HildonGetPasswordDialog")
   (return-type "GtkWidget*")
   (parameters
     '("GtkWindow*" "parent")
-    '("gboolean" "get_old_password_title")
+    '("gboolean" "get_old")
   )
 )
 
+(define-function hildon_get_password_dialog_new_with_default
+  (c-name "hildon_get_password_dialog_new_with_default")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+    '("const-gchar*" "password")
+    '("gboolean" "get_old")
+  )
+)
+
 (define-method set_domain
   (of-object "HildonGetPasswordDialog")
   (c-name "hildon_get_password_dialog_set_domain")
   (return-type "none")
   (parameters
-    '("gchar*" "domain")
+    '("const-gchar*" "domain")
   )
 )
 
-; Deprecated
-;(define-method set_title
-;  (of-object "HildonGetPasswordDialog")
-;  (c-name "hildon_get_password_dialog_set_title")
-;  (return-type "none")
-;  (parameters
-;    '("gchar*" "new_title")
-;  )
-;)
-
 (define-method set_caption
   (of-object "HildonGetPasswordDialog")
   (c-name "hildon_get_password_dialog_set_caption")
   (return-type "none")
   (parameters
-    '("gchar*" "new_caption")
+    '("const-gchar*" "new_caption")
   )
 )
 
@@ -65,4 +70,13 @@
   (return-type "const-gchar*")
 )
 
+(define-method set_title
+  (of-object "HildonGetPasswordDialog")
+  (c-name "hildon_get_password_dialog_set_title")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "new_title")
+  )
+)
 
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-grid-item.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-grid-item.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-grid-item.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object GridItem
   (in-module "Hildon")
   (parent "GtkContainer")
@@ -6,6 +7,8 @@
   (gtype-id "HILDON_TYPE_GRID_ITEM")
 )
 
+;; Enumerations and flags ...
+
 (define-enum GridPositionType
   (in-module "Hildon")
   (c-name "HildonGridPositionType")
@@ -26,9 +29,25 @@
   )
 )
 
+
+;; From hildon-grid-item.h
+
+(define-function hildon_grid_item_get_type
+  (c-name "hildon_grid_item_get_type")
+  (return-type "GType")
+)
+
+(define-function hildon_grid_item_new
+  (c-name "hildon_grid_item_new")
+  (is-constructor-of "HildonGridItem")
+  (return-type "GtkWidget*")
+  (parameters
+    '("const-gchar*" "icon_basename")
+  )
+)
+
 (define-function hildon_grid_item_new_with_label
   (c-name "hildon_grid_item_new_with_label")
-  (is-constructor-of "HildonGridItem")
   (return-type "GtkWidget*")
   (parameters
     '("const-gchar*" "icon_basename")
@@ -51,4 +70,13 @@
   (return-type "const-gchar*")
 )
 
+(define-method set_label
+  (of-object "HildonGridItem")
+  (c-name "hildon_grid_item_set_label")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "label")
+  )
+)
 
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-grid.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-grid.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-grid.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object Grid
   (in-module "Hildon")
   (parent "GtkContainer")
@@ -6,6 +7,11 @@
   (gtype-id "HILDON_TYPE_GRID")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-grid.h
+
 (define-function hildon_grid_get_type
   (c-name "hildon_grid_get_type")
   (return-type "GType")
@@ -15,19 +21,6 @@
   (c-name "hildon_grid_new")
   (is-constructor-of "HildonGrid")
   (return-type "GtkWidget*")
-  (properties
-    '("empty-label" (argname "empty_label") (optional))
-    '("item-width" (argname "item_width") (optional))
-    '("item-height" (argname "item_height") (optional))
-    '("item-hspacing" (argname "item_hspacing") (optional))
-    '("item-vspacing" (argname "item_vspacing") (optional))
-    '("label-hspacing" (argname "label_hspacing") (optional))
-    '("label-vspacing" (argname "label_vspacing") (optional))
-    '("n-columns" (argname "n_columns") (optional))
-    '("label-pos" (argname "label_pos") (optional))
-    '("icon-size" (argname "icon_size") (optional))
-    '("emblem-size" (argname "emblem_size") (optional))
-  )
 )
 
 (define-method set_style
@@ -68,3 +61,5 @@
     '("HildonGridItem*" "item")
   )
 )
+
+

Deleted: projects/haf/trunk/python-hildon/defs/hildon-home-plugin-interface.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-home-plugin-interface.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-home-plugin-interface.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,63 +0,0 @@
-;; TODO
-(define-function hildon_home_applet_lib_initialize
-  (c-name "hildon_home_applet_lib_initialize")
-  (return-type "void*")
-  (parameters
-    '("void*" "state_data")
-    '("int*" "state_size")
-    '("GtkWidget**" "widget")
-  )
-)
-
-(define-function hildon_home_applet_lib_get_requested_width
-  (c-name "hildon_home_applet_lib_get_requested_width")
-  (return-type "int")
-  (parameters
-    '("void*" "applet_data")
-  )
-)
-
-(define-function hildon_home_applet_lib_save_state
-  (c-name "hildon_home_applet_lib_save_state")
-  (return-type "int")
-  (parameters
-    '("void*" "applet_data")
-    '("void**" "state_data")
-    '("int*" "state_size")
-  )
-)
-
-(define-function hildon_home_applet_lib_background
-  (c-name "hildon_home_applet_lib_background")
-  (return-type "none")
-  (parameters
-    '("void*" "applet_data")
-  )
-)
-
-(define-function hildon_home_applet_lib_foreground
-  (c-name "hildon_home_applet_lib_foreground")
-  (return-type "none")
-  (parameters
-    '("void*" "applet_data")
-  )
-)
-
-(define-function hildon_home_applet_lib_deinitialize
-  (c-name "hildon_home_applet_lib_deinitialize")
-  (return-type "none")
-  (parameters
-    '("void*" "applet_data")
-  )
-)
-
-(define-function hildon_home_applet_lib_properties
-  (c-name "hildon_home_applet_lib_properties")
-  (return-type "GtkWidget*")
-  (parameters
-    '("void*" "applet_data")
-    '("GtkWindow*" "parent")
-  )
-)
-
-

Modified: projects/haf/trunk/python-hildon/defs/hildon-hvolumebar.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-hvolumebar.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-hvolumebar.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -10,7 +10,7 @@
 ;; Enumerations and flags ...
 
 
-;; From /usr/include/hildon-widgets/hildon-hvolumebar.h
+;; From hildon-hvolumebar.h
 
 (define-function hildon_hvolumebar_get_type
   (c-name "hildon_hvolumebar_get_type")

Added: projects/haf/trunk/python-hildon/defs/hildon-input-mode-hint.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-input-mode-hint.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-input-mode-hint.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -0,0 +1,26 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+;(define-enum InputModeHint
+;  (in-module "Hildon")
+;  (c-name "HildonInputModeHint")
+;  (gtype-id "HILDON_TYPE_INPUT_MODE_HINT")
+;  (values
+;    '("alphanumericspecial" "HILDON_INPUT_MODE_HINT_ALPHANUMERICSPECIAL")
+;    '("numeric" "HILDON_INPUT_MODE_HINT_NUMERIC")
+;    '("alpha" "HILDON_INPUT_MODE_HINT_ALPHA")
+;    '("numericspecial" "HILDON_INPUT_MODE_HINT_NUMERICSPECIAL")
+;    '("alphaspecial" "HILDON_INPUT_MODE_HINT_ALPHASPECIAL")
+;    '("alphanumeric" "HILDON_INPUT_MODE_HINT_ALPHANUMERIC")
+;    '("hexa" "HILDON_INPUT_MODE_HINT_HEXA")
+;    '("hexaspecial" "HILDON_INPUT_MODE_HINT_HEXASPECIAL")
+;    '("tele" "HILDON_INPUT_MODE_HINT_TELE")
+;    '("telespecial" "HILDON_INPUT_MODE_HINT_TELESPECIAL")
+;  )
+;)
+
+
+;; From hildon-input-mode-hint.h
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-name-password-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-name-password-dialog.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-name-password-dialog.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;; TODO: add properties
+;; -*- scheme -*-
+; object definitions ...
 (define-object NamePasswordDialog
   (in-module "Hildon")
   (parent "GtkDialog")
@@ -6,6 +7,16 @@
   (gtype-id "HILDON_TYPE_NAME_PASSWORD_DIALOG")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-name-password-dialog.h
+
+(define-function hildon_name_password_dialog_get_type
+  (c-name "hildon_name_password_dialog_get_type")
+  (return-type "GType")
+)
+
 (define-function hildon_name_password_dialog_new
   (c-name "hildon_name_password_dialog_new")
   (is-constructor-of "HildonNamePasswordDialog")
@@ -15,6 +26,16 @@
   )
 )
 
+(define-function hildon_name_password_dialog_new_with_default
+  (c-name "hildon_name_password_dialog_new_with_default")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+    '("const-gchar*" "name")
+    '("const-gchar*" "pass")
+  )
+)
+
 (define-method get_name
   (of-object "HildonNamePasswordDialog")
   (c-name "hildon_name_password_dialog_get_name")
@@ -32,6 +53,8 @@
   (c-name "hildon_name_password_dialog_set_domain")
   (return-type "none")
   (parameters
-    '("gchar*" "domain")
+    '("const-gchar*" "domain")
   )
 )
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-note.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-note.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-note.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;; TODO: verify other contructors
+;; -*- scheme -*-
+; object definitions ...
 (define-object Note
   (in-module "Hildon")
   (parent "GtkDialog")
@@ -6,10 +7,26 @@
   (gtype-id "HILDON_TYPE_NOTE")
 )
 
-; There is no "hildon_note_new" function. That declaration is here just to be overrided.
-(define-function hildon_note_new
-  (c-name "hildon_note_new")
-  (is-constructor-of "HildonNote")
+;; Enumerations and flags ...
+
+;(define-enum NoteType
+;  (in-module "Hildon")
+;  (c-name "HildonNoteType")
+;  (gtype-id "HILDON_TYPE_NOTE_TYPE")
+;  (values
+;    '("confirmation-type" "HILDON_NOTE_CONFIRMATION_TYPE")
+;    '("confirmation-button-type" "HILDON_NOTE_CONFIRMATION_BUTTON_TYPE")
+;    '("information-type" "HILDON_NOTE_INFORMATION_TYPE")
+;    '("information-theme-type" "HILDON_NOTE_INFORMATION_THEME_TYPE")
+;    '("progressbar-type" "HILDON_NOTE_PROGRESSBAR_TYPE")
+;  )
+;)
+
+
+;; From hildon-note.h
+
+(define-function hildon_note_new_confirmation
+  (c-name "hildon_note_new_confirmation")
   (return-type "GtkWidget*")
   (parameters
     '("GtkWindow*" "parent")
@@ -17,6 +34,85 @@
   )
 )
 
+(define-function hildon_note_new_confirmation_add_buttons
+  (c-name "hildon_note_new_confirmation_add_buttons")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+    '("const-gchar*" "description")
+  )
+  (varargs #t)
+)
+
+;(define-function hildon_note_new_confirmation_with_icon_stock
+;  (c-name "hildon_note_new_confirmation_with_icon_stock")
+;  (return-type "GtkWidget*")
+;  (parameters
+;    '("GtkWindow*" "parent")
+;    '("const-gchar*" "description")
+;    '("const-gchar*" "stock_id")
+;  )
+;)
+
+(define-function hildon_note_new_confirmation_with_icon_name
+  (c-name "hildon_note_new_confirmation_with_icon_name")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+    '("const-gchar*" "description")
+    '("const-gchar*" "icon_name")
+  )
+)
+
+(define-function hildon_note_new_cancel_with_progress_bar
+  (c-name "hildon_note_new_cancel_with_progress_bar")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+    '("const-gchar*" "description")
+    '("GtkProgressBar*" "progressbar")
+  )
+)
+
+(define-function hildon_note_new_information
+  (c-name "hildon_note_new_information")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+    '("const-gchar*" "description")
+  )
+)
+
+(define-function hildon_note_new_information_with_icon_name
+  (c-name "hildon_note_new_information_with_icon_name")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+    '("const-gchar*" "description")
+    '("const-gchar*" "icon_name")
+  )
+)
+
+;(define-function hildon_note_new_information_with_icon_stock
+;  (c-name "hildon_note_new_information_with_icon_stock")
+;  (return-type "GtkWidget*")
+;  (parameters
+;    '("GtkWindow*" "parent")
+;    '("const-gchar*" "description")
+;    '("const-gchar*" "stock_id")
+;  )
+;)
+
+;(define-function hildon_note_new_information_with_icon_theme
+;  (c-name "hildon_note_new_information_with_icon_theme")
+;  (return-type "GtkWidget*")
+;  (parameters
+;    '("GtkWindow*" "parent")
+;    '("const-gchar*" "description")
+;    '("const-gchar*" "icon")
+;  )
+;)
+
 (define-method set_button_text
   (of-object "HildonNote")
   (c-name "hildon_note_set_button_text")
@@ -40,3 +136,10 @@
   (c-name "hildon_note_get_type")
   (return-type "GType")
 )
+
+(define-function hildon_note_type_get_type
+  (c-name "hildon_note_type_get_type")
+  (return-type "GType")
+)
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-number-editor.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-number-editor.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-number-editor.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object NumberEditor
   (in-module "Hildon")
   (parent "GtkContainer")
@@ -6,6 +7,22 @@
   (gtype-id "HILDON_TYPE_NUMBER_EDITOR")
 )
 
+;; Enumerations and flags ...
+
+(define-enum NumberEditorErrorType
+  (in-module "Hildon")
+  (c-name "HildonNumberEditorErrorType")
+  (gtype-id "HILDON_TYPE_NUMBER_EDITOR_ERROR_TYPE")
+  (values
+    '("maximum-value-exceed" "MAXIMUM_VALUE_EXCEED")
+    '("minimum-value-exceed" "MINIMUM_VALUE_EXCEED")
+    '("erroneous-value" "ERRONEOUS_VALUE")
+  )
+)
+
+
+;; From hildon-number-editor.h
+
 (define-function hildon_number_editor_get_type
   (c-name "hildon_number_editor_get_type")
   (return-type "GType")
@@ -46,3 +63,4 @@
   )
 )
 
+

Added: projects/haf/trunk/python-hildon/defs/hildon-plugin-widget.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-plugin-widget.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-plugin-widget.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -0,0 +1,33 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From hildon-plugin-widget.h
+
+(define-function hildon_plugin_info_initialize
+  (c-name "hildon_plugin_info_initialize")
+  (return-type "HildonPluginWidgetInfo*")
+  (parameters
+    '("GType" "base_type")
+    '("const-gchar*" "name")
+  )
+)
+
+(define-function hildon_plugin_info_construct_widget
+  (c-name "hildon_plugin_info_construct_widget")
+  (return-type "GtkWidget*")
+  (parameters
+    '("HildonPluginWidgetInfo*" "info")
+  )
+)
+
+(define-function hildon_plugin_info_kill
+  (c-name "hildon_plugin_info_kill")
+  (return-type "none")
+  (parameters
+    '("HildonPluginWidgetInfo*" "info")
+  )
+)
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-program.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-program.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-program.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -10,7 +10,7 @@
 ;; Enumerations and flags ...
 
 
-;; From /usr/include/hildon-widgets/hildon-program.h
+;; From hildon-program.h
 
 (define-function hildon_program_get_type
   (c-name "hildon_program_get_type")

Modified: projects/haf/trunk/python-hildon/defs/hildon-range-editor.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-range-editor.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-range-editor.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;; TODO: verify other constructors
+;; -*- scheme -*-
+; object definitions ...
 (define-object RangeEditor
   (in-module "Hildon")
   (parent "GtkContainer")
@@ -6,6 +7,24 @@
   (gtype-id "HILDON_TYPE_RANGE_EDITOR")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-range-editor.h
+
+(define-function hildon_range_editor_get_type
+  (c-name "hildon_range_editor_get_type")
+  (return-type "GType")
+)
+
+(define-function hildon_range_editor_new_with_separator
+  (c-name "hildon_range_editor_new_with_separator")
+  (return-type "GtkWidget*")
+  (parameters
+    '("const-gchar*" "separator")
+  )
+)
+
 (define-function hildon_range_editor_new
   (c-name "hildon_range_editor_new")
   (is-constructor-of "HildonRangeEditor")
@@ -116,3 +135,5 @@
   (c-name "hildon_range_editor_get_separator")
   (return-type "const-gchar*")
 )
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-scroll-area.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-scroll-area.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-scroll-area.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -3,7 +3,7 @@
 ;; Enumerations and flags ...
 
 
-;; From /usr/include/hildon-widgets/hildon-scroll-area.h
+;; From hildon-scroll-area.h
 
 (define-function hildon_scroll_area_new
   (c-name "hildon_scroll_area_new")

Deleted: projects/haf/trunk/python-hildon/defs/hildon-search.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-search.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-search.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,32 +0,0 @@
-;;
-(define-object Search
-  (in-module "Hildon")
-  (parent "GtkBin")
-  (c-name "HildonSearch")
-  (gtype-id "HILDON_TYPE_SEARCH")
-)
-
-(define-function hildon_search_get_type
-  (c-name "hildon_search_get_type")
-  (return-type "GType")
-)
-
-(define-function hildon_search_new
-  (c-name "hildon_search_new")
-  (is-constructor-of "HildonSearch")
-  (return-type "GtkWidget*")
-  (parameters
-    '("const-gchar*" "image")
-  )
-)
-
-(define-method set_image_stock
-  (of-object "HildonSearch")
-  (c-name "hildon_search_set_image_stock")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "stock_icon")
-  )
-)
-
-

Modified: projects/haf/trunk/python-hildon/defs/hildon-seekbar.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-seekbar.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-seekbar.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object Seekbar
   (in-module "Hildon")
   (parent "GtkScale")
@@ -6,6 +7,11 @@
   (gtype-id "HILDON_TYPE_SEEKBAR")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-seekbar.h
+
 (define-function hildon_seekbar_get_type
   (c-name "hildon_seekbar_get_type")
   (return-type "GType")
@@ -15,11 +21,6 @@
   (c-name "hildon_seekbar_new")
   (is-constructor-of "HildonSeekbar")
   (return-type "GtkWidget*")
-  (properties
-    '("total-time" (argname "total_time") (optional))
-    '("position" (optional))
-    '("fraction" (optional))
-  )
 )
 
 (define-method get_total_time

Modified: projects/haf/trunk/python-hildon/defs/hildon-set-password-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-set-password-dialog.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-set-password-dialog.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;; TODO: verify other constructors
+;; -*- scheme -*-
+; object definitions ...
 (define-object SetPasswordDialog
   (in-module "Hildon")
   (parent "GtkDialog")
@@ -6,6 +7,11 @@
   (gtype-id "HILDON_TYPE_SET_PASSWORD_DIALOG")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-set-password-dialog.h
+
 (define-function hildon_set_password_dialog_new
   (c-name "hildon_set_password_dialog_new")
   (is-constructor-of "HildonSetPasswordDialog")
@@ -16,6 +22,21 @@
   )
 )
 
+(define-function hildon_set_password_dialog_new_with_default
+  (c-name "hildon_set_password_dialog_new_with_default")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+    '("const-gchar*" "password")
+    '("gboolean" "modify_protection")
+  )
+)
+
+(define-function hildon_set_password_dialog_get_type
+  (c-name "hildon_set_password_dialog_get_type")
+  (return-type "GType")
+)
+
 (define-method get_password
   (of-object "HildonSetPasswordDialog")
   (c-name "hildon_set_password_dialog_get_password")
@@ -33,6 +54,8 @@
   (c-name "hildon_set_password_dialog_set_domain")
   (return-type "none")
   (parameters
-    '("gchar*" "domain")
+    '("const-gchar*" "domain")
   )
 )
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-sort-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-sort-dialog.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-sort-dialog.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object SortDialog
   (in-module "Hildon")
   (parent "GtkDialog")
@@ -6,6 +7,11 @@
   (gtype-id "HILDON_TYPE_SORT_DIALOG")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-sort-dialog.h
+
 (define-function hildon_sort_dialog_get_type
   (c-name "hildon_sort_dialog_get_type")
   (return-type "GType")

Added: projects/haf/trunk/python-hildon/defs/hildon-system-sound.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-system-sound.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-system-sound.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -0,0 +1,16 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From hildon-system-sound.h
+
+(define-function hildon_play_system_sound
+  (c-name "hildon_play_system_sound")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "sample")
+  )
+)
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-telephone-editor.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-telephone-editor.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-telephone-editor.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;; TODO: verify other constructors
+;; -*- scheme -*-
+; object definitions ...
 (define-object TelephoneEditor
   (in-module "Hildon")
   (parent "GtkContainer")
@@ -6,16 +7,26 @@
   (gtype-id "HILDON_TYPE_TELEPHONE_EDITOR")
 )
 
-(define-enum TelephoneEditorFormat
-  (in-module "Hildon")
-  (c-name "HildonTelephoneEditorFormat")
-  (gtype-id "HILDON_TYPE_TELEPHONE_EDITOR_FORMAT")
-  (values
-    '("free" "HILDON_TELEPHONE_EDITOR_FORMAT_FREE")
-    '("coerce" "HILDON_TELEPHONE_EDITOR_FORMAT_COERCE")
-    '("coerce-country" "HILDON_TELEPHONE_EDITOR_FORMAT_COERCE_COUNTRY")
-    '("coerce-area" "HILDON_TELEPHONE_EDITOR_FORMAT_COERCE_AREA")
-  )
+;; Enumerations and flags ...
+
+;(define-enum TelephoneEditorFormat
+;  (in-module "Hildon")
+;  (c-name "HildonTelephoneEditorFormat")
+;  (gtype-id "HILDON_TYPE_TELEPHONE_EDITOR_FORMAT")
+;  (values
+;    '("free" "HILDON_TELEPHONE_EDITOR_FORMAT_FREE")
+;    '("coerce" "HILDON_TELEPHONE_EDITOR_FORMAT_COERCE")
+;    '("coerce-country" "HILDON_TELEPHONE_EDITOR_FORMAT_COERCE_COUNTRY")
+;    '("coerce-area" "HILDON_TELEPHONE_EDITOR_FORMAT_COERCE_AREA")
+;  )
+;)
+
+
+;; From hildon-telephone-editor.h
+
+(define-function hildon_telephone_editor_get_type
+  (c-name "hildon_telephone_editor_get_type")
+  (return-type "GType")
 )
 
 (define-function hildon_telephone_editor_new
@@ -27,6 +38,17 @@
   )
 )
 
+(define-function hildon_telephone_editor_new_with_strings
+  (c-name "hildon_telephone_editor_new_with_strings")
+  (return-type "GtkWidget*")
+  (parameters
+    '("HildonTelephoneEditorFormat" "format")
+    '("const-gchar*" "country")
+    '("const-gchar*" "area")
+    '("const-gchar*" "number")
+  )
+)
+
 (define-method set_editable
   (of-object "HildonTelephoneEditor")
   (c-name "hildon_telephone_editor_set_editable")
@@ -124,3 +146,4 @@
   )
 )
 
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-time-editor.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-time-editor.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-time-editor.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -9,9 +9,30 @@
 
 ;; Enumerations and flags ...
 
+(define-enum TimeEditorErrorType
+  (in-module "Hildon")
+  (c-name "HildonTimeEditorErrorType")
+  (gtype-id "HILDON_TYPE_TIME_EDITOR_ERROR_TYPE")
+  (values
+    '("no-time-error" "NO_TIME_ERROR")
+    '("max-hours" "MAX_HOURS")
+    '("max-mins" "MAX_MINS")
+    '("max-secs" "MAX_SECS")
+    '("min-hours" "MIN_HOURS")
+    '("min-mins" "MIN_MINS")
+    '("min-secs" "MIN_SECS")
+    '("empty-hours" "EMPTY_HOURS")
+    '("empty-mins" "EMPTY_MINS")
+    '("empty-secs" "EMPTY_SECS")
+    '("min-dur" "MIN_DUR")
+    '("max-dur" "MAX_DUR")
+    '("invalid-time" "INVALID_TIME")
+  )
+)
 
-;; From /usr/include/hildon-widgets/hildon-time-editor.h
 
+;; From hildon-time-editor.h
+
 (define-function hildon_time_editor_get_type
   (c-name "hildon_time_editor_get_type")
   (return-type "GType")
@@ -45,6 +66,24 @@
   )
 )
 
+(define-method show_seconds
+  (of-object "HildonTimeEditor")
+  (c-name "hildon_time_editor_show_seconds")
+  (return-type "none")
+  (parameters
+    '("gboolean" "enable")
+  )
+)
+
+(define-method enable_duration_mode
+  (of-object "HildonTimeEditor")
+  (c-name "hildon_time_editor_enable_duration_mode")
+  (return-type "none")
+  (parameters
+    '("gboolean" "enable")
+  )
+)
+
 (define-method set_duration_range
   (of-object "HildonTimeEditor")
   (c-name "hildon_time_editor_set_duration_range")
@@ -95,6 +134,21 @@
   (return-type "gboolean")
 )
 
+(define-method set_show_hours
+  (of-object "HildonTimeEditor")
+  (c-name "hildon_time_editor_set_show_hours")
+  (return-type "none")
+  (parameters
+    '("gboolean" "show_hours")
+  )
+)
+
+(define-method get_show_hours
+  (of-object "HildonTimeEditor")
+  (c-name "hildon_time_editor_get_show_hours")
+  (return-type "gboolean")
+)
+
 (define-method set_duration_mode
   (of-object "HildonTimeEditor")
   (c-name "hildon_time_editor_set_duration_mode")

Modified: projects/haf/trunk/python-hildon/defs/hildon-time-picker.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-time-picker.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-time-picker.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;; TODO: verify properties
+;; -*- scheme -*-
+; object definitions ...
 (define-object TimePicker
   (in-module "Hildon")
   (parent "GtkDialog")
@@ -6,6 +7,11 @@
   (gtype-id "HILDON_TYPE_TIME_PICKER")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-time-picker.h
+
 (define-function hildon_time_picker_get_type
   (c-name "hildon_time_picker_get_type")
   (return-type "GType")

Modified: projects/haf/trunk/python-hildon/defs/hildon-volumebar.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-volumebar.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-volumebar.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object Volumebar
   (in-module "Hildon")
   (parent "GtkContainer")
@@ -6,11 +7,22 @@
   (gtype-id "HILDON_TYPE_VOLUMEBAR")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-volumebar.h
+
 (define-function hildon_volumebar_get_type
   (c-name "hildon_volumebar_get_type")
   (return-type "GType")
 )
 
+(define-method get_level
+  (of-object "HildonVolumebar")
+  (c-name "hildon_volumebar_get_level")
+  (return-type "double")
+)
+
 (define-method set_level
   (of-object "HildonVolumebar")
   (c-name "hildon_volumebar_set_level")
@@ -20,10 +32,10 @@
   )
 )
 
-(define-method get_level
+(define-method get_mute
   (of-object "HildonVolumebar")
-  (c-name "hildon_volumebar_get_level")
-  (return-type "double")
+  (c-name "hildon_volumebar_get_mute")
+  (return-type "gboolean")
 )
 
 (define-method set_mute
@@ -35,12 +47,6 @@
   )
 )
 
-(define-method get_mute
-  (of-object "HildonVolumebar")
-  (c-name "hildon_volumebar_get_mute")
-  (return-type "gboolean")
-)
-
 (define-method level_change
   (of-object "HildonVolumebar")
   (c-name "hildon_volumebar_level_change")

Modified: projects/haf/trunk/python-hildon/defs/hildon-vvolumebar.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-vvolumebar.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-vvolumebar.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,5 @@
-;;
+;; -*- scheme -*-
+; object definitions ...
 (define-object VVolumebar
   (in-module "Hildon")
   (parent "HildonVolumebar")
@@ -6,6 +7,11 @@
   (gtype-id "HILDON_TYPE_VVOLUMEBAR")
 )
 
+;; Enumerations and flags ...
+
+
+;; From hildon-vvolumebar.h
+
 (define-function hildon_vvolumebar_get_type
   (c-name "hildon_vvolumebar_get_type")
   (return-type "GType")
@@ -15,8 +21,6 @@
   (c-name "hildon_vvolumebar_new")
   (is-constructor-of "HildonVvolumebar")
   (return-type "GtkWidget*")
-  (properties
-    '("can-focus" (optional))
-    '("has-mute" (optional))
-  )
 )
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-weekday-picker.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-weekday-picker.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-weekday-picker.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,3 +1,5 @@
+;; -*- scheme -*-
+; object definitions ...
 (define-object WeekdayPicker
   (in-module "Hildon")
   (parent "GtkContainer")
@@ -5,22 +7,11 @@
   (gtype-id "HILDON_TYPE_WEEKDAY_PICKER")
 )
 
+;; Enumerations and flags ...
 
-(define-enum Weekday
-  (in-module "Hildon")
-  (c-name "GDateWeekday")
-  (values
-    '("bad-weekday" "G_DATE_BAD_WEEKDAY")
-    '("monday" "G_DATE_MONDAY")
-    '("tuesday" "G_DATE_TUESDAY")
-    '("wednesday" "G_DATE_WEDNESDAY")
-    '("thursday" "G_DATE_THURSDAY")
-    '("friday" "G_DATE_FRIDAY")
-    '("saturday" "G_DATE_SATURDAY")
-    '("sunday" "G_DATE_SUNDAY")
-  )
-)
 
+;; From hildon-weekday-picker.h
+
 (define-function hildon_weekday_picker_get_type
   (c-name "hildon_weekday_picker_get_type")
   (return-type "GType")
@@ -79,3 +70,5 @@
     '("GDateWeekday" "day")
   )
 )
+
+

Added: projects/haf/trunk/python-hildon/defs/hildon-window-private.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-window-private.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-window-private.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -0,0 +1,58 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From hildon-window-private.h
+
+(define-method set_program
+  (of-object "HildonWindow")
+  (c-name "hildon_window_set_program")
+  (return-type "none")
+  (parameters
+    '("GObject*" "program")
+  )
+)
+
+(define-method unset_program
+  (of-object "HildonWindow")
+  (c-name "hildon_window_unset_program")
+  (return-type "none")
+)
+
+(define-method set_can_hibernate_property
+  (of-object "HildonWindow")
+  (c-name "hildon_window_set_can_hibernate_property")
+  (return-type "none")
+  (parameters
+    '("gpointer" "can_hibernate")
+  )
+)
+
+(define-method take_common_toolbar
+  (of-object "HildonWindow")
+  (c-name "hildon_window_take_common_toolbar")
+  (return-type "none")
+)
+
+(define-method update_topmost
+  (of-object "HildonWindow")
+  (c-name "hildon_window_update_topmost")
+  (return-type "none")
+  (parameters
+    '("Window" "window_id")
+  )
+)
+
+(define-function hildon_window_get_active_window
+  (c-name "hildon_window_get_active_window")
+  (return-type "Window")
+)
+
+(define-method update_title
+  (of-object "HildonWindow")
+  (c-name "hildon_window_update_title")
+  (return-type "none")
+)
+
+

Modified: projects/haf/trunk/python-hildon/defs/hildon-window.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-window.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-window.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,5 +1,4 @@
-;; -*- HildonWindow -*-
-
+;; -*- scheme -*-
 ; object definitions ...
 (define-object Window
   (in-module "Hildon")
@@ -11,7 +10,7 @@
 ;; Enumerations and flags ...
 
 
-;; From /usr/include/hildon-widgets/hildon-window.h
+;; From hildon-window.h
 
 (define-function hildon_window_get_type
   (c-name "hildon_window_get_type")

Modified: projects/haf/trunk/python-hildon/defs/hildon-wizard-dialog.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-wizard-dialog.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/defs/hildon-wizard-dialog.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,8 +1,3 @@
-;; TODO:
-;; python2.4[15654]: GLIB ERROR ** Gtk - file gtkcontainer.c: line 2649 (gtk_container_propagate_expose): assertion failed: (child->parent == GTK_WIDGET (container))
-;; aborting...
-;; /usr/bin/run-standalone.sh: line 11: 15654 Aborted                 (core dumped) $*
-;; Take a look at the solution done for hildon_file_chooser_dialog_new override, it may be the same case.
 ;; -*- scheme -*-
 ; object definitions ...
 (define-object WizardDialog
@@ -15,7 +10,7 @@
 ;; Enumerations and flags ...
 
 
-;; From /usr/include/hildon-widgets/hildon-wizard-dialog.h
+;; From hildon-wizard-dialog.h
 
 (define-function hildon_wizard_dialog_get_type
   (c-name "hildon_wizard_dialog_get_type")

Modified: projects/haf/trunk/python-hildon/examples/hello-hildon.py
===================================================================
--- projects/haf/trunk/python-hildon/examples/hello-hildon.py	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/examples/hello-hildon.py	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,9 +1,10 @@
-#!/usr/bin/env python2.4
+#!/usr/bin/env python2.5
 
 import gtk
 import hildon
 
 window = hildon.Window ()
+window.connect('destroy', gtk.main_quit)
 window.set_title ("Hello maemo!")
 
 button = gtk.Button ("Hello")
@@ -14,3 +15,4 @@
 #print app.get_default_font ()
 
 gtk.main ()
+

Modified: projects/haf/trunk/python-hildon/examples/hildon-test.py
===================================================================
--- projects/haf/trunk/python-hildon/examples/hildon-test.py	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/examples/hildon-test.py	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.4
+#!/usr/bin/env python2.5
 
 # vim:ts=4:et:sw=4:tw=80
 import hildon
@@ -239,9 +239,9 @@
         obj.connect("clicked", self.onTest)
         self.vboxTests[0].pack_start(obj)
         
-        self.vboxTests[1].pack_start(hildon.Controlbar(0, 50, 25))
+        self.vboxTests[1].pack_start(hildon.Controlbar())
         
-        self.vboxTests[2].pack_start(hildon.DateEditor(2004, 9, 1))
+        self.vboxTests[2].pack_start(hildon.DateEditor())
         
         obj = gtk.Button ("File Selector")
         obj.connect("clicked", self.onTest)
@@ -282,7 +282,9 @@
         obj.set_range(-5, 12)
         obj.set_limits(-100, 100)
         
-        obj = hildon.Seekbar(total_time = 180, fraction = 100)
+        obj = hildon.Seekbar()
+        obj.set_total_time(180)
+        obj.set_fraction(100)
         obj.set_position(30)
         self.vboxTests[0].pack_start(obj)
         

Modified: projects/haf/trunk/python-hildon/examples/maemo-pad.py
===================================================================
--- projects/haf/trunk/python-hildon/examples/maemo-pad.py	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/examples/maemo-pad.py	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.4
+#!/usr/bin/env python2.5
 
 import gtk
 import hildon

Modified: projects/haf/trunk/python-hildon/examples/wip/appwindow.py
===================================================================
--- projects/haf/trunk/python-hildon/examples/wip/appwindow.py	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/examples/wip/appwindow.py	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/python2.5
 '''Application
 
 Demonstrates a typical application window, with menubar, toolbar, statusbar.'''

Modified: projects/haf/trunk/python-hildon/examples/wip/download.py
===================================================================
--- projects/haf/trunk/python-hildon/examples/wip/download.py	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/examples/wip/download.py	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.4
+#!/usr/bin/env python2.5
 # vim:ts=4:et:sw=4:tw=80
 
 import hildon

Modified: projects/haf/trunk/python-hildon/examples/wip/pyhildon-demo.py
===================================================================
--- projects/haf/trunk/python-hildon/examples/wip/pyhildon-demo.py	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/examples/wip/pyhildon-demo.py	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/python2.5
 
 '''
   Hildon Demonstration - ripped from pygtk-demo.py

Modified: projects/haf/trunk/python-hildon/hildon-types.h
===================================================================
--- projects/haf/trunk/python-hildon/hildon-types.h	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/hildon-types.h	2006-11-23 18:49:23 UTC (rev 8295)
@@ -28,17 +28,22 @@
 #include <hildon-base-lib/hildon-base-dnotify.h>
 #include <hildon-base-lib/hildon-base-types.h>
 #include <hildon-widgets/hildon-add-home-dialog.h>
+#include <hildon-widgets/hildon-app-private.h>
 #include <hildon-widgets/hildon-app.h>
+#include <hildon-widgets/hildon-appview.h>
 #include <hildon-widgets/hildon-banner.h>
 #include <hildon-widgets/hildon-calendar-popup.h>
 #include <hildon-widgets/hildon-caption.h>
+#include <hildon-widgets/hildon-code-dialog.h>
 #include <hildon-widgets/hildon-color-button.h>
+#include <hildon-widgets/hildon-color-chooser-dialog.h>
+#include <hildon-widgets/hildon-color-chooser.h>
 #include <hildon-widgets/hildon-color-selector.h>
+#include <hildon-widgets/hildon-color-popup.h>
 #include <hildon-widgets/hildon-controlbar.h>
 #include <hildon-widgets/hildon-date-editor.h>
+#include <hildon-widgets/hildon-defines.h>
 #include <hildon-widgets/hildon-dialoghelp.h>
-#include <hildon-widgets/hildon-file-chooser-dialog.h>
-#include <hildon-widgets/hildon-file-details-dialog.h>
 #include <hildon-widgets/hildon-file-handling-note.h>
 #include <hildon-widgets/hildon-file-system-model.h>
 #include <hildon-widgets/hildon-find-toolbar.h>
@@ -47,15 +52,18 @@
 #include <hildon-widgets/hildon-grid.h>
 #include <hildon-widgets/hildon-grid-item.h>
 #include <hildon-widgets/hildon-hvolumebar.h>
+#include <hildon-widgets/hildon-input-mode-hint.h>
 #include <hildon-widgets/hildon-name-password-dialog.h>
 #include <hildon-widgets/hildon-note.h>
 #include <hildon-widgets/hildon-number-editor.h>
+#include <hildon-widgets/hildon-plugin-widget.h>
 #include <hildon-widgets/hildon-program.h>
 #include <hildon-widgets/hildon-range-editor.h>
 #include <hildon-widgets/hildon-scroll-area.h>
 #include <hildon-widgets/hildon-seekbar.h>
 #include <hildon-widgets/hildon-set-password-dialog.h>
 #include <hildon-widgets/hildon-sort-dialog.h>
+#include <hildon-widgets/hildon-system-sound.h>
 #include <hildon-widgets/hildon-telephone-editor.h>
 #include <hildon-widgets/hildon-time-editor.h>
 #include <hildon-widgets/hildon-time-picker.h>
@@ -63,6 +71,7 @@
 #include <hildon-widgets/hildon-vvolumebar.h>
 #include <hildon-widgets/hildon-weekday-picker.h>
 #include <hildon-widgets/hildon-window.h>
+#include <hildon-widgets/hildon-window-private.h>
 #include <hildon-widgets/hildon-wizard-dialog.h>
 
 #ifndef HILDON_DISABLE_DEPRECATED

Modified: projects/haf/trunk/python-hildon/hildon.defs
===================================================================
--- projects/haf/trunk/python-hildon/hildon.defs	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/hildon.defs	2006-11-23 18:49:23 UTC (rev 8295)
@@ -1,19 +1,23 @@
-;;(include "defs/gtk-infoprint.defs") *deprecated*
-;;(include "defs/hildon-add-home-dialog.defs") *deprecated*
+(include "defs/gtk-infoprint.defs")
+(include "defs/hildon-add-home-dialog.defs")
+(include "defs/hildon-app-private.defs")
 (include "defs/hildon-app.defs")
+(include "defs/hildon-appview.defs")
 (include "defs/hildon-banner.defs")
-(include "defs/hildon-base-dnotify.defs")
-(include "defs/hildon-base-types.defs")
 (include "defs/hildon-calendar-popup.defs")
 (include "defs/hildon-caption.defs")
+(include "defs/hildon-code-dialog.defs")
 (include "defs/hildon-color-button.defs")
+(include "defs/hildon-color-chooser-button.defs")
+(include "defs/hildon-color-chooser-dialog.defs")
+(include "defs/hildon-color-chooser.defs")
+(include "defs/hildon-color-popup.defs")
 (include "defs/hildon-color-selector.defs")
 (include "defs/hildon-controlbar.defs")
 (include "defs/hildon-date-editor.defs")
 (include "defs/hildon-defines.defs")
 (include "defs/hildon-dialoghelp.defs")
-(include "defs/hildon-file-chooser-dialog.defs")
-;;(include "defs/hildon-file-details-dialog.defs") *depends on HildonFileSystemModel stuff*
+;;(include "defs/hildon-file-handling-note.defs")
 (include "defs/hildon-file-system-model.defs")
 (include "defs/hildon-find-toolbar.defs")
 (include "defs/hildon-font-selection-dialog.defs")
@@ -21,19 +25,25 @@
 (include "defs/hildon-grid-item.defs")
 (include "defs/hildon-grid.defs")
 (include "defs/hildon-hvolumebar.defs")
+(include "defs/hildon-input-mode-hint.defs")
 (include "defs/hildon-name-password-dialog.defs")
 (include "defs/hildon-note.defs")
 (include "defs/hildon-number-editor.defs")
+(include "defs/hildon-plugin-widget.defs")
 (include "defs/hildon-program.defs")
 (include "defs/hildon-range-editor.defs")
+(include "defs/hildon-scroll-area.defs")
 (include "defs/hildon-seekbar.defs")
 (include "defs/hildon-set-password-dialog.defs")
 (include "defs/hildon-sort-dialog.defs")
-;;(include "defs/hildon-telephone-editor.defs") *deprecated*
+(include "defs/hildon-system-sound.defs")
+;;(include "defs/hildon-telephone-editor.defs")
 (include "defs/hildon-time-editor.defs")
 (include "defs/hildon-time-picker.defs")
 (include "defs/hildon-volumebar.defs")
 (include "defs/hildon-vvolumebar.defs")
 (include "defs/hildon-weekday-picker.defs")
+(include "defs/hildon-window-private.defs")
 (include "defs/hildon-window.defs")
 (include "defs/hildon-wizard-dialog.defs")
+

Modified: projects/haf/trunk/python-hildon/setup.py
===================================================================
--- projects/haf/trunk/python-hildon/setup.py	2006-11-23 16:35:13 UTC (rev 8294)
+++ projects/haf/trunk/python-hildon/setup.py	2006-11-23 18:49:23 UTC (rev 8295)
@@ -17,9 +17,11 @@
 		HILDON_TYPE_FILES = includedir+'/hildon-fm/hildon-widgets/hildon-file-system-model.h	\
 			'+includedir+'/hildon-widgets/hildon-date-editor.h	\
 			'+includedir+'/hildon-widgets/hildon-font-selection-dialog.h	\
-			'+includedir+'/hildon-widgets/hildon-time-editor.h	\
 			'+includedir+'/hildon-widgets/hildon-grid-item.h	\
+			'+includedir+'/hildon-widgets/hildon-input-mode-hint.h	\
+			'+includedir+'/hildon-widgets/hildon-number-editor.h	\
 			'+includedir+'/hildon-widgets/hildon-telephone-editor.h	\
+			'+includedir+'/hildon-widgets/hildon-time-editor.h	\
 			'+includedir+'/hildon-base-lib/hildon-base-types.h	\
 			'+includedir+'/glib-2.0/glib/gdate.h'
 		
@@ -39,7 +41,6 @@
 			    --register '+defsdir+'/gtk.defs \
 			    --register '+defsdir+'/pango-types.defs \
         		    --register defs/hildon-grid-item.defs \
-        		    --register defs/hildon-file-system-model.defs \
 			    --override '+filename+'.override \
 			    --prefix py'+filename+' '+filename+'.defs > gen-'+filename+'.c \
 			&& cp gen-'+filename+'.c '+filename+'.c \


More information about the maemo-commits mailing list