13
0
livetrax/libs/tk
Robin Gareus 3acc8c76ca
Handle Filechooser Location entry
In order for the Filechooser Location widget to work two
things need to be setup, which only the FileChooserDialog
does:
 * subscribe to Widget's "response-requested" signal
 * call should_respond () hook from top-level window's
   default handler.

The Location Entry emits "activates-default". In case of
the Dialog, that calls the dialogs response callback,
which then calls ` _gtk_file_chooser_embed_should_respond`.

That handles changes made by the user to the location entry.

-=-

Gtk::FileChooserWidget does not handle this, "response-requested"
signal is not exposed, nor is _gtk_file_chooser_embed_should_respond
available outside Gtk.

This change at least selects the file in the treeview, which
allows further handling, without interfering with FileChooserDialog's
behavior.
2024-09-04 22:29:24 +02:00
..
suil
ydk move gdk global for modal notification to be with other gdk globals 2024-08-19 15:15:45 -06:00
ydk-pixbuf
ydkmm Fix YTK doxygen errors 2024-05-27 22:21:29 +02:00
ytk Handle Filechooser Location entry 2024-09-04 22:29:24 +02:00
ytkmm Fix YTK doxygen errors 2024-05-27 22:21:29 +02:00
ztk
ztkmm