DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Attached file gtk-browser3.patch...
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-featureIndex: src/Fl_Native_File_Chooser_GTK.cxx
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
In attached gtk-browser3.patch:
- class Fl_X11_File_Chooser renamed Fl_FLTK_File_Chooser
- added support for
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
A thought:
Should Fl_X11_File_Chooser maybe be called Fl_Fltk_File_Chooser or some
such thing?
In that, it is not really X11 specific, it is
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Attached file gtk-browser2.patch...
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-featureIndex: src/Fl_Native_File_Chooser_GTK.cxx
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Uploaded gtk-browser2.patch with a somewhat cleaner implementation
that separates the FLTK and GTK browsers in two classes
and two source files.
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Cool tweaks: very good stuff.
But, addressing Sanel's observations: Do we want to do this?
I wrote the code more as a proof of concept in
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Attached file gtk-browser.patch...
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-featureIndex: src/fl_gtk.h
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
The attached gtk-browser.patch modifies the current svn repository
so that Fl_Native_File_Chooser uses the GTK dialog when libgtk2-or-3.so
is
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Attached file Fl_Native_File_Chooser_GTK_test.cxx...
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature// $Id: $
//
// FLTK native
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Attached file gtk.h...
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature#ifndef FALSE
#define FALSE (0)
#endif
#ifndef TRUE
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
- added support for Fl_Native_File_Chooser-directory(char*)
- added a Show hidden files toggle button
- dlopen first searches for GTK3 and then,
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Thanks Manolo! Nice addition.
Would be great if you could document any gtk/linux specifics for use
of FNFC in the docs, and try to hit on:
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Attached file Fl_Native_File_Chooser_GTK_Test.cxx...
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature// $Id: $
//
// FLTK native
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Attached file Fl_Native_File_Chooser.H...
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature//
// $Id: Fl_Native_File_Chooser.H 9704
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
With today's Fl_Native_File_Chooser.H and
Fl_Native_File_Chooser_GTK_test.cxx (attached files),
the GTK widget fully supports filters.
The
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
FWIW, zenity(1) is a simple linux command line tool that can
among other things bring up a native file chooser.
$ zenity --title=Select a
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
I will have a look at it when I have time.
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
It works well here: Linux Debian 2.6 in VirtualBox with Gtk2
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
On 20 Dec 2012, at 16:46, Manolo Gouy wrote:
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
It works well here: Linux Debian 2.6 in VirtualBox with Gtk2
Cheers Manolo,
Reassuring to know!
I'm also in the process of creating an Ubuntu 12.04 LTS VM, for testing there,
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Attached file fnfc-gtk-patch-v2.zip...
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Attachment:
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
OK: revised version of previous patch.
This now loads all the GTK and GLib dependencies (of which there are
many...) at run time so that we do
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
FWIW: doing this as Ian suggested means that the gtk development files
(headers etc.) must be present on the /developer's/ machine. So we'd have
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Indeed so - and I was not suggesting I was all that keen on that approach -
only that it looks feasible!
I suppose a safe fallback might be to
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
OK... So, despite saying I wouldn't, I had a quick stab at this.
It is *very* incomplete, and I have made no attempt to load the GTK libs
via
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Attached file fnfc-gtk-patch.zip...
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Attachment:
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
No, perhaps you misunderstand: it is not necessary to copy/paste anything
from gtk.
What we'd have to do would be something like this: (note
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Okay, I will look into doing some patch. I have one question though. How do
GTK apps recognize default file browser? It must be stored in some
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Well we can also try luck with looking into GTK source code and trying to
copy-paste file chooser source, as adding gtk dependencies won't be
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
But probably this won't be easy and ending up with including half of gtk
into source isn't what we want. Ill do some research.
Link:
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
I think I have found something! It says it is stored in
~/.local/share/applications/defaults.list , but there are also other files
mentioned. I
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
No, I was mistaken about XDG, well at least xdg-open and the xdg-mime stuff
does not do what is wanted, so the .../defaults.list file is not
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2904
Version: 1.3-feature
Is there an XDG code for this sort of thing? Does anyone know?
Re: Greg's suggestion of a stand-alone chooser; ISTR that some tool (maybe
LVE
32 matches
Mail list logo