Re: XML and treeviews

2008-07-24 Thread Andrew Cowie
On Thu, 2008-07-24 at 10:48 +0200, Gabriele Greco wrote: > > o > | | > | -- > | > - Couldn't you just add another row in the TreeStore for the closing tag? If is "0" and is "0:0", then inserting a row after with parent would be "0:1". AfC Sydney

Re: porting GdkFont

2008-07-24 Thread Kjartan Maraas
on., 23.07.2008 kl. 19.17 -0600, skrev Nitin Jain: > Hi everyone, > I am new to GTK programming, so pardon the simplicity of the request. > As of now, am porting an application to GTK+-2.0 mainly by rummaging > through http://library.gnome.org/devel/ and changing the code > accordingly. > However,

ListStore/TreeView with row based settings for columns

2008-07-24 Thread Robert G.
Hello, I was wondering if there's any way to have a ListStore/TreeView have rows xalign'd to different sides of a column. Also would it be possible to have only certain cells in a column be editable? I guess the latter question builds on the former but simply put can I have some values of a column

Re: ListStore/TreeView with row based settings for columns

2008-07-24 Thread Damien Caliste
Hello, Le 24/07/2008, "Robert G." <[EMAIL PROTECTED]> a écrit : > Hello, I was wondering if there's any way to have a ListStore/TreeView > have rows xalign'd to different sides of a column. Yes, it is possible. To do things on a per row basis, use the model. Reserve some entries in your model to t

XML and treeviews

2008-07-24 Thread Gabriele Greco
I've add to a program an option to view an XML tree on a TreeView, it works well except for one thing, the XML close tag of container tags. I've not found a way to display it in a acceptable way, at the moment I don't show it at all, that it's the best solution I can implement on a TreeView. The

GtkCellRenderer and stock images

2008-07-24 Thread Robert G.
Hello, I'm trying to use a GtkCellRenderer of type gtk_cell_renderer_pixbuf_new to render stock images (GTK_STOCK_...). The code I have so far only segfaults, I've copied code off google codesearch from gnomescan and they set the pixbuf's attribute to "stock-id" then when storing elements in a List