Re: How to remove predefined keys for widget ???



>"TextView" widget has some predefined keys (e.g. Control-Home move "mark
>insert" to the top of text)
>and I would like to redefine them.
>
>How can I remove the default keys?

attach a handler to the key_press and key_release events, and handle
them yourself, returning TRUE to indicate that the events have been
handled. 

--p



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]