<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inkscape.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=St8Yqb</id>
	<title>Inkscape Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inkscape.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=St8Yqb"/>
	<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/Special:Contributions/St8Yqb"/>
	<updated>2026-05-01T09:49:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.inkscape.org/wiki/index.php?title=EventContextGrab&amp;diff=14113</id>
		<title>EventContextGrab</title>
		<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=EventContextGrab&amp;diff=14113"/>
		<updated>2007-04-11T12:24:23Z</updated>

		<summary type="html">&lt;p&gt;St8Yqb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As first discussed in [[InkscapeTamed]], keyboard events are sent to the event context handlers (both global in event-context.c and tool-specific e.g. select-context.c) ONLY when the mouse is over the canvas. &lt;br /&gt;
&lt;br /&gt;
Simple experiment: move a shape by arrows. This works while the mouse cursor is over the document window but stops as soon as you move mouse away from it, even if the document window still has focus. Global verbs like   and - and ctrl-q always work. We cannot however make tool-specific shortcuts global verbs.&lt;br /&gt;
&lt;br /&gt;
* Mental writes:&lt;br /&gt;
&lt;br /&gt;
Grabbing focus between widgets is accomplished via&lt;br /&gt;
gtk_widget_grab_focus().  The widget will need to have the GTK_CAN_FOCUS&lt;br /&gt;
flag set, however. I've taken care of the latter half in desktop.c now (setting the&lt;br /&gt;
CAN_FOCUS widget flag).&lt;br /&gt;
&lt;br /&gt;
I guess what remains is just determining when it would be appropriate to&lt;br /&gt;
call gtk_widget_grab_focus() on the canvas widget.&lt;br /&gt;
&lt;br /&gt;
* bb writes:&lt;br /&gt;
&lt;br /&gt;
I cannot make it work. I added&lt;br /&gt;
 &lt;br /&gt;
 	gtk_widget_grab_focus (&lt;/div&gt;</summary>
		<author><name>St8Yqb</name></author>
	</entry>
</feed>