~ubuntu-branches/ubuntu/natty/pygtk/natty-proposed

« back to all changes in this revision

Viewing changes to docs/reference/pygtk-gdkevent.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-06-22 16:49:42 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090622164942-19zeltp4z0u5iw72
Tags: 2.15.2-0ubuntu1
* New upstream version:
  - Rename gtk.Statusbar.remove() to gtk.Statusbar.remove_message
  - Allow pango.Context creation 
  - Make gtk.gdk.Pixbuf.add_alpha accept integers, retaining backward
    compatibility accepting also chars 
  - Protect window obj from GC in gtk.window_get_toplevels 
  - Plug huge number of memory leaks in Pango wrappers 
  - Add gtk.gdk.WINDOWING constant 
  - Wrap gdk_pixbuf_apply_embedded_orientation 
  - Modernize constructors of seven more types 
  - Don't free a string we don't own 
  - Some docs tweaking 
* debian/control.in:
  - set vcs location
* debian/patches/02_fix_get_application_info_crash.patch:
  - the change is in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
449
449
        <listitem><literal>gtk.gdk.BUTTON_PRESS</literal></listitem>
450
450
        <listitem><literal>gtk.gdk.BUTTON_RELEASE</literal></listitem>
451
451
        <listitem><literal>gtk.gdk.BUTTON_PRESS</literal></listitem>
452
 
        <listitem><literal>gtk.gdk.2BUTTON_PRESS</literal></listitem>
 
452
        <listitem><literal>gtk.gdk._2BUTTON_PRESS</literal></listitem>
453
453
        <listitem><literal>gtk.gdk.BUTTON_RELEASE</literal></listitem>
454
454
      </orderedlist>
455
455
 
456
456
      <para>Note that the first click is received just like a normal button
457
457
      press, while the second click results in a
458
 
      <literal>gtk.gdk.2BUTTON_PRESS</literal> being received just after the
 
458
      <literal>gtk.gdk._2BUTTON_PRESS</literal> being received just after the
459
459
      <literal>gtk.gdk.BUTTON_PRESS</literal>.</para>
460
460
 
461
461
      <para>Triple-clicks are very similar to double-clicks, except that
462
 
      <literal>gtk.gdk.3BUTTON_PRESS</literal> is inserted after the third
 
462
      <literal>gtk.gdk._3BUTTON_PRESS</literal> is inserted after the third
463
463
      click. The order of the events is:</para>
464
464
 
465
465
      <orderedlist>
466
466
        <listitem><literal>gtk.gdk.BUTTON_PRESS</literal></listitem>
467
467
        <listitem><literal>gtk.gdk.BUTTON_RELEASE</literal></listitem>
468
468
        <listitem><literal>gtk.gdk.BUTTON_PRESS</literal></listitem>
469
 
        <listitem><literal>gtk.gdk.2BUTTON_PRESS</literal></listitem>
 
469
        <listitem><literal>gtk.gdk._2BUTTON_PRESS</literal></listitem>
470
470
        <listitem><literal>gtk.gdk.BUTTON_RELEASE</literal></listitem>
471
471
        <listitem><literal>gtk.gdk.BUTTON_PRESS</literal></listitem>
472
 
        <listitem><literal>gtk.gdk.3BUTTON_PRESS</literal></listitem>
 
472
        <listitem><literal>gtk.gdk._3BUTTON_PRESS</literal></listitem>
473
473
        <listitem><literal>gtk.gdk.BUTTON_RELEASE</literal></listitem>
474
474
      </orderedlist>
475
475