Re: [gtk-list] newbie question regarding combo box events



>Hello,
>I'm trying to catch a signal generated by a combo box when its selected
value
>changes, both by mouse drop down selection and using the keyboard cursors.
I
>can't seem to find a relevant event or a mask for an event box that would
>generate this value change signal. Any help would be great!

    The easiest (and probably the only) way to do it is to catch the
    'changed' signal on the entry mamber of the GtkCombo.

    GtkWidget        *cb = gtk_combo_new();
    gtk_signal_connect(GTK_COMBO(cb)->entry, "changed", GTK_FUNC(myfunc),
dataptr);

>
>Also...is there searchable archive for this list on the web?  So i don't
have
>to repeat questions =)
>
>thanke,
>faraz@javanet.com
>
>--
>To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>



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