Menu

gtkrc: is there a reference anywhere?

Falco98
2007-05-06
2013-01-14
  • Falco98

    Falco98 - 2007-05-06

    I currently have my gtkrc file edited to support "control+enter to send" via the examples that are numerously available.  I'm curious, though, whether there are actually any references anywhere for other functions to manually remap?  I've been searching everywhere I can think of for the past 2 days and can't really come up with anything.

    For example:  I really want to re-map Ctrl+L to do the "insert link" function (especially as there seems to be no shortcut for it already, have to manually mouse-click).  I don't mind losing the "clear backlog" function, I would never use it other than by accident (and if i ever do, i know where it lives in the menu, so there).  My problem is, I have no idea what the function-call thing would actually be.
    Like, for "enter inserts a newline", the function-call is { "insert-at-cursor" ("\n") }
    And then to set ctrl-enter to send a message, it's { "message_send" () }
    (the examples have it use ctrl-S but that was easy to change)...

    So now I have the following line of code added to try to remap ctrl-L:
    bind "<ctrl>L" { "????????????" () }

    where can I figure out what goes in place of the ??s?

     
    • Etan Reisner

      Etan Reisner - 2007-05-06

      There is no list like that for pidgin functions, the GTK+ developer documentation has such lists for their widgets but reading them is not always easy. I'm not sure you can bind something to insert_link at the moment, though adding the ability to do that is likely not too difficult, you should probably file a ticket on the new website asking for the ability to do this (and for a list of the bindable functions of which there are only a couple in pidgin itself).

       
      • Falco98

        Falco98 - 2007-05-06

        ah, thanks.. i might try that if i have time and/or can figure it out, hehe.