assertion `VALID_ITER (parent, tree_store)' failed?

2010-03-24 Thread Micheal Smith
I'm trying to add something to a treeview based on a row reference. However when I try to do this I keep getting the error referenced within the subject. Perhaps I'm doing something wrong, but I can't figure it out for the life of me. Here is some test code I wrote up... static void populat

Widget choice / top level window resizing

2010-03-24 Thread Matthew Allen
Hi, The code I'm porting to Gtk has all it's own layout systems in place anyway and I want to bypass using Gtk layout to get something working quickly. At the moment I can get a basic window showing on the screen with an appropriate set of child widgets using GtkFixed, however the main window i

SegFault on a GtkTreeSelection changed : More info

2010-03-24 Thread Nicolas Soubeiran
I forgot to precise : I am working on a GTK+ 2.12.12 version. I attached for debugging "row-deleted" to models signal and I saw that the order is 1) Child model (the GtkListStore) : "row-deleted" 2) GtkTreeViewSelection (that display the sorted model) "changed" 3) GtkTreeModelSort : "row-deleted"

SegFault on a GtkTreeSelection changed

2010-03-24 Thread Nicolas Soubeiran
Hello, I have trouble with a sorted model when deleting some row from the child model : the following code SegFault when you select the 2 first lines of the treeview then click the button (remove the first line of the child model). What should I do to avoid this #include #define STRING_COLUMN 0

gdk_event_send_client_message causing fatal IO error "resource temporarily unavailable"

2010-03-24 Thread Matthew Allen
Hi, I'm working on a gtk2 port of my application library (Lgi) and one of the API's it provides is a way to send a message to a window. When I was using xlib directly I just used XSendEvent with a client event and that worked just fine. Now with Gtk/Gdk I should be using gdk_event_send_client_m