Re: [gtk-list] combo box events
- From: Damon Chaplin <damon karuna freeserve co uk>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] combo box events
- Date: Sun, 11 Jul 1999 17:57:42 +0100
Bob P wrote:
>
> I have a combo box in my program, and i would like to update a few
> labels when the selection is changed. The problem is, i have no idea
> which signal to capture. I want to create a callback, so whenever the
> you click the down arrow then click on a selection, it raises an event.
> I could then change the labels to reflect the new selection.
Connect to the "changed" signal from the GtkEntry inside the GtkCombo.
e.g.
gtk_signal_connect (GTK_OBJECT (GTK_COMBO (combo)->entry), "changed",
GTK_SIGNAL_FUNC (on_combo_entry_changed),
NULL);
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]