Xfce Wiki

Sub domains
 

Differences

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

Link to this comparison view

Next revisionBoth sides next revision
de:dev:howto:panel_plugins [2008/08/30 01:52] – created from english version w3llyde:dev:howto:panel_plugins [2008/08/30 02:18] – translated to german w3lly
Line 1: Line 1:
-====== Xfce Panel Plugins How To ====== +====== Anleitung für Xfce Panel Plugins ====== 
-{{wiki:package.png  }} [[http://foo-projects.org/~nick/packages/xfce4-sample-plugin.tar.bz2|Download]] the external sample plugin. You can also [[http://svn.xfce.org/svn/goodies/xfce4-sample-plugin/trunk/|checkout]] the goodies svn.+{{wiki:package.png}} Lade Sie ein [[http://foo-projects.org/~nick/packages/xfce4-sample-plugin.tar.bz2|externes Beispiel Plugin]] herunter welches auch über den [[http://svn.xfce.org/svn/goodies/xfce4-sample-plugin/trunk/|Goodies SVN]] ausgecheckt werden kann.
  
  
-===== Introduction =====+===== Einleitung =====
  
-Starting from version 4.4 the Xfce Panel support two types of plugins: internal and external +Seit der Xfce-4.4 Version gibt es zwei Arten von Plugins für das Panel. Einmal sind das die Internendie als Module geladen werden können die das [[http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Modules.html|GModule Interface]] nutzen und die Externen Plugins die seperate Programme sind und eingebettet werden die den [[http://developer.gnome.org/doc/API/2.0/gtk/GtkPlug.html|GtkPlug]] und [[http://developer.gnome.org/doc/API/2.0/gtk/GtkSocket.html|GtkSocket]] Mechanismus nutzen.
-The internal plugins are loadable modulesusing the  +
-[[http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Modules.html|GModule]] +
-interface. External plugins are separate programs that are embedded into the panel using the  +
-[[http://developer.gnome.org/doc/API/2.0/gtk/GtkPlug.html|GtkPlug]] and  +
-[[http://developer.gnome.org/doc/API/2.0/gtk/GtkSocket.html|GtkSocket]] mechanism.+
  
-In order to handle these plugins the plugin system was entirely rewritten, along with the rest  +Für diese Plugins wurde das Plugin-System komplett mit den restenlichen Panel-Framework neu geschriebenDiese Seite beschreibt wie Plugin-Entwickler mit diesem System arbeiten.
-of the panel frameworkThis file describes the way plugin writers should interact with this system.+
  
-The API documentation is installed with the panel and also available from  +Die API-Dokumentation wurde auch mit dem Panel installiert und ist auch auf der Seite http://www.xfce.org/documentation/api/ zu finden.
-http://www.xfce.org/documentation/api/+
  
- +===== .desktop Dateien ===== 
-===== .desktop file ===== +Neu in der Version 4.4 ist die Voraussetzung für sogenannte .desktop Dateien welche als ''pluginname.desktop'' installiert werdenSo würde ein Externes-Plugin aussehen:
-New in version 4.4 is the requirement for a so called .desktop file, that is ''pluginname.desktop'',  +
-to be installedIt should look like this for an external plugin:+
  
   [Xfce Panel]   [Xfce Panel]
Line 31: Line 22:
   X-XFCE-Exec=<prefix>/libexec/xfce4/panel-plugins/<plugin_name>   X-XFCE-Exec=<prefix>/libexec/xfce4/panel-plugins/<plugin_name>
  
-For the internal plugin you would use:+Für ein Internes-Plugin würde es wie folgt aussehen:
  
   X-XFCE-Module=<plugin_name>   X-XFCE-Module=<plugin_name>
   X-XFCE-Module-Path=<prefix>/lib/xfce4/panel-plugins   X-XFCE-Module-Path=<prefix>/lib/xfce4/panel-plugins
  
-If the module should have no more than 1 instance running at the same timeyou add this line:+Wenn das Modul nicht mehr als eine Instanz gleichzeitig laufen hatfügen Sie diese Zeile hinzu:
  
   X-XFCE-Unique=true   X-XFCE-Unique=true