Laitr Keiows Bodhisattva
Joined: 04 Jul 2005 Posts: 891 Location: Kobe, Japan
|
Posted: Mon Apr 10, 2006 9:04 am Post subject: GTK2 custom keybindings и двойной Return |
|
|
Собственно сабж, есть такие строчки:
Code: | binding "my-bindings"
{
# enter inserts a newline
bind "Return" { "insert-at-cursor" ("\n") }
# ctrl-s sends message
bind "s" { "message_send" () }
# shift-f1 toggles bold
bind "F1" { "format_function_toggle" (1) }
# alt-f2 toggles italic
bind "F2" { "format_function_toggle" (2) }
# Ctrl-alt-shift-f3 toggles underline
bind "F3" { "format_function_toggle" (4) }
# Ctrl-f1 resets the formatting
bind "F1" { "format_function_clear" () }
} |
Вопрос такой: как сделать bind на двойной Return? Заранее спасибо. |
|