Adding Key bindings to Text widgets
- From: Vivek Dasmohapatra <vivek etla org>
- To: gtk-devel-list gnome org
- Subject: Adding Key bindings to Text widgets
- Date: Wed, 31 Jan 2001 16:38:50 +0000 (GMT)
Hi: I'm trying to add key bindings to text widgets, [specifically, I want
to bind <alt> / to a word complation function ]
I found the following, but I can't find any examples of it's use:
signalname (param, ...)
Presumably something like:
bind "<alt> slash"
widget "*GtkText" bind "meta_slash"
[ I'm assuming the key names here are those from keysymdef.h with the XK
But I'm not sure what 'param' should be.
Is this the right approach? Also, do I have to use a gtkrc file to do
this, or is there a purely in-program way of doing this?
] [Thread Prev