17 feb. 2010 : PHP-GTK Application descriptions can now be submitted in Brazilian Portuguese too. Thanks Bruno Bandeira !.

German and Italian still missing: who will contribute the translated categories for these languages ? Contact the team to offer your translations !

Gnope FileExplorer - a very simple file explorer for php-gtk2

This is a very simple application to browse directories. Actualy, this application do not allow any actions ; so it is not a great value except for developers.

screenshot for FileExplorer

Features

special features included in this application :

  • a treeview for directory browsing,
  • filter hidden files (unix),
  • icons for folder and files,
  • unreadable files or directories have special icons,

Internals

This application is constructed from 4 classes :

  • Signal for signal registration and propagation between classes,
  • DirectoryTree display disk tree in a GtkTreeWiew widget, in multi-level graphical format,
  • DirectoryList a flat list displaying single directory content,
  • FileExplorer handles these 2 class lists and manage signals events.

some details :

  • Each class emits signals when user make some actions, you can register to these signals to help using.
  • GtkTreeModel is populated as needed ; no need to scan complete disk.

Installation

This application is pear/gnope compatible. You can install it quickly in a single command ; use Gnope runner to run it :

  (sudo) pear install http://php.classes.free.fr/php/gtk/gnope/Gnope_FileExplorer-0.0.1.tgz

Todo

  • there are 3 classes that may be reused, so a complete documentation should be writen. You can also have a look at source code.
  • build a simple image viewer based on this class framework.
  • make this framework more windows friendly :-)

Link

You can find it at http://php.classes.free.fr/php/gtk/gnope/.

Authors

  • Marc Quinton