Re: Creating an app with optional GTK support



Chris Moller wrote:
> Might be simpler to write a stand-alone file chooser app in GTK+ and, if 
> needed, talk fork()/exec() it and talk to it through pipes or sockets.  
> (I have a GTK+ wrapper for a closed-source implementation of APL that 
> does this.  It works fine.)

The utility "zenity" already implements this:

zenity --file-selection

returns the file the user chose on standard out.  Of course it's not the
most flexible thing.   You can't pick a directory, for example.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]