- From: Per Winkvist <nd96pwt student hig se>
- To: gtk-devel-list redhat com
- Subject: CTree/CList bug.
- Date: Sat, 20 Mar 1999 18:52:52 +0100 (MET)
First I noticed this with the ctree, then I noticed it again since I got a
seg fault with the clist. Its probably a bug...
1. Create a new clist
2. Connect the signal "select_row" to appropriate function.
3. set selection type to "GTK_SELECTION_BROWSE"
Add a couple of items to the clist
In the sig handler for the clist
1. Print out the row,col values.
2. Then get the text with gtk_clist_get_text(clist,row,co...)
Okay, to trigger this just click on a item in the list. Then hold down the
mousebutton and move to another item.
It returns negative column values to the sig handler, if you pass that
negative column to gtk_clist_get_text your program won't be up and running
] [Thread Prev