GtkComboBox with GtkTreeStore as model

2004-06-26 Thread Diego Zuccato
Hello all. Is there any way to make a combobox handle a multi-column tree structure (expand/collapse too, not only selection) ? Up to now, I couldn't find any way to do it. If I use a collapsed tree, the popup list isn't correctly mapped to the underlying model. If I use more than one column, the

GtkTextBuffer:Compare text with those from GtkEntry

2004-06-26 Thread xiangbing
Hi, I try to write a program to test typing speed.I decide to use a GtkEntry wiget to get the input .The text in GtkTextBuffer is presetted and is shown in a GtkTextView wiget.If user's input is the same to the text in GtkTextBuffer,those text will be underlined. My trouble is I don't know how

Re: GtkComboBox with GtkTreeStore as model

2004-06-26 Thread Jean Bréfort
Le sam 26/06/2004 Ã 17:43, Diego Zuccato a Ãcrit : > Hello all. > > Is there any way to make a combobox handle a multi-column tree structure > (expand/collapse too, not only selection) ? > Up to now, I couldn't find any way to do it. If I use a collapsed tree, > the popup list isn't correctly mapp

Re: Windows, shareware and GTK

2004-06-26 Thread Jan-Marek Glogowski
There has been a thread like this just a few days ago in gtk-app-devel (Releasing software with a GTK front end) Search the archive Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: GtkTextBuffer:Compare text with those from GtkEntry

2004-06-26 Thread Jan-Marek Glogowski
Hi xiangbing I'm not sure what your problem is. UTF-8 is the encoding, so you don't need to "look" for it - str(n)cmp should be sufficient to compare them (that's why it's called Unicode ;-). If you want to convert text from / to "any encoding" <--> UTF-8 you have store the previous encoding. I

Re: Windows, shareware and GTK

2004-06-26 Thread John Cupitt
On Fri, 25 Jun 2004 08:52:41 +0600, Alexander Ulianov <[EMAIL PROTECTED]> wrote: > 1). Is Win32-app with GTK+ going to be stable? My main 2-D graphics app > for windows is GIMP 1.2.0. It works well but it crashes quite often. It's much better these days. There's a packaged installer at: http://ww

Making an empty TreeView sub-column not take up any space

2004-06-26 Thread ERDI Gergo
[Please CC replies to [EMAIL PROTECTED] Hi, I'd like to create a pixbuf sub-column inside a GtkTreeView column that doesn't take up any space when the pixbuf is empty. Currently I'm setting up the view like this: column = gtk_tree_view_column_new (); renderer = gtk_cell_renderer_pixbuf_n

Re: Making an empty TreeView sub-column not take up any space

2004-06-26 Thread Russell Shaw
ERDI Gergo wrote: [Please CC replies to [EMAIL PROTECTED] Hi, I'd like to create a pixbuf sub-column inside a GtkTreeView column that doesn't take up any space when the pixbuf is empty. Currently I'm setting up the view like this: column = gtk_tree_view_column_new (); renderer = gtk_cell