[Glade-users] Destroy and rebuild a treeview widget
- From: jachym.cepicky at centrum.cz (Jachym Cepicky)
- Subject: [Glade-users] Destroy and rebuild a treeview widget
- Date: Mon Jun 5 10:07:28 2006
Hi,
I use gtk.ListStore.clear(self.TreeStore) (same for TreeStore) - works well
jachym
On Mon, Jun 05, 2006 at 09:37:49AM -0400, Tristan Van Berkom wrote:
Mehdi Rabah wrote:
Hi Guillaume,
I'm quite new to gtk/glade but I understand you can't manage the rows of a
treeview from glade2.
So you have to manage treeViewColumn or dataColumn from within your code,
and if you want to remove/add column, you have to use the method of the
treeView class
Hi,
Currently with glade-2 or glade-3 there is still no real support
for treeview editing (should be in glade-3 sometime this year...).
If your going to rebuild your treeview I'd suggest you dont bother
building it in glade at all at this point (since you need to setup
all the columns and renderers yourself).
Basicly... after creating and adding the treeview...
gtk_container_remove() should be enough to remove the treeview
from its container and destroy it... at which point you should
create your new treeview and add it to the hierarchy.
Cheers,
-Tristan
_______________________________________________
Glade-users maillist - Glade-users lists ximian com
http://lists.ximian.com/mailman/listinfo/glade-users
--
Jachym Cepicky
e-mail: jachym cepicky centrum cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------
OFFICE:
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky gdf-hannover de
URL: http://gdf-hannover.de
Tel.: +49 511-39088507
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.ximian.com/pipermail/glade-users/attachments/20060605/251aaae5/attachment.bin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]