Re: Gtk2::Entry size



On Sun, 2004-12-19 at 11:44 -0200, Raul Dias wrote:
Hi,

How do I set the widget size (width) of a Gtk2::Entry widget?
Any RTFM with URLs is welcome too :)

Depending on which size you mean, I think you either need set_max_length
[1] or set_width_chars [2].

-- 
HTH,
-Torsten

[1]
http://developer.gnome.org/doc/API/2.0/gtk/GtkEntry.html#gtk-entry-set-max-length

[2]
http://developer.gnome.org/doc/API/2.0/gtk/GtkEntry.html#gtk-entry-set-width-chars





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