[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Combo box event question



>I did a quick search through the archives and could find nothing on [combo*
>and event] so I was hoping that someone on the list may know.
>The question:
>     Is there an event for the combo box that gets fired when a selection
>has been made?
>There seems to be no obvious choice. Even used Glade to check events on
>combo to see if anything stood out.
>My idea:
>     I need an event to be fired off when something is selected. ( ie. when
>dropdown list is in play and one of the choices is clicked an after that
>click the window is closed ) Is there any event in there like delete_event
>for the pop-down window that I could use for something like an after_update
>event?

You should be able to cast a combo box to entry and then 
use the entry "change" signal. Perhaps there are better solutions, 
I don't remember.

For example:
gtk_entry_set_text (GTK_ENTRY (GTK_COMBO (combo)->entry), "1.0");

Carlos




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]