Re: [gtkmm] simple question
- From: Hamar Gabor <hg307 hszk bme hu>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] simple question
- Date: Sat, 24 Jul 2004 13:27:13 +0200
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]