events with GtkCombo

Hi all,

I'd like to change the list of items displayed
by a GtkCombo each time I open this GtkCombo by
clicking the small arrow on the right side. Or each time it's opened
after pressing enter in the GtkEntry.

(because this list can change dynamically in other dialog boxes).

I tried a button_pressed event on the GtkCombo then
change the list of strings but
it looks like this event is never generated, and of course
never processed. This is with GTK 2.

Any clue to achieve this?

Thank you.

-- Pascal

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