[gtk/ebassi/gidocgen: 196/501] searchentry: Minor docs tweaks
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 196/501] searchentry: Minor docs tweaks
- Date: Fri, 5 Mar 2021 15:53:32 +0000 (UTC)
commit d1e6aa4e43781650c977a5e1773c52296ed0125f
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 25 10:08:08 2021 -0500
searchentry: Minor docs tweaks
gtk/gtksearchentry.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtksearchentry.c b/gtk/gtksearchentry.c
index c41e4483b1..a8292f880c 100644
--- a/gtk/gtksearchentry.c
+++ b/gtk/gtksearchentry.c
@@ -74,6 +74,9 @@
* you can use [method@Gtk.SearchEntry.set_key_capture_widget] to
* let it capture key input from another widget.
*
+ * `GtkSearchEntry` provides only minimal API and should be used with
+ * the [iface@Gtk.Editable] API.
+ *
* # CSS Nodes
*
* |[<!-- language="plain" -->
@@ -674,7 +677,8 @@ capture_widget_key_handled (GtkEventControllerKey *controller,
* @entry: a `GtkSearchEntry`
* @widget: (nullable) (transfer none): a #GtkWidget
*
- * Sets @widget as the widget that @entry will capture key events from.
+ * Sets @widget as the widget that @entry will capture key
+ * events from.
*
* Key events are consumed by the search entry to start or
* continue a search.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]