Re: Adding a Frame to a HBox

Marco Scholten wrote:

----- Original Message ----- From: <mail gehli com>
To: <jalqadir netscape net>; <gtkmm-list gnome org>
Sent: Thursday, November 10, 2005 9:22 AM
Subject: Re: Adding a Frame to a HBox

you have to use the pack_start or pack_end function described in the Gtk::Box reference, to add a frame to a box...

Not necessarily, from Gtk::Box reference:

Because Gtk::Box is a Gtk::Container, you may also use Gtk::Container::add() to insert widgets, and they will be packed as if with pack_start(). Use Gtk::Container::remove() to remove widgets.


gtkmm-list mailing list
gtkmm-list gnome org

If you use the "add" method, then you can add no further objects to the hbox container. This is why you want to use pack_start or pack_end.
Bob Caryl

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