Hi Emmanuel,
thank you very much, that's exactly what I needed,

Best regards,
Carlos

When a button press event is triggered, what is the proper way to know if
the user is pressing down the Ctrl key?

I think that this is what you need:

if (event->button == 1 && (event->state & GDK_CONTROL_MASK) != 0)
{
  /* Button 1 with contro clicked */
}

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to