Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
vala-bindings [2012/10/20 00:22] – [libxfce4util] mike | vala-bindings [2012/10/21 15:44] – mike | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Vala Bindings ====== | ====== Vala Bindings ====== | ||
- | ===== Milestones ===== | + | Vala bindings can be downloaded at http:// |
- | First milestone 0.1. Includes | + | Git repository is available at http://git.xfce.org/bindings/xfce4-vala. |
- | * 2009-05-06: [[http://goodies.xfce.org/releases/ | + | Automatic generated VAPI files are available in the directory |
- | * 2009-06-04: [[http://goodies.xfce.org/ | + | ===== libxfce4util ===== |
- | * 2009-06-07: [[http:// | + | |
- | * 2009-07-18: [[http:// | + | |
- | * 2009-xx-xx: 0.1 final | + | |
- | * 20xx-xx-xx: 0.1.x maintainance releases | + | |
- | ===== VAPI ===== | + | The generated |
- | + | ||
- | Here are some remarks about the changes between the original APIs and the resulting VAPIs. | + | |
- | ==== libxfce4util ==== | + | |
- | + | ||
- | VAPI for these headers: | + | |
libxfce4util-config.h \\ | libxfce4util-config.h \\ | ||
- | xfce-debug.h \\ | ||
xfce-generics.h \\ | xfce-generics.h \\ | ||
xfce-i18n.h \\ | xfce-i18n.h \\ | ||
- | xfce-kiosk.h \\ | ||
xfce-license.h \\ | xfce-license.h \\ | ||
xfce-miscutils.h \\ | xfce-miscutils.h \\ | ||
Line 30: | Line 19: | ||
xfce-utf8.h | xfce-utf8.h | ||
- | === RC === | + | ==== RC ==== |
* **Xfce.Rc**: | * **Xfce.Rc**: | ||
Line 37: | Line 26: | ||
* destroy: xfce_rc_close() | * destroy: xfce_rc_close() | ||
- | === Resource === | + | ==== Resource |
// | // | ||
- | * **Xfce.Resource**: | + | * **Xfce.Resource**: |
* deprecate XfceMatchFunc, | * deprecate XfceMatchFunc, | ||
* **Xfce.ResourceType.***: | * **Xfce.ResourceType.***: | ||
- | === Signal Handling === | + | ==== Signal Handling |
// | // | ||
- | * **Xfce.PosixSignalHandler**: | + | * **Xfce.PosixSignalHandler**: |
* Xfce.PosixSignalHandler.Callback: | * Xfce.PosixSignalHandler.Callback: | ||
- | === i18n === | + | ==== i18n ==== |
// | // | ||
Line 59: | Line 48: | ||
* convenience function on top of the bindtextdomain and textdomain functions, all other related functions to libxfce4util/ | * convenience function on top of the bindtextdomain and textdomain functions, all other related functions to libxfce4util/ | ||
- | === Deprecated === | + | ==== Deprecated |
- | * Unicode Manipulation | + | * Debug (xfce-debug.h) |
+ | * Use GLib.debug instead, it prints the line number of the Vala source file | ||
* File Utilities (xfce-fileutils.h) | * File Utilities (xfce-fileutils.h) | ||
* Xfce.mkdirhier: | * Xfce.mkdirhier: | ||
- | * Miscellaneous Utilities | + | * Kiosk Mode (xfce-kiosk.h) |
- | * Generics | + | * Xfconf provides possibility to lock capabilities (see [[http:// |
+ | * Use Xfconf.Channel.is_property_locked instead | ||
- | ==== libxfce4menu | + | ===== garcon ===== |
- | * rename xfce_menu_monitor_* inside the class Xfce.MenuMonitor | + | The generated VAPI file covers |
- | * drop properties (they are all redundant with get/set functions and some of them are not implemented | + | |
- | ==== xfconf ==== | + | garcon-config.h \\ |
+ | garcon-environment.h \\ | ||
+ | garcon-marshal.h \\ | ||
+ | garcon-menu-directory.h \\ | ||
+ | garcon-menu-element.h \\ | ||
+ | garcon-menu.h \\ | ||
+ | garcon-menu-item-cache.h \\ | ||
+ | garcon-menu-item.h \\ | ||
+ | garcon-menu-item-pool.h \\ | ||
+ | garcon-menu-merger.h \\ | ||
+ | garcon-menu-node.h \\ | ||
+ | garcon-menu-parser.h \\ | ||
+ | garcon-menu-separator.h \\ | ||
+ | garcon-menu-tree-provider.h | ||
- | * rename xfconf_g_property_* inside the class Xfconf.Property | + | ==== MenuItem ==== |
- | * drop the functions that take a va_list in argument | + | |
- | * drop the functions that take or return a GPtrArray | + | |
- | * drop xfconf_free_array | + | |
- | * int16 GType is yet to be implemented | + | |
- | ==== libxfcegui4 | + | Hide two methods **requires_terminal()** and **supports_startup_notification()**, |
+ | ===== xfconf ===== | ||
- | * XfceAppMenuItem | + | The generated VAPI file covers for these headers: |
- | * deprecate new_from_desktop_entry | + | |
- | * XfceTitledDialog | + | xfconf-binding.h \\ |
- | * drop redundant get/ | + | xfconf-channel.h \\ |
- | * move functions | + | xfconf-errors.h \\ |
- | * new class WidgetHelpers with two functions | + | xfconf.h |
- | * deprecate everything else | + | |
- | ==== exo ==== | + | * Custom VAPI for **Xfconf.init** in order to throw Xfconf.Error instead of GLib.Error |
+ | * **Xfconf.Property**: | ||
+ | * Drop functions | ||
+ | * Drop functions | ||
+ | * **int16** GType is not implemented (source xfconf-types.h excluded) | ||
+ | |||
+ | ===== libxfce4ui ===== | ||
+ | |||
+ | The generated VAPI file covers for these headers: | ||
+ | |||
+ | libxfce4ui-config.h \\ | ||
+ | libxfce4ui-enum-types.h \\ | ||
+ | xfce-dialogs.h \\ | ||
+ | xfce-gdk-extensions.h \\ | ||
+ | xfce-gtk-extensions.h \\ | ||
+ | xfce-sm-client.h \\ | ||
+ | xfce-spawn.h \\ | ||
+ | xfce-titled-dialog.h | ||
+ | |||
+ | ===== exo ===== | ||
* move extension functions to the class Exo.Extensions | * move extension functions to the class Exo.Extensions | ||
Line 103: | Line 122: | ||
* ExoToolbarsModel:: | * ExoToolbarsModel:: | ||
* ExoToolbarsModel:: | * ExoToolbarsModel:: | ||
+ |