On Wed, 9 Jul 2008, Toralf Lund [EMAIL PROTECTED] wrote :
I probably need to reconsider the way the application using modifiers,
though (but I can blame the current setup on someone else), since it's
probably quite common that the window manager wants to use Alt.
It's also quite common for
I have an odd feeling that this is a stupid question because I'm
overlooking something very obvious, but does Alt+Mouse button click have
any special meaning in Gtk?
What I mean to say is, I have an application where I draw to a drawing
area widget, and also handle various events for it by
not sure what's could be going wrong since you didn't supply any code,
but...
first, see the accelerator documentation:
http://library.gnome.org/devel/gtk/stable/gtk-Keyboard-Accelerators.html#gtk-accelerator-set-default-mod-mask
and to see if the ALT key is pressed, in your mouse callback:
richard boaz wrote:
not sure what's could be going wrong since you didn't supply any code,
but...
I thought I would ask some fundamental questions before I presented a
lot of complex code that would more likely than not only confuse
everyone... Or alternatively, I don't want to spend time on
On Wed, 2008-07-09 at 11:56 +0200, Toralf Lund wrote:
richard boaz wrote:
not sure what's could be going wrong since you didn't supply any code,
but...
I thought I would ask some fundamental questions before I presented a
lot of complex code that would more likely than not only confuse
В Срд, 09/07/2008 в 10:32 +0200, Toralf Lund пишет:
I have an odd feeling that this is a stupid question because I'm
overlooking something very obvious, but does Alt+Mouse button click have
any special meaning in Gtk?
What I mean to say is, I have an application where I draw to a drawing
Hans Nieser wrote:
On Wed, 2008-07-09 at 11:56 +0200, Toralf Lund wrote:
[ ... ]
Ah, but it's not the ALT key I don't see, it's the actual button
click/release. That is, the callback simply isn't called, so if I do:
gboolean mouse(GtkWidget *widget, GdkEventButton *event, gpointer nil)
{
Andrew E. Makeev wrote:
В Срд, 09/07/2008 в 10:32 +0200, Toralf Lund пишет:
I have an odd feeling that this is a stupid question because I'm
overlooking something very obvious, but does Alt+Mouse button click have
any special meaning in Gtk?
What I mean to say is, I have an application