Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GTK2 custom keybindings и двойной Return
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Laitr Keiows
Moderator
Moderator


Joined: 04 Jul 2005
Posts: 891
Location: Kobe, Japan

PostPosted: Mon Apr 10, 2006 9:04 am    Post subject: GTK2 custom keybindings и двойной Return Reply with quote

Собственно сабж, есть такие строчки:

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? Заранее спасибо.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum