Hi Friedrich Doesn't the property work for you?
g_object_set(var_sheet, "activate-on-single-click", TRUE, NULL); cheers, Joël On Fri, Dec 11, 2015 at 9:29 PM, Friedrich Beckmann <friedrich.beckm...@gmx.de> wrote: > Hi Joel, > > thanks for the answer. I guess this is not a race condition. What I want to > achieve > is to edit cells as in a spreadsheet. That means > > A single click starts the editing mode > > With gtktreeview I need a first click to select the cell and a second click > to start editing. Do you > maybe imagine a way how the editing could be started with a single click? > The code is here: > > http://git.savannah.gnu.org/cgit/pspp.git/tree/src/ui/gui/psppire-var-sheet.c?h=treeview > > Friedrich > > > Am 11.12.2015 um 18:26 schrieb Joël Krähemann <weedli...@gmail.com>: > > Hi Friedrich, try to stay on objectives. Do you use an IPC mechanism, > or is it a separate thread? > A callback is called by g_main_context_iteration() of gtk_main() it's > polled some how. > More code would be great and better information about it. > > If it's a multi-threaded issue you might want to take a look at GMutex > and GCond. > With g_mutex_lock() and g_mutex_unlock() you're normally well served. > > Bests, > Joël Krähemann > > > > > > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list