[gtk/ebassi/gidocgen: 158/465] searchentry: Minor docs tweaks




commit 95ed910635e5c147ec488dc24275c6448a87ab24
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 35065424e1..92d82dcf5e 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]