Re: Trigger a GtkEntryCompletion's popup
- From: Stefan Salewski <mail ssalewski de>
- To: Daniel Kasak <d j kasak dk gmail com>, "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: Trigger a GtkEntryCompletion's popup
- Date: Thu, 08 Oct 2015 23:21:21 +0200
On Thu, 2015-10-08 at 15:36 +1100, Daniel Kasak wrote:
Hi all. I have some GtkEntry widgets with a GtkEntryCompletion
attached.
I've set the minimum key length to 0, hoping this would make the
completion's popup appear on focus in, but it doesn't. I have noticed
that
if I type something, then hit backspace, the popup appears. So I guess
I
can hook up some code on focus-in to simulate this - ie insert some
text
and delete it. Is there a cleaner way of doing it?
Maybe you want a
https://developer.gnome.org/gtk3/stable/GtkComboBox.html
https://developer.gnome.org/gtk3/stable/GtkComboBoxText.html
with active entry widget (has-entry = TRUE) ?
So you can select from a list of text or enter own text.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]