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

Re: GTK_COMBO_BOX



On Tue, 2004-07-27 at 17:48 +0800, Daniel Piccoli wrote:
> Hi all,
> 
> what is the best way to convert this code into gtk2? Apparently the
> entry field (which is a gtkWidget) doesn't exist anymore.
> 
>   gtk_editable_set_editable (GTK_EDITABLE
> (GTK_COMBO(zoom_combo)->entry), TRUE);

I think you want something like:

gtk_editable_set_editable (GTK_EDITABLE (GTK_BIN (zoom_combo)->child), TRUE);

Keith.



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