Re: gtk-app-devel-list Digest, Vol 140, Issue 4
- From: Joël Krähemann <weedlight gmail com>
- To: Friedrich Beckmann <friedrich beckmann gmx de>
- 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 22:45:06 +0100
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 beckmann 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 <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]