Differences
This shows you the differences between two versions of the page.
| zh-cn:vala-bindings [2021/01/05 06:22] – created yjwork | zh-cn:vala-bindings [2026/10/04 18:02] (current) – Delete untranslated page epetriglia | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | ||
| - | ====== Vala Bindings ====== | ||
| - | |||
| - | Xfce4 Vala provides bindings for the Xfce framework. | ||
| - | |||
| - | [[http:// | ||
| - | |||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | |||
| - | The automatic generated VAPI files are available in the [[http:// | ||
| - | |||
| - | ===== libxfce4util ===== | ||
| - | |||
| - | The generated VAPI file covers these headers: | ||
| - | |||
| - | libxfce4util-config.h \\ | ||
| - | xfce-generics.h \\ | ||
| - | xfce-i18n.h \\ | ||
| - | xfce-license.h \\ | ||
| - | xfce-miscutils.h \\ | ||
| - | xfce-posix-signal-handler.h \\ | ||
| - | xfce-rc.h \\ | ||
| - | xfce-resource.h \\ | ||
| - | xfce-utf8.h | ||
| - | |||
| - | ==== RC ==== | ||
| - | |||
| - | * **Xfce.Rc**: | ||
| - | * new: xfce_rc_simple_open() | ||
| - | * new_from_resource: | ||
| - | * destroy: xfce_rc_close() | ||
| - | |||
| - | ==== Resource ==== | ||
| - | |||
| - | // | ||
| - | |||
| - | * **Xfce.Resource**: | ||
| - | * deprecate XfceMatchFunc, | ||
| - | * **Xfce.ResourceType.***: | ||
| - | |||
| - | ==== Signal Handling ==== | ||
| - | |||
| - | // | ||
| - | |||
| - | * **Xfce.PosixSignalHandler**: | ||
| - | * Xfce.PosixSignalHandler.Callback: | ||
| - | |||
| - | ==== i18n ==== | ||
| - | |||
| - | // | ||
| - | |||
| - | * **Xfce.textdomain**: | ||
| - | * convenience function on top of the bindtextdomain and textdomain functions, all other related functions to libxfce4util/ | ||
| - | |||
| - | ==== Deprecated ==== | ||
| - | |||
| - | * Debug (xfce-debug.h) | ||
| - | * Use GLib.debug instead, it prints the line number of the Vala source file | ||
| - | * File Utilities (xfce-fileutils.h) | ||
| - | * Xfce.mkdirhier: | ||
| - | * Kiosk Mode (xfce-kiosk.h) | ||
| - | * Xfconf provides possibility to lock capabilities (see [[http:// | ||
| - | * Use Xfconf.Channel.is_property_locked instead | ||
| - | |||
| - | ===== garcon ===== | ||
| - | |||
| - | The generated VAPI file covers these headers: | ||
| - | |||
| - | 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 ===== | ||
| - | |||
| - | The generated VAPI file covers these headers: | ||
| - | |||
| - | xfconf-binding.h \\ | ||
| - | xfconf-channel.h \\ | ||
| - | xfconf-errors.h \\ | ||
| - | xfconf.h | ||
| - | |||
| - | * Custom VAPI for **Xfconf.init** in order to throw Xfconf.Error instead of GLib.Error | ||
| - | * **Xfconf.Property**: | ||
| - | * Drop functions that take a **va_list** | ||
| - | * Drop functions that take or return a **GPtrArray** | ||
| - | * **int16** GType is not implemented (source xfconf-types.h excluded) | ||
| - | |||
| - | ===== libxfce4ui ===== | ||
| - | |||
| - | The generated VAPI file covers 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 ===== | ||
| - | |||
| - | The generated VAPI file covers these headers: | ||
| - | |||
| - | exo-binding.h \\ | ||
| - | exo-cell-renderer-ellipsized-text.h \\ | ||
| - | exo-cell-renderer-icon.h \\ | ||
| - | 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**: | ||
| - | * Moved all related functions to extensions provided by exo (gobject, gdk-pixbuf, gtk) into this class | ||
| - | |||
| - | // | ||
| - | |||
| - | * **Exo.Execute**: | ||
| - | |||
| - | // | ||
| - | |||
| - | * **Exo.String**: | ||
| - | |||
| - | ==== Name Conflicts ==== | ||
| - | |||
| - | * Rename signal names duplicated with method names | ||
| - | * exo_icon_view_item_activated() => exo_icon_view_activate_item() | ||
| - | * ExoIconView:: | ||
| - | * ExoIconView:: | ||
| - | * ExoToolbarsModel:: | ||
| - | * 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) | ||