Re: FW: How to get size of VBox?
- From: José Alburquerque <jaalburquerque cox net>
- To: sledge hammer <sledgehammer_999 hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: FW: How to get size of VBox?
- Date: Wed, 19 Aug 2009 11:32:18 -0400
On Wed, 2009-08-19 at 11:21 +0300, sledge hammer wrote:
> Vbox derives from the Gtk::Widget class. So all you have to do is
> something like this:
>
> Gtk::VBox vbox;
> vbox.get_height();
> vbox.get_width();
Also, by connecting to the Gtk::Widget::signal_size_allocate() signal,
The Gtk::Allocation parameter of the handler should contain the size of
the widget when the size is actually alloted to the widget.
--
José Alburquerque
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]