title: python-keybinder and right hotkey string
body: <p>Python-keybinder is used to set global hotkeys in my program. GtkToggleButton widget is used to retrieve keybinding from user (key-press-event/key-release-event).</p>
  
  <p>User presses togglebutton and presses some keys (Left Control + t, f.e.). Togglebutton`s event (key-press-event) returns "Control_L" and "t". Program saves this into string "t" and calls keybinder.bind("t", callback). User presses that hotkey and ... nothing happens. I found strange thing after some time of digging - keybinder understands "Control" (without _L/_R), "Alt" etc, and does not understand "Control_L", "Alt_L"...
  Documentation says next:</p>
  
  <p>Text from python-keybinder documentation:</p>
  
  <pre><code>bind(...)
      bind (keystring, callback, user_data) -&gt; bool
  
      Keystring should be in the format understood by
      gtk.accelerator_parse. An example is '&lt;Ctrl&gt;space'.
  </code></pre>
  
  <p>Text from gtk/gtkaccelgroup.c:</p>
  
  <ul>
  <li>gtk_accelerator_parse:
  *</li>
  <li>Parses a string representing an accelerator. The</li>
  <li>format looks like "&lt;Control&gt;a" or "&lt;Shift&gt;&lt;Alt&gt;F1" or</li>
  <li>"&lt;Release&gt;z" (the last one is for key release).</li>
  <li>The parser is fairly liberal and allows lower or upper case,</li>
  <li>and also abbreviations such as "&lt;Ctl&gt;" and "&lt;Ctrl&gt;".</li>
  <li>Key names are parsed using gdk_keyval_from_name().</li>
  </ul>
  
  <p>Text from gdk/gdkkeynames.c:</p>
  
  <ul>
  <li>gdk_keyval_from_name:
  *</li>
  <li>Converts a key name to a key value.
  *</li>
  <li>The names are the same as those in the</li>
  <li>&lt;gdk/gdkkeysyms.h&gt; header file</li>
  <li>but without the leading "GDK_KEY_".</li>
  </ul>
  
  <p>Ok, and at last text from gdk/gdkkeysyms.h:</p>
  
  <pre><code>205 #define GDK_KEY_Control_L 0xffe3
  206 #define GDK_KEY_Control_R 0xffe4
  </code></pre>
  
  <p>How can I set and use keybinder without replacing "Control_L" to "Control", "Alt_L" to "Alt" and etc?</p>
  
  <p>Upd: Linux, Python 2.4-2.7</p>
  
  <p>Upd2: I want to see difference between "left control" and "right control" and use these keys as different buttons. How can I do this with gtk.accelerator_parse()? Is there a way?</p>
  
  <p>Thnx.</p>