GTK rc binding question



  What would be the correct syntax to have in my .gtkrc.mine file to bind,
say, by Sun 'Copy' key to do a <Ctrl-C>-copy inside a GtkEditable text
field?

  I'm guessing something like:


binding "clipboard_binding"
{
   bind "F16"
   {
      copy_clipboard( editable-ptr?, user-data? );
   }
};


widget "*.GtkEditable" binding "clipboard_binding";


  But how am I supposed to pre-guess the args. for the signal handler?

-- 
=====================- http://www.thalesgroup.com/ -=====================
  Neil Bird   Principal Engineer                     |
       work - mailto:neil bird uk thalesgroup com    |    $> cd /pub
   personal - mailto:neil fnxweb com                 |    $> more beer




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]