Re: Best practice query: Entry field "user's done editing"

2014-01-12 Thread Christoph Schmeding
Hi ChrisA, We have the same need in our application, i.e. we don't want to "validate" or "commit" on every "change" in the entry. We also have hooked validation on the "focus-out", and additionally on "activate", which is emitted when the user hits the "enter" key in the entry. Hope this helps

Crash in GtkTreeView (win64 gtk2.12)

2009-07-21 Thread Christoph Schmeding
Hi For our application, we are managing some GtkTreeView(s). Our application works on several plateforms, including win32 and win64. For win32 we are using GTK 2.4 and for win64 we are using GTK2.12 We are encontering a pb that occurs on 64 bits only. Below, is a sample file that simulate what

Re: Sensitive child in insensitive parent?

2009-04-09 Thread Christoph Schmeding
I have read some doc, but I don't think I can use GtkAction and GtkActionGroup for my purpose. I am afraid I have to loop myself :-( Thanks a lot anyhow, Christoph Larry Reaves wrote: On Wed, 2009-04-08 at 11:05 +0200, Christoph Schmeding wrote: Hello, Thanks for the answer. Indeed

Re: Sensitive child in insensitive parent?

2009-04-08 Thread Christoph Schmeding
set them one by one to sensitive or insensitive respectively. I was hoping Gtk could somehow do this for me! Isn't there a way? Thanks, Christoph Larry Reaves wrote: On Tue, 2009-04-07 at 16:39 +0200, Christoph Schmeding wrote: Hello, I have a "child" widget, which is packe

Sensitive child in insensitive parent?

2009-04-07 Thread Christoph Schmeding
Hello, I have a "child" widget, which is packed together with a lot of "siblings" into a "parent" container. Now I want to set the parent with all the siblings insensitive, but keeping my "special child" sensitive. Calling gtk_widget_set_sensitive(parent, FALSE); gtk_widget_set_sensitive(chil

GtkTreeModel / GtkTreeStore for big models

2009-01-26 Thread Christoph Schmeding
Hi I am currently developping a model browser for a car crash application. I am using GTK2.12 to populate all the objects that are in my car crash model. For this I used the standard GtkTreeModel / GtkTreeStore design pattern. When the model is becoming really big (more than 250 000 objets i

Collapse and expand in GtkTreeView

2007-06-07 Thread Christoph Schmeding
Hello! When I expand an item in a GtkTreeView that I just collapsed before, only the first child level of the expanded item is shown. Example: Before collapsing: - Item 1 - Item 11 - Item 111 - Item 112 - Item 12 After collapsing Item 1 and re-expanding it: - Item 1 - Item

GtkCellRenderer for different cells in a same column

2007-05-14 Thread Christoph Schmeding
Hello, I want to develop a window where I can edit the attributes of an object. I will have a first, non-editable column with the name of the attribute, and a second one, editable, with the value. The values have different types, so I want to have different "widget" types (or behaviours or edit