Re: Dynamically filled combo box
- Date: Mon, 19 Oct 2015 13:45:53 -0400
- From: Igor Korot <ikorot01@xxxxxxxxx>
- Subject: Re: Dynamically filled combo box
On Mon, Oct 19, 2015 at 1:37 PM, <jcupitt@xxxxxxxxx> wrote:
> Hi Igor,
> On 19 October 2015 at 17:45, Igor Korot <ikorot01@xxxxxxxxx> wrote:
>> On Windows I have an ability to create a dynamically filled combobox.
>> I.e. I can catch a dropdown event (message), where I can remove all
>> items from the list
>> and insert a new string to be displayed. Then on the popup event
>> (message) I can remove everything and depending whether there is a
>> selection or not, add the appropriate string.
>> Is it possible to do the same with GTK+? Either with 2 or 3?
> Sure, in gtk2, try:
> Same thing, though a little fancier, in gtk3:
Ok, but the trouble is that in GTK those signals are "Actions".
They don't have "Run First"/"Run Last" flag.
So, how do I properly connect to them?
I need this code to be executed befor dropdown and after popup...
gtk-list mailing list