Re: Creating an app with optional GTK support
- From: Michael Torrie <torriem gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Creating an app with optional GTK support
- Date: Fri, 14 May 2010 23:31:06 -0600
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]