Searched refs:keyval (Results 1 - 19 of 19) sorted by relevance

/inkscape/src/ui/tool/
H A Devent-utils.cpp33 unsigned combine_key_events(guint keyval, gint mask) argument
39 // while the next event is also a key notify with the same keyval and mask,
41 && event_next->key.keyval == keyval
H A Devent-utils.h114 unsigned combine_key_events(guint keyval, gint mask);
/inkscape/src/ui/tools/
H A Dtool-base.cpp237 * Gobbles next key events on the queue with the same keyval and mask. Returns the number of events consumed.
239 gint gobble_key_events(guint keyval, gint mask) { argument
244 // while the next event is also a key notify with the same keyval and mask,
246 == GDK_KEY_RELEASE) && event_next->key.keyval == keyval && (!mask
270 // while the next event is also a key notify with the same keyval and mask,
339 if (time_diff > 500 || event->key.keyval != scroll_keyval) {
346 scroll_keyval = event->key.keyval;
1105 guint keyval = get_group0_keyval(&event->key); local
1107 bool ctrl = ctrl_tip && (MOD__CTRL(event) || (keyval
1133 guint keyval = 0; local
1137 (GdkModifierType) event->state, 0 /*event->key.group*/, &keyval, local
[all...]
H A Dselect-tool.cpp898 guint keyval = get_group0_keyval(&event->key); local
901 || (keyval == GDK_KEY_Alt_L)
902 || (keyval == GDK_KEY_Alt_R)
903 || (keyval == GDK_KEY_Meta_L)
904 || (keyval == GDK_KEY_Meta_R));
906 if (!key_is_a_modifier (keyval)) {
1171 guint keyval = get_group0_keyval(&event->key); local
1172 if (key_is_a_modifier (keyval)) {
1177 || (keyval == GDK_KEY_Alt_L)
1178 || (keyval
[all...]
H A Dconnector-tool.h130 bool _handleKeyPress(guint const keyval);
H A Dtool-base.h248 gint gobble_key_events(guint keyval, gint mask);
H A Darc-tool.cpp301 switch (event->key.keyval) {
H A Dconnector-tool.cpp708 bool ConnectorTool::_handleKeyPress(guint const keyval) { argument
711 switch (keyval) {
H A Dmeasure-tool.cpp590 if ((event->key.keyval == GDK_KEY_Shift_L) || (event->key.keyval == GDK_KEY_Shift_R)) {
/inkscape/src/ui/dialog/
H A Dlivepatheffect-add.cpp115 if (evt->keyval == GDK_KEY_Return) {
118 if (evt->keyval == GDK_KEY_Escape) {
H A Dinput.cpp1849 gchar* name = gtk_accelerator_name(keyEvt->keyval, static_cast<GdkModifierType>(keyEvt->state));
1851 // g_message("%d KEY state:0x%08x 0x%04x [%s]", keyEvt->type, keyEvt->state, keyEvt->keyval, name);
/inkscape/src/
H A Dshortcuts.cpp122 event.keyval = accel_key;
124 guint keyval = Inkscape::UI::Tools::get_group0_keyval (&event); local
127 ( (gdkmodifier & GDK_SHIFT_MASK) || ( accel_key != keyval) ?
596 guint keyval=gdk_keyval_from_name(keyval_name); local
597 if (keyval == GDK_KEY_VoidSymbol || keyval == 0) {
598 g_warning("Unknown keyval %s for %s", keyval_name, verb_name);
625 sp_shortcut_set(keyval | modifiers, verb, is_primary, is_user_set);
H A Ddevice-manager.h61 virtual void setKey( Glib::ustring const & id, guint index, guint keyval, Gdk::ModifierType mods ) = 0;
H A Ddevice-manager.cpp313 virtual void setKey( Glib::ustring const & id, guint index, guint keyval, Gdk::ModifierType mods );
440 guint keyval; local
442 device->get_key(i, keyval, modifiers);
443 Gtk::AccelKey accelkey(keyval, modifiers);
495 void DeviceManagerImpl::setKey( Glib::ustring const & id, guint index, guint keyval, Gdk::ModifierType mods ) argument
497 //static void setDeviceKey( GdkDevice* device, guint index, guint keyval, GdkModifierType modifiers )
504 device->set_key(index, keyval, mods);
H A Dmain.cpp982 guint keyval = 0; local
991 keyval = Inkscape::UI::Tools::get_group0_keyval(&event->key);
992 if (keyval == GDK_KEY_Alt_L) altL_pressed = TRUE;
993 if (keyval == GDK_KEY_Alt_R) altR_pressed = TRUE;
1002 keyval = Inkscape::UI::Tools::get_group0_keyval(&event->key);
1003 if (keyval == GDK_KEY_Alt_L) altL_pressed = FALSE;
1004 if (keyval == GDK_KEY_Alt_R) altR_pressed = FALSE;
H A Dinkview.cpp117 switch (event->keyval) {
/inkscape/src/widgets/
H A Dselect-toolbar.cpp78 struct { char const *key; double val; } const keyval[] = { local
87 for (unsigned i = 0; i < G_N_ELEMENTS(keyval); ++i) {
88 GtkAdjustment *a = GTK_ADJUSTMENT(g_object_get_data(G_OBJECT(spw), keyval[i].key));
90 tracker->setFullVal( a, keyval[i].val );
93 for (unsigned i = 0; i < G_N_ELEMENTS(keyval); ++i) {
94 GtkAdjustment *a = GTK_ADJUSTMENT(g_object_get_data(G_OBJECT(spw), keyval[i].key));
95 gtk_adjustment_set_value(a, Quantity::convert(keyval[i].val, "px", unit));
H A Dimage-menu-item.c913 if (stock_item.keyval)
918 stock_item.keyval,
/inkscape/src/libgdl/
H A Dgdl-dock-item.c1246 if (event->keyval == GDK_Escape) {

Completed in 2045 milliseconds