RE: [gtkmm] Beginner question
- From: Murray Cumming Comneon com
- To: eli_hadad sheernetworks com, gtkmm-list gnome org
- Subject: RE: [gtkmm] Beginner question
- Date: Mon, 5 Jan 2004 11:36:27 +0100
Eli Hadad wrote:
> I am new to gtkmm, and have a question.
> I wish to show / add widget at runtime (for example after
> catching button clicked event) into a container such as
> Gtk::Frame. When I do it I get segmentation fault. I wander
> if this is suppose to work and if yes what can be my problem.
I suggest that you just use show() and hide() to show or hide a widget. You
can add both widgets to the same container (such as a Gtk::Vbox) and just
hide one when you show the other.
You should also be able to add() and remove() child widgets, of course.
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]