[Thunar-workers] [DokuWiki] page added: design:plugin-system

thunar-workers at xfce.org thunar-workers at xfce.org
Sat Jul 2 14:46:15 CEST 2005


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2005/07/02 12:46
Browser     : Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
IP-Address  : 24.6.245.55
Hostname    : c-24-6-245-55.hsd1.ca.comcast.net
Old Revision: none
New Revision: http://thunar.xfce.org/wiki/design:plugin-system
Edit Summary: created - first draft, needs a bit of work
User        : brian

====== Plugin System ======

**Thunar**'s plugin system is currently not well defined, and may not even appear in version 1.0.  However, we can get a general idea at this point as to what [[design:overview|interfaces]] can be implemented as plugins:

  * [[design:plugin-system#thunarview|ThunarView]]
  * [[design:plugin-system#thunarsidepane|ThunarSidePane]]
  * [[design:plugin-system#thunarlocationbar|ThunarLocationBar]]
  * [[design:plugin-system#thunarfile|ThunarFile]]
  * [[design:plugin-system#thunarfolder|ThunarFolder]]

An attempt will be made to provide bindings for several different languages.  Much care must be taken when creating Thunar plugins in C, because of the need to use GObject's dynamic type registration, rather than the static registration that is used in the majority of cases.

===== ThunarView =====

The ThunarView interface, with its default implementation, provides a right-pane view of a directory.  At minimum, Thunar will ship with an icon view and a details/list view.  Plugins could provide a view for other types of content, for example:

  * Thumbnails of directories full of images.
  * A column view, similar to that used by the NeXT file manager or the Mac OS X Finder.

===== ThunarSidePane =====

Thunar will ship with a shortcut side pane (similar to the sidepane shown in GtkFileChooser) and a treeview side pane.  Plugins could implement a variety of side panes, such as:

  * A search sidebar.
  * A file info sidebar.

===== ThunarLocationBar =====

The ThunarLocationBar interface provides a means to extend or reimplement Thunar's location bar.  FIXME This needs a bit more explanation.

===== ThunarFile =====

The ThunarFile interface is an abstraction over a file, or an object that can be represented as a file.

===== ThunarFolder =====

The ThunarFolder interface is an abstraction over a folder (directory), or an object that can be represented as a folder.



-- 
This mail was generated by DokuWiki at
http://thunar.xfce.org/wiki/



More information about the Thunar-workers mailing list