Re: Glade XML and TreeView
- From: "Tiberius DULUMAN" <tiberius duluman gmail com>
- To: gtkmm-list gnome org
- Subject: Re: Glade XML and TreeView
- Date: Tue, 19 Feb 2008 17:06:26 +0200
> I cannot seem to figure out how to get anything to be filled into the
> TreeView widget.
>
Your problem is quite simple. Gtk::Main::run returns from the main loop
when the window is closed. So, your row will be added to the tree model
after you close the window - too late to see the row on the screen.
Fill your tree before calling run, or fill it inside a method that handles a signal
( for example, when a button is clicked ).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]