Re: gtk_entry



Nabil Sayegh wrote:

Am Son, 2002-09-08 um 22.43 schrieb Pallucchini Roberto:

how i can change the width of a gtk_entry?
i have to create a dialog box where i need to get a short string (few
chars) but the gtk_entry_new create a long white field. I use it in a
table...


http://developer.gnome.org/doc/API/gtk/gtkwidget.html#GTK-WIDGET-SET-USIZE

Hello,
I'm only want to point that gtk_widget_set_usize() is deprecated in gtk+2.0, so gtk_widget_set_size_request() must be used instead. gtk_entry_set_width_chars()
is the best way in gtk+-2.0 for setting gtk_entry width.

Olexiy





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