Logo Search packages:      
Sourcecode: inkscape version File versions

modifier-fns.h File Reference

Detailed Description

Functions on GdkEventKey.state that test modifier keys.

The MOD__SHIFT macro in macros.h is equivalent to mod_shift(event->key.state).

Definition in file modifier-fns.h.

#include <gdk/gdktypes.h>
#include <glib/gtypes.h>

Go to the source code of this file.


bool mod_alt (guint const state)
bool mod_alt_only (guint const state)
bool mod_ctrl (guint const state)
bool mod_ctrl_only (guint const state)
bool mod_shift (guint const state)
bool mod_shift_only (guint const state)

Generated by  Doxygen 1.6.0   Back to index