Re: [gtkmm] simple question



On Fri, Jul 23, 2004 at 08:34:23PM -0400, Carl Nygard wrote:
> 
> 
> I know I'm going to feel like a dope, but how can I find out the size of
> a widget.  Gtk::Frame specifically?  I can only find a method for
> Gtk::Window.  I'm trying to set Paned widgets position relative to the
> parent's size, so I don't want to use the absolute coords but rather
> fractions of parent size and compute.
You can use these functions:
Gtk::Widget::get_width()
Gtk::Widget::get_height()



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