Commit 3d11b9b7 authored by Bastien Nocera's avatar Bastien Nocera

GtkSearchBar: Mention we don't handle Ctrl+F for the app

There's probably an expectation from the app developers that
Ctrl+F or similar common shortcuts for starting a search will
be handled by the widget, when this is not the case. Explicitely
mention it in the docs to avoid confusion.

https://bugzilla.gnome.org/show_bug.cgi?id=701523
parent 19c5b37d
...@@ -47,7 +47,8 @@ ...@@ -47,7 +47,8 @@
* *
* For keyboard presses to start a search, events will need to be forwarded * For keyboard presses to start a search, events will need to be forwarded
* from the top-level window that contains the search bar. See * from the top-level window that contains the search bar. See
* gtk_search_bar_handle_event() for example code. * gtk_search_bar_handle_event() for example code. Common shortcuts such as Ctrl+F
* should be handled as an application action, or through the menu items.
* *
* You will also need to tell the search bar about which entry you are * You will also need to tell the search bar about which entry you are
* using as your search entry using gtk_search_bar_connect_entry(). * using as your search entry using gtk_search_bar_connect_entry().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment