Works fine :-)))
Thanks Eric.
Regards Thomas
Den 04/08/2017 kl. 07:30 PM skrev cecas...@aol.com:
>
> Another thing to give a try is just to set a boolean in the
> "set-focus-child" callback. Not sure if this will always work. I think
> that it should.
>
> I don't know the best workaround for
Another thing to give a try is just to set a boolean in the "set-focus-child"
callback. Not sure if this will always work. I think that it should.
I don't know the best workaround for the "focus-in-event" in a combo box. It
isn't obvious how to connect that signal for the combobox.
Eric
Thanks :-))
I'l try that.
Thomas
On 07-04-2017 23:10, cecas...@aol.com wrote:
Hi Nicola,
The "set-focus-child" on the container fires for the "focus-in-event"
and "focus-out-event". I forgot about those container functions
though. You can get the toggle button pointer from the
Hi Nicola,
The "set-focus-child" on the container fires for the "focus-in-event" and
"focus-out-event". I forgot about those container functions though. You can get
the toggle button pointer from the container and set up your "focus-in-event".
That way there is no ugly business of using a
Il Fri, 7 Apr 2017 13:52:57 -0400 Eric Cashon via gtk-app-devel-list
scrisse:
> Thomas,
>
> Your original question looked easy. Connect the "focus-in-event" to the combo
> box and everything will work fine.
> ...
Hi,
GtkComboBox is a GtkContainer, so I would
Thomas,
Your original question looked easy. Connect the "focus-in-event" to the combo
box and everything will work fine. The "focus-in-event" works with other
widgets. So I tried it out. Couldn't get it to work. Tried changing some combo
box functions around and still couldn't get it to work.
Hi Eric,
Thanks a lot, looks good. I will try it.
If I want the same feature with other widgets, then I can find the
structs in the sources from GTK ?
Thomas
On 04/06/2017 10:43 PM, cecas...@aol.com wrote:
Hi Thomas,
You can try getting the private toggle button in the combo box. This
Hi Thomas,
You can try getting the private toggle button in the combo box. This isn't a
solution using the given GTK api but if you want to inspect the how to get the
"focus-in-event" to work with a combo box, this might be helpful. You are
working in C right?
Eric
/*
gcc -Wall
Hi,
I can't get focus-in-event to work for a combobox.
It seems others have the same problem, when I google.
Is there a way to get an event when clicking on a combobox ? Either with
the mouse or with TAB.
Regards Thomas
___
gtk-app-devel-list