Re: gtk-app-devel-list Digest, Vol 140, Issue 4
- From: Friedrich Beckmann <friedrich beckmann gmx de>
- To: Joël Krähemann <weedlight gmail com>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: gtk-app-devel-list Digest, Vol 140, Issue 4
- Date: Fri, 11 Dec 2015 21:29:21 +0100
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 <weedlight 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]