Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vala-bindings [2012/10/21 15:40]
mike [xfconf]
vala-bindings [2012/10/26 02:23] (current)
mike [Vala Bindings]
Line 1: Line 1:
 ====== Vala Bindings ====== ====== Vala Bindings ======
-Vala bindings can be downloaded at http://​archive.xfce.org/​src/​bindings/​xfce4-vala. 
  
-Git repository ​is available ​at http://​git.xfce.org/​bindings/​xfce4-vala.+Xfce4 Vala provides bindings for the Xfce framework. 
 + 
 +[[http://​live.gnome.org/​Vala|Vala]] is a new programming language that aims to bring modern programming language features to GNOME  developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C. 
 + 
 +  * [[http://​archive.xfce.org/​src/​bindings/​xfce4-vala|Xfce4-vala download archive]] 
 +  * [[http://​git.xfce.org/​bindings/​xfce4-vala|Git repository]] 
 + 
 +The automatic generated VAPI files are available ​in the [[http://​git.xfce.org/​bindings/​xfce4-vala/​tree/​vapi|vapi]] subdirectory,​ those are usually self-explanatory.
  
-Automatic generated VAPI files are available in the directory http://​git.xfce.org/​bindings/​xfce4-vala/​tree/​vapi,​ they are self explanatory. 
 ===== libxfce4util ===== ===== libxfce4util =====
  
-The generated VAPI file covers ​for these headers:+The generated VAPI file covers these headers:
  
 libxfce4util-config.h \\ libxfce4util-config.h \\
Line 30: Line 35:
 //​xfce-resource.h excluded, custom VAPI.// //​xfce-resource.h excluded, custom VAPI.//
  
-  * **Xfce.Resource**:​ class with static ​functions+  * **Xfce.Resource**:​ class with static ​methods
     * deprecate XfceMatchFunc,​ match_custom,​ pop_path, push_path     * deprecate XfceMatchFunc,​ match_custom,​ pop_path, push_path
   * **Xfce.ResourceType.***:​ XFCE_RESOURCE_TYPE_* enum   * **Xfce.ResourceType.***:​ XFCE_RESOURCE_TYPE_* enum
Line 38: Line 43:
 //​xfce-posix-signal-handler.h excluded, custom VAPI.// //​xfce-posix-signal-handler.h excluded, custom VAPI.//
  
-  * **Xfce.PosixSignalHandler**:​ class with static ​functions+  * **Xfce.PosixSignalHandler**:​ class with static ​methods
     * Xfce.PosixSignalHandler.Callback:​ callback for set_handler function     * Xfce.PosixSignalHandler.Callback:​ callback for set_handler function
  
Line 60: Line 65:
 ===== garcon ===== ===== garcon =====
  
-The generated VAPI file covers ​for these headers:+The generated VAPI file covers these headers:
  
 garcon-config.h \\ garcon-config.h \\
Line 82: Line 87:
 ===== xfconf ===== ===== xfconf =====
  
-The generated VAPI file covers ​for these headers:+The generated VAPI file covers these headers:
  
 xfconf-binding.h \\ xfconf-binding.h \\
Line 90: Line 95:
  
   * Custom VAPI for **Xfconf.init** in order to throw Xfconf.Error instead of GLib.Error   * Custom VAPI for **Xfconf.init** in order to throw Xfconf.Error instead of GLib.Error
-  * **Xfconf.Property**:​ class with static ​functions ​(bind, unbind)+  * **Xfconf.Property**:​ class with static ​methods ​(bind, unbind)
   * Drop functions that take a **va_list**   * Drop functions that take a **va_list**
   * Drop functions that take or return a **GPtrArray**   * Drop functions that take or return a **GPtrArray**
Line 97: Line 102:
 ===== libxfce4ui ===== ===== libxfce4ui =====
  
-The generated VAPI file covers ​for these headers:+The generated VAPI file covers these headers:
  
 libxfce4ui-config.h \\ libxfce4ui-config.h \\
Line 110: Line 115:
 ===== exo ===== ===== exo =====
  
-  ​move extension functions to the class Exo.Extensions +The generated VAPI file covers these headers: 
-  ​move md5 digest functions that don't start with exo_md5_digest_* to the class Exo.Md5Digest + 
-  * move exo_str_get_md5_str function into the class Exo.Md5 +exo-binding.h \\ 
-  ​move exo_url_functions to the class Exo.Url +exo-cell-renderer-ellipsized-text.h \\ 
-  * move functions from execute.h to the class Exo.Execute +exo-cell-renderer-icon.h \\ 
-  * rename ​signal names duplicated with method names:+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-gobject-extensions.h exo-gdk-pixbuf-extensions.h exo-gtk-extensions.h excluded, custom VAPI.// 
 + 
 +  * **Exo.Extensions**: class with static methods (exo_g_value_*, exo_gdk_pixbuf_*,​ exo_gtk_*) 
 +    * Moved all related functions ​to extensions provided by exo (gobject, gdk-pixbuf, gtk) into this class 
 + 
 +//​exo-execute.h excluded, custom VAPI.// 
 + 
 +  * **Exo.Execute**class with static methods (exo_execute_*) 
 + 
 +//​exo-string.h excluded, custom VAPI.// 
 + 
 +  * **Exo.String**: class with static methods (exo_str*) 
 + 
 +==== Name Conflicts ==== 
 + 
 +  * Rename ​signal names duplicated with method names
     * exo_icon_view_item_activated() => exo_icon_view_activate_item()     * exo_icon_view_item_activated() => exo_icon_view_activate_item()
     * ExoIconView::​select_all => all_selected     * ExoIconView::​select_all => all_selected
Line 123: Line 165:
     * ExoToolbarsModel::​get_item_type => item_type     * ExoToolbarsModel::​get_item_type => item_type
  
 +==== 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)