Best way to busy-wait in Python 3 / Gtk+ 3?

2012-10-06 Thread Filip Lamparski
Hello, I'm writing a simple application which is supposed to display the contents of the TED RSS feed in a way similar to how the official app works on Android. However, the thumbnail loading process takes a long time, so I want to put it into another process, with the GUI displaying a spinner or

Sortable Treeview

2012-10-06 Thread Rudra Banerjee
Dear friends, I am trying to make a Treeview sortable. I have managed to get sortable by any one column, using GtkTreeSortable *sortable=GTK_TREE_SORTABLE(data-store); Code: gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(sortable), ID_YEAR, GTK_SORT_ASCENDING); which

Sortable Treeview

2012-10-06 Thread Rudra Banerjee
Dear friends, I am trying to make a Treeview sortable. I have managed to get sortable by any one column, using GtkTreeSortable *sortable=GTK_TREE_SORTABLE(data-store); Code: gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(sortable),     ID_YEAR, GTK_SORT_ASCENDING);

Re: Sortable Treeview

2012-10-06 Thread David Nečas
On Sun, Oct 07, 2012 at 12:25:22AM +0100, Rudra Banerjee wrote: What I am looking for, is make my header clickable to get the sorting, with initial view completely unsorted. Then look at List Store in gtk-demo. It demonstrates this clearly. Yeti

Re: [Pixman] debuging wxruby

2012-10-06 Thread Søren Sandmann
Svend Haugaard Sørensen s...@demosophia.net writes: The top of the stack dump look like this. #0 0xb47a6d9d in _pixman_lookup_composite_function (toplevel=0x80be750, op=PIXMAN_OP_SRC, src_format=262144, src_flags=1043063, mask_format=0, mask_flags=8192,

destroy a widget while keeping the window with Glade

2012-10-06 Thread Frank Cox
I've just started playing with Glade and once again I'm wondering if I'm using the wrong approach to get stuff done, since I can't find anything that tells me how to do this. So far, I've been creating a main window for the program and simply creating and destroying boxes and widgets within that