Re: uri_dropped, "drag commands" - detecting if user is holding down a key

From: mitchell <>
Date: Sun, 25 Jan 2009 16:14:43 -0800 (PST)


> Thank you for looking into this. I don't think SCN_URIDROPPED would be
> the right place for this either. It is a more general problem of being
> able anywhere in Textadept Lua code to query the OS if a modifier key
> is on. This can be useful outside of the uri_dropped event. Is it
> possible to expose this information from the C core to Lua?

Unfortunately I can't think of a way. GTK+ notifies Textadept when a
key is pressed along with any modifiers. I don't see how asking GTK+
for modifiers is possible.
Received on Sun 25 Jan 2009 - 19:14:43 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:37:08 EST