[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Entry width in pixel
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Subject: Re: Entry width in pixel
- Date: Wed, 3 Aug 2005 09:34:40 -0400 (EDT)
Beast said:
> I only found a way to set Gtk2::Entry, set_width_chars(n_chars), is it
> possible to set width in pixel?
Gtk2::Widget::set_size_request() allows you to set a widget's requested size,
in pixels. The actual runtime layout may override this (e.g., box packing
parameters set to fill available space).
As always, the C API docs are the canonical reference:
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#id3537029
--
muppet <scott at asofyet dot org>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]