Re: GtkTreeView isn't updating when GtkListStore appended and set

2014-01-07 Thread Colomban Wendling
Le 07/01/2014 22:48, Jordan H. a écrit : Man, sorry, but I guess I'm still not getting this. I've added a GtkTreeViewColumn and GtkCellRenderer to the GtkTreeView: object class=GtkTreeViewColumn id=tvcol_button property name=title translatable=yesButton Label/property property

Re: GtkTreeView isn't updating when GtkListStore appended and set

2014-01-06 Thread Jordan H.
Thank you. I'll look into templates. Attached is the Glade file. The GtkListStore (liststore_button_list) is assigned the GtkTreeView (treeview_button_order). The GtkTreeView doesn't seem to reflect the changes made to the GtkListStore. I iterated through the GtkListStore itself and found that

Re: GtkTreeView isn't updating when GtkListStore appended and set

2014-01-06 Thread Colomban Wendling
Hi, Le 06/01/2014 17:26, Jordan H. a écrit : Attached is the Glade file. The GtkListStore (liststore_button_list) is assigned the GtkTreeView (treeview_button_order). Looks like the attachment is missing. The GtkTreeView doesn't seem to reflect the changes made to the GtkListStore. No idea

Re: GtkTreeView isn't updating when GtkListStore appended and set

2014-01-06 Thread jordannh
I suppose an attachment would be helpful (weird that it didn't send). -- jorda...@fastmail.fm On Mon, Jan 6, 2014, at 08:50 AM, Colomban Wendling wrote: Hi, Le 06/01/2014 17:26, Jordan H. a écrit : Attached is the Glade file. The GtkListStore (liststore_button_list) is assigned the

Re: GtkTreeView isn't updating when GtkListStore appended and set

2014-01-06 Thread Colomban Wendling
Le 06/01/2014 22:10, jorda...@fastmail.fm a écrit : I suppose an attachment would be helpful (weird that it didn't send). OK, better now indeed. So, your problem is that you don't add columns to your tree view. A TreeView [1] displays TreeViewColumns [2], which itself contain CellRenderer [3].

Re: GtkTreeView isn't updating when GtkListStore appended and set

2014-01-05 Thread Tristan Van Berkom
On Sat, 2014-01-04 at 23:46 -0600, Michael Cronenworth wrote: On 01/04/2014 05:21 PM, Jordan H. wrote: In Glade I've defined column 0 in the list store as a gchararray cell. I even tried forcing the assignment of GtkListStore to GtkTreeView (knowing full well I wouldn't need to) to no

GtkTreeView isn't updating when GtkListStore appended and set

2014-01-04 Thread Jordan H.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I've defined a GtkTreeView in Glade with a GtkListStre as the store. I'm trying to add data to the list on a button click. Here's the function: void update_list(){ GtkListStore *list_store; GtkTreeIter iter; GtkTreeView

Re: GtkTreeView isn't updating when GtkListStore appended and set

2014-01-04 Thread Michael Cronenworth
On 01/04/2014 05:21 PM, Jordan H. wrote: In Glade I've defined column 0 in the list store as a gchararray cell. I even tried forcing the assignment of GtkListStore to GtkTreeView (knowing full well I wouldn't need to) to no avail. I don't get any errors, but the GtkTreeView doesn't reflect the