Publically exposing GtkFileChooserIface
- From: Kristian Rietveld <kris imendio com>
- To: Federico Mena Quintero <federico ximian com>
- Cc: gtk-devel-list gnome org
- Subject: Publically exposing GtkFileChooserIface
- Date: Wed, 13 Dec 2006 11:28:44 +0100
Hi Federico,
It has come to our attention that important pieces needed to implement a
third-party file chooser dialog outside of GTK+ are not installed. As far as
I can see implementing your own file chooser dialog involves implementing the
GtkFileChooserIface and then plugging it into GTK+. The main problem is that
the definition of this interface is in gtkfilechooserprivate.h, which is
obviously not installed. A second problem is that the definition uses types
defined in the semi-public gtkfilesystem.h (especially GtkFilePath).
The easiest way to solve this is probably to:
* Move GtkFileChooserIface into it's own, new, header file.
gtkfilechooserprivate.h also contains some data structures internal to
the implementation of the default file chooser which don't make sense
to install.
* Add GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED defines like in gtkfilesystem.h.
* Get GTK+ to install it.
I would really like to get this into 2.12. Objections? Suggestions?
thanks,
-kris.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]