Re: Sun Cut/Copy/Paste keys
- From: Havoc Pennington <hp redhat com>
- To: "Spear, Don H. Jr." <spear pwfl com>
- Cc: "'gtk-list gnome org'" <gtk-list gnome org>
- Subject: Re: Sun Cut/Copy/Paste keys
- Date: 23 May 2001 18:30:14 -0400
"Spear, Don H. Jr." <spear pwfl com> writes:
> I've seen posts on this subject in the archives but no solutions so I'll
> post once more in hopes someone smarter than me has found the answer. In a
> text window I want to associate the Cut/Copy/Paste keys on a Sun keyboard
> with the text functions. Can this be done?
>
In Gtk 2 it's something like this:
binding "foo" {
bind "<ctrl>F1" {
cut-clipboard
}
}
widget "GtkTextView" binding "foo"
widget "GtkEditable" binding "foo"
Replacing "<ctrl>F1" with whatever the Sun keys send (the name of the
keyval and modifiers, use 'xev' to figure it out).
But it doesn't work in stable GTK.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]