GDK_ACTION_MOVE by default
- From: Enrico TrÃger <enrico troeger uvena de>
- To: gtk-app-devel-list gnome org
- Subject: GDK_ACTION_MOVE by default
- Date: Mon, 10 Jul 2006 01:47:59 +0200
Hi,
the following code snippet is from Scintilla:
gtk_drag_dest_set(GTK_WIDGET(PWidget(wMain)), GTK_DEST_DEFAULT_ALL,
clipboardTargets, nClipboardTargets, static_cast<GdkDragAction>
(GDK_ACTION_MOVE | GDK_ACTION_COPY));
as you can see, the actions mask is set to move and copy.
In the DragDataGet callback the flag "context->action" is (on my
system) set to GDK_ACTION_COPY.
I can change it by pressing shift, then the passed value is
GDK_ACTION_MOVE. Is there another way for a permanent change, something
like a configuration option in ~/.gtkrc-2.0?
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
Geany, a lightweight IDE using GTK2 - http://geany.uvena.de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]