Please check references for gtk and gdk. I just did that and came with a simple
example showing the keyBindings. Please note that it's not tested as I
currently don't have gtk installed on my machine.
static gboolean keyBindings( GtkWidget *widget,
GdkEvent *event
Thanks, that's gotten me on the right track now.
Neil
On 18 October 2011 17:04, Dong Luo us...@yahoo.com wrote:
Please check references for gtk and gdk. I just did that and came with a
simple example showing the keyBindings. Please note that it's not tested as
I currently don't have gtk
I think this is what you want, though I am not 100% sure:
http://developer.gnome.org/gtk3/stable/gtk3-Keyboard-Accelerators.html
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 17 October 2011 15:54, Dong Luo us...@yahoo.com wrote:
Hi,
I did not use gtk recently. But I figure you can just let the toplevel
widget response to the signal of key-press-event and do what ever
Keybindings you want there.
Dong
Could you show me an example as I have figured out
Hi all
I want to simply press a keybinding and run a function that shows
hidden widgets is this possible and if so, how? It strikes me as something
not too difficult, but I am a self taught C programmer so I may simply not
know what such a thing would be called. I have already used an
to unbind all the
keybindings associated with a particular widgit. Is there?
What I want to have is this:
A GtkEntry that does not respond to Left, Right, Insert, or any
other keybindings or key presses so that I can handle them myself as
key_press_events.
Well, if you connect
On 6/14/07, Justin Stallard [EMAIL PROTECTED] wrote:
Hi,
I've looked through the tutorial, faq, API doc, and even google and I
can't seem to find out if there's some way to unbind all the
keybindings associated with a particular widgit. Is there?
What I want to have is this:
A GtkEntry
On 6/15/07, Eduardo M KALINOWSKI [EMAIL PROTECTED] wrote:
On 6/14/07, Justin Stallard [EMAIL PROTECTED] wrote:
Hi,
I've looked through the tutorial, faq, API doc, and even google and I
can't seem to find out if there's some way to unbind all the
keybindings associated with a particular
Hi,
I've looked through the tutorial, faq, API doc, and even google and I
can't seem to find out if there's some way to unbind all the
keybindings associated with a particular widgit. Is there?
What I want to have is this:
A GtkEntry that does not respond to Left, Right, Insert, or any
other
Check this out: http://www.gtk.org/tutorial/x201.html,
connect the right signal and you're on your way.
Thank you very much! I was caught up looking through all the keybinding
information, which appears on the surface to be what I was looking for.
This works perfectly.
-Nate
Does anyone know of a tutorial (or even documentation with comments) that
explains how to connect key presses to functions? The API has a short
list of functions, but I'm not having much luck figuring out what to do
with them.
Any help is appreciated!
Hi.
On 6/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Does anyone know of a tutorial (or even documentation with comments) that
explains how to connect key presses to functions?
Check this out: http://www.gtk.org/tutorial/x201.html,
connect the right signal and you're on your way.
On Tue, 2006-05-16 at 21:59 +0200, Enrico Tröger wrote:
Users of my app asked for changeable keys, so I thought I make all
changeable. Now I'm convinced, I make only these changeable, which my
app itself defines, and I will let all stock items on their default.
gtk+ menu shortcuts (but not
Enrico Tröger wrote:
On Sun, 14 May 2006 18:59:35 +0200, Enrico Tröger
[EMAIL PROTECTED] wrote:
Hi,
is there an easy way of changing the default keybindings of stock
items? For example in a file menu, a menu item with the stock id
gtk-open gets (on my system) CTRL-O. Can this be changed
Hi,
is there an easy way of changing the default keybindings of stock items?
For example in a file menu, a menu item with the stock id gtk-open gets
(on my system) CTRL-O. Can this be changed and if how?
I read a bit through the API, but didn't find a way.
Thanks.
Enrico
--
Get my GPG key from
15 matches
Mail list logo