Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vala-bindings [2012/10/20 02:22] – [Deprecated] mike | vala-bindings [2012/10/26 02:23] (current) – [Vala Bindings] mike | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Vala Bindings ====== | ====== Vala Bindings ====== | ||
| - | Vala bindings can be downloaded at http:// | ||
| - | Git repository | + | Xfce4 Vala provides bindings for the Xfce framework. |
| + | |||
| + | [[http:// | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | The automatic generated VAPI files are available | ||
| ===== libxfce4util ===== | ===== libxfce4util ===== | ||
| - | The generated VAPI file covers | + | The generated VAPI file covers these headers: |
| libxfce4util-config.h \\ | libxfce4util-config.h \\ | ||
| - | xfce-debug.h \\ | ||
| xfce-generics.h \\ | xfce-generics.h \\ | ||
| xfce-i18n.h \\ | xfce-i18n.h \\ | ||
| Line 29: | Line 35: | ||
| // | // | ||
| - | * **Xfce.Resource**: | + | * **Xfce.Resource**: |
| * deprecate XfceMatchFunc, | * deprecate XfceMatchFunc, | ||
| * **Xfce.ResourceType.***: | * **Xfce.ResourceType.***: | ||
| Line 37: | Line 43: | ||
| // | // | ||
| - | * **Xfce.PosixSignalHandler**: | + | * **Xfce.PosixSignalHandler**: |
| * Xfce.PosixSignalHandler.Callback: | * Xfce.PosixSignalHandler.Callback: | ||
| Line 49: | Line 55: | ||
| ==== Deprecated ==== | ==== Deprecated ==== | ||
| - | * Kiosk Mode (xfce-kiosk.h) | + | * Debug (xfce-debug.h) |
| - | * Xfconf provides possibility to lock capabilities (see [[http:// | + | * Use GLib.debug instead, it prints the line number of the Vala source file |
| - | * Xfconf.Channel.is_property_locked | + | |
| * File Utilities (xfce-fileutils.h) | * File Utilities (xfce-fileutils.h) | ||
| * Xfce.mkdirhier: | * Xfce.mkdirhier: | ||
| + | * Kiosk Mode (xfce-kiosk.h) | ||
| + | * 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 these headers: |
| - | * drop properties (they are all redundant with get/set functions and some of them are not implemented for instance in XfceMenuItem) | + | |
| + | 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 | ||
| + | |||
| + | ==== MenuItem ==== | ||
| + | |||
| + | Hide two methods **requires_terminal()** and **supports_startup_notification()**, | ||
| ===== xfconf ===== | ===== xfconf ===== | ||
| - | | + | The generated VAPI file covers these headers: |
| - | * drop the functions that take a va_list | + | |
| - | * drop the functions that take or return a GPtrArray | + | xfconf-binding.h \\ |
| - | | + | xfconf-channel.h \\ |
| - | * int16 GType is yet to be implemented | + | xfconf-errors.h \\ |
| + | xfconf.h | ||
| + | |||
| + | * Custom VAPI for **Xfconf.init** in order to throw Xfconf.Error instead of GLib.Error | ||
| + | * **Xfconf.Property**: class with static methods (bind, unbind) | ||
| + | * Drop functions that take a **va_list** | ||
| + | * Drop functions that take or return a **GPtrArray** | ||
| + | | ||
| + | |||
| + | ===== libxfce4ui ===== | ||
| - | ===== libxfcegui4 ===== | + | The generated VAPI file covers these headers: |
| - | * XfceAppMenuItem | + | libxfce4ui-config.h \\ |
| - | * deprecate new_from_desktop_entry | + | libxfce4ui-enum-types.h \\ |
| - | * XfceTitledDialog | + | xfce-dialogs.h \\ |
| - | * drop redundant get/set methods | + | xfce-gdk-extensions.h \\ |
| - | * move functions from Fundamentals and Core inside respective classes | + | xfce-gtk-extensions.h \\ |
| - | * new class WidgetHelpers with two functions create_framebox and create_framebox_with_content | + | xfce-sm-client.h \\ |
| - | * deprecate everything else | + | xfce-spawn.h \\ |
| + | xfce-titled-dialog.h | ||
| ===== exo ===== | ===== exo ===== | ||
| - | | + | The generated VAPI file covers these headers: |
| - | | + | |
| - | * move exo_str_get_md5_str function into the class Exo.Md5 | + | exo-binding.h \\ |
| - | | + | exo-cell-renderer-ellipsized-text.h \\ |
| - | * move functions from execute.h to the class Exo.Execute | + | exo-cell-renderer-icon.h \\ |
| - | * rename | + | exo-config.h \\ |
| + | exo-enum-types.h \\ | ||
| + | exo-execute.h \\ | ||
| + | exo-gdk-pixbuf-extensions.h \\ | ||
| + | exo-gobject-extensions.h \\ | ||
| + | exo-gtk-extensions.h \\ | ||
| + | exo-icon-bar.h \\ | ||
| + | exo-icon-chooser-dialog.h \\ | ||
| + | exo-icon-view.h \\ | ||
| + | exo-job.h \\ | ||
| + | exo-simple-job.h \\ | ||
| + | exo-string.h \\ | ||
| + | exo-toolbars-editor-dialog.h \\ | ||
| + | exo-toolbars-editor.h \\ | ||
| + | exo-toolbars-model.h \\ | ||
| + | exo-toolbars-view.h \\ | ||
| + | exo-tree-view.h \\ | ||
| + | exo-wrap-table.h \\ | ||
| + | exo-xsession-client.h | ||
| + | |||
| + | ==== Static Classes ==== | ||
| + | |||
| + | // | ||
| + | |||
| + | * **Exo.Extensions**: class with static methods (exo_g_value_*, exo_gdk_pixbuf_*, | ||
| + | * Moved all related functions | ||
| + | |||
| + | // | ||
| + | |||
| + | * **Exo.Execute**: class with static methods (exo_execute_*) | ||
| + | |||
| + | // | ||
| + | |||
| + | * **Exo.String**: class with static methods (exo_str*) | ||
| + | |||
| + | ==== Name Conflicts ==== | ||
| + | |||
| + | * Rename | ||
| * exo_icon_view_item_activated() => exo_icon_view_activate_item() | * exo_icon_view_item_activated() => exo_icon_view_activate_item() | ||
| * ExoIconView:: | * ExoIconView:: | ||
| Line 93: | Line 165: | ||
| * ExoToolbarsModel:: | * ExoToolbarsModel:: | ||
| + | ==== Excluded ==== | ||
| + | |||
| + | * Utils (exo-utils.h) | ||
| + | |||
| + | ===== libxfce4panel ===== | ||
| + | |||
| + | The generated VAPI file covers these headers: | ||
| + | |||
| + | libxfce4panel-config.h \\ | ||
| + | libxfce4panel-enums.h \\ | ||
| + | libxfce4panel-enum-types.h \\ | ||
| + | xfce-arrow-button.h \\ | ||
| + | xfce-hvbox.h \\ | ||
| + | xfce-panel-convenience.h \\ | ||
| + | xfce-panel-image.h \\ | ||
| + | xfce-panel-macros.h \\ | ||
| + | xfce-panel-plugin.h \\ | ||
| + | xfce-panel-plugin-provider.h | ||
| + | |||
| + | ==== Excluded ==== | ||
| + | |||
| + | * Xfce 4.6 macros (xfce-panel-macros-46.h) | ||