Re: How to draw GtkCellRendererCombo in (inside) a custom cell renderer?

2012-06-06 Thread Osmo Antero
Hello, I wanted to study the GtkCellRendererCombo so I added it directly to the treeview (as column). The combobox is initially hidden, only the text value is shown. The combo becomes visible after user clicks or double-clicks the column in the row. Unfortunately the click event does not work (or

Re: How to draw GtkCellRendererCombo in (inside) a custom cell renderer?

2012-06-06 Thread Vivien Malerba
On 6 June 2012 09:51, Osmo Antero osm...@gmail.com wrote: Hello, I wanted to study the GtkCellRendererCombo so I added it directly to the treeview (as column). The combobox is initially hidden, only the text value is shown. The combo becomes visible after user clicks or double-clicks the

Re: How do I fix the window size?

2012-06-06 Thread Ferdinand Ramirez
--- On Tue, 6/5/12, Chris Vine ch...@cvine.freeserve.co.uk wrote: Are you calling gtk_scrolled_window_add_with_viewport()?  If so, use gtk_container_add() instead, because tree views have native scrolling capabilities. Tried out both. I'm in the process of trying out other options like

Re: How To Script .gtkrc-2.0?

2012-06-06 Thread Johny Why
Gtk must read the gtkrc-2.0 file. Therefore, gtk must contain a internal function for performing that read. In which gtk source file does that function reside? If not known, where can I get this info? Thanks! hi i'm writing a script to do stuff with the .gtkrc-2.0 file. Question: are

Re: How To Script .gtkrc-2.0?

2012-06-06 Thread Johny Why
Thanks! GTK+-2.x http://developer.gnome.org/gtk/2.22/gtk-Resource-Files.html GTK+-3.x http://developer.gnome.org/gtk3/3.4/gtk3-Resource-Files.html On Wed, Jun 6, 2012 at 11:35 AM, Johny Why johny...@gmail.com wrote: Gtk must read the gtkrc-2.0 file. Therefore, gtk must contain a