New upstream version 3.24.3
This commit is contained in:
@ -167,7 +167,7 @@ empty, and a clear icon when it isn't.</p>
|
||||
<a name="gtk-search-entry-handle-event"></a><h3>gtk_search_entry_handle_event ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_search_entry_handle_event (<em class="parameter"><code><a class="link" href="GtkSearchEntry.html" title="GtkSearchEntry"><span class="type">GtkSearchEntry</span></a> *entry</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
||||
<p>This function should be called when the top-level window
|
||||
which contains the search entry received a key event. If
|
||||
the entry is part of a <a class="link" href="GtkSearchBar.html" title="GtkSearchBar"><span class="type">GtkSearchBar</span></a>, it is preferable
|
||||
@ -175,7 +175,7 @@ to call <a class="link" href="GtkSearchBar.html#gtk-search-bar-handle-event" tit
|
||||
reveal the entry in addition to passing the event to this
|
||||
function.</p>
|
||||
<p>If the key event is handled by the search entry and starts
|
||||
or continues a search, <code class="literal">GDK_EVENT_STOP</code> will be returned.
|
||||
or continues a search, <a href="../html/gdk3-Events.html#GDK-EVENT-STOP:CAPS"><code class="literal">GDK_EVENT_STOP</code></a> will be returned.
|
||||
The caller should ensure that the entry is shown in this
|
||||
case, and not propagate the event further.</p>
|
||||
<div class="refsect3">
|
||||
@ -202,8 +202,8 @@ case, and not propagate the event further.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-search-entry-handle-event.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">GDK_EVENT_STOP</code> if the key press event resulted
|
||||
in a search beginning or continuing, <code class="literal">GDK_EVENT_PROPAGATE</code>
|
||||
<p> <a href="../html/gdk3-Events.html#GDK-EVENT-STOP:CAPS"><code class="literal">GDK_EVENT_STOP</code></a> if the key press event resulted
|
||||
in a search beginning or continuing, <a href="../html/gdk3-Events.html#GDK-EVENT-PROPAGATE:CAPS"><code class="literal">GDK_EVENT_PROPAGATE</code></a>
|
||||
otherwise.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
|
Reference in New Issue
Block a user