[maemo-commits] [maemo-commits] r8904 - in projects/haf/branches/maemo-af-desktop/python-hildon-desktop: . libhildondesktop
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Dec 29 18:13:49 EET 2006
- Previous message: [maemo-commits] r8903 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop
- Next message: [maemo-commits] r8905 - in projects/haf/branches/maemo-af-desktop/example-plugins: . src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: lucasr Date: 2006-12-29 18:13:48 +0200 (Fri, 29 Dec 2006) New Revision: 8904 Modified: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/Makefile.am projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/hildondesktop.defs projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/hildondesktop.override Log: 2006-12-29 Lucas Rocha <lucas.rocha at nokia.com> * libhildondesktop/hildondesktop.defs, libhildondesktop/Makefile.am, libhildondesktop/hildondesktop.override: added home applets to the binding. Modified: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog =================================================================== --- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog 2006-12-29 16:11:58 UTC (rev 8903) +++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog 2006-12-29 16:13:48 UTC (rev 8904) @@ -1,5 +1,10 @@ -2006-12-29 lucas rocha <lucas.rocha at nokia.com> +2006-12-29 Lucas Rocha <lucas.rocha at nokia.com> + * libhildondesktop/hildondesktop.defs, libhildondesktop/Makefile.am, + libhildondesktop/hildondesktop.override: added home applets to the binding. + +2006-12-29 Lucas Rocha <lucas.rocha at nokia.com> + * Makefile.am, configure.ac, python-hildon-desktop.pc.in: install pc file for dependency checks from other modules. Modified: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/Makefile.am =================================================================== --- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/Makefile.am 2006-12-29 16:11:58 UTC (rev 8903) +++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/Makefile.am 2006-12-29 16:13:48 UTC (rev 8904) @@ -30,7 +30,8 @@ $(hildondesktopincludedir)/libhildondesktop/hildon-desktop-item.h \ $(hildondesktopincludedir)/libhildondesktop/hildon-desktop-panel-item.h \ $(hildondesktopincludedir)/libhildondesktop/statusbar-item.h \ - $(hildondesktopincludedir)/libhildondesktop/tasknavigator-item.h + $(hildondesktopincludedir)/libhildondesktop/tasknavigator-item.h \ + $(hildondesktopincludedir)/libhildondesktop/hildon-home-applet.h regenerate-python-binding: $(PYGTK_H2DEF) $(BINDING_LIBHILDONDESKTOP_IN) > hildondesktop.defs.new Modified: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/hildondesktop.defs =================================================================== --- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/hildondesktop.defs 2006-12-29 16:11:58 UTC (rev 8903) +++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/hildondesktop.defs 2006-12-29 16:13:48 UTC (rev 8904) @@ -14,6 +14,13 @@ (gtype-id "HILDON_DESKTOP_TYPE_PANEL_ITEM") ) +(define-object HomeApplet + (in-module "HildonDesktop") + (parent "HildonDesktopItem") + (c-name "HildonHomeApplet") + (gtype-id "HILDON_TYPE_HOME_APPLET") +) + (define-object StatusbarItem (in-module "HildonDesktop") (parent "HildonDesktopPanelItem") @@ -30,7 +37,19 @@ ;; Enumerations and flags ... +(define-enum HomeAppletResizeType + (in-module "Hildon") + (c-name "HildonHomeAppletResizeType") + (gtype-id "HILDON_HOME_APPLET_RESIZE_TYPE_TYPE") + (values + '("none" "HILDON_HOME_APPLET_RESIZE_NONE") + '("vertical" "HILDON_HOME_APPLET_RESIZE_VERTICAL") + '("horizontal" "HILDON_HOME_APPLET_RESIZE_HORIZONTAL") + '("both" "HILDON_HOME_APPLET_RESIZE_BOTH") + ) +) + ;; From /usr/include/libhildondesktop/libhildondesktop/hildon-desktop-item.h (define-function hildon_desktop_item_get_type @@ -99,3 +118,83 @@ ) + +;; From /usr/include/libhildondesktop/libhildondesktop/hildon-home-applet.h + +(define-function hildon_home_applet_resize_type_get_type + (c-name "hildon_home_applet_resize_type_get_type") + (return-type "GType") +) + +(define-function hildon_home_applet_get_type + (c-name "hildon_home_applet_get_type") + (return-type "GType") +) + +(define-function hildon_home_applet_new + (c-name "hildon_home_applet_new") + (is-constructor-of "HildonHomeApplet") + (return-type "GtkWidget*") +) + +(define-method set_layout_mode + (of-object "HildonHomeApplet") + (c-name "hildon_home_applet_set_layout_mode") + (return-type "none") + (parameters + '("gboolean" "layout_mode") + ) +) + +(define-method get_layout_mode + (of-object "HildonHomeApplet") + (c-name "hildon_home_applet_get_layout_mode") + (return-type "gboolean") +) + +(define-method set_resize_type + (of-object "HildonHomeApplet") + (c-name "hildon_home_applet_set_resize_type") + (return-type "none") + (parameters + '("HildonHomeAppletResizeType" "rt") + ) +) + +(define-method get_resize_type + (of-object "HildonHomeApplet") + (c-name "hildon_home_applet_get_resize_type") + (return-type "HildonHomeAppletResizeType") +) + +(define-method get_settings_menu_item + (of-object "HildonHomeApplet") + (c-name "hildon_home_applet_get_settings_menu_item") + (return-type "GtkWidget*") +) + +(define-method save_position + (of-object "HildonHomeApplet") + (c-name "hildon_home_applet_save_position") + (return-type "none") + (parameters + '("GKeyFile*" "keyfile") + ) +) + +(define-method get_overlaps + (of-object "HildonHomeApplet") + (c-name "hildon_home_applet_get_overlaps") + (return-type "gboolean") +) + +(define-method set_is_background + (of-object "HildonHomeApplet") + (c-name "hildon_home_applet_set_is_background") + (return-type "none") + (parameters + '("gboolean" "is_background") + ) +) + + Modified: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/hildondesktop.override =================================================================== --- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/hildondesktop.override 2006-12-29 16:11:58 UTC (rev 8903) +++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/hildondesktop.override 2006-12-29 16:13:48 UTC (rev 8904) @@ -6,6 +6,7 @@ #include <libhildondesktop/hildon-desktop-panel-item.h> #include <libhildondesktop/tasknavigator-item.h> #include <libhildondesktop/statusbar-item.h> +#include <libhildondesktop/hildon-home-applet.h> %% modulename hildondesktop %%
- Previous message: [maemo-commits] r8903 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop
- Next message: [maemo-commits] r8905 - in projects/haf/branches/maemo-af-desktop/example-plugins: . src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]