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

« back to all changes in this revision

Viewing changes to docs/reference/pygtk-gtkstatusbar.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:
46
46
      </methodsynopsis>
47
47
      <methodsynopsis language="python">
48
48
        <methodname><link
 
49
linkend="method-gtkstatusbar--remove-message">remove_message</link></methodname>
 
50
        <methodparam><parameter
 
51
                       role="keyword">context_id</parameter></methodparam>
 
52
        <methodparam><parameter
 
53
                       role="keyword">message_id</parameter></methodparam>
 
54
      </methodsynopsis>
 
55
      <methodsynopsis language="python">
 
56
        <methodname><link
49
57
linkend="method-gtkstatusbar--remove">remove</link></methodname>
50
58
        <methodparam><parameter
51
59
                       role="keyword">context_id</parameter></methodparam>
310
318
specified by <parameter>text</parameter> with the specified
311
319
<parameter>context_id</parameter> onto a statusbar's stack and returns a
312
320
message id that that can be used with the <link
313
 
linkend="method-gtkstatusbar--remove"><methodname>remove</methodname>()</link>
 
321
linkend="method-gtkstatusbar--remove-message"><methodname>remove_message</methodname>()</link>
314
322
method.</para>
315
323
 
316
324
    </refsect2>
337
345
 
338
346
    </refsect2>
339
347
 
340
 
    <refsect2 id="method-gtkstatusbar--remove">
341
 
      <title>gtk.Statusbar.remove</title>
 
348
    <refsect2 id="method-gtkstatusbar--remove-message">
 
349
      <title>gtk.Statusbar.remove_message</title>
342
350
 
343
351
      <programlisting><methodsynopsis language="python">
344
 
          <methodname>remove</methodname>
 
352
          <methodname>remove_message</methodname>
345
353
          <methodparam><parameter
346
354
                         role="keyword">context_id</parameter></methodparam>
347
355
          <methodparam><parameter
360
368
        </varlistentry>
361
369
      </variablelist>
362
370
 
363
 
      <para>The <methodname>remove</methodname>() method removes the message
 
371
      <para>The <methodname>remove_message</methodname>() method removes the message
364
372
with the specified <parameter>message_id</parameter> and
365
373
<parameter>context_id</parameter> from the statusbar's message stack.</para>
366
374
 
367
375
    </refsect2>
368
376
 
 
377
    <refsect2 id="method-gtkstatusbar--remove">
 
378
      <title>gtk.Statusbar.remove</title>
 
379
 
 
380
      <warning>
 
381
        <para>This method is deprecated in PyGTK 2.18 and above</para>
 
382
      </warning>
 
383
 
 
384
      <para>This method calls either
 
385
        <link linkend="method-gtkcontainer--remove">gtk.Container.remove</link>
 
386
        or <link linkend="method-gtkstatusbar--remove-message">gtk.Statusbar.remove_message</link>
 
387
        depending on parameters.  The second option is for compatibility only and will be
 
388
        eventually removed.  New code should use <literal>remove</literal> only to remove
 
389
        widgets (as in <literal>gtk.Container</literal> method).  To remove messages, use
 
390
        <link linkend="method-gtkstatusbar--remove-message">gtk.Statusbar.remove_message</link>
 
391
        directly.</para>
 
392
    </refsect2>
 
393
 
369
394
    <refsect2 id="method-gtkstatusbar--set-has-resize-grip">
370
395
      <title>gtk.Statusbar.set_has_resize_grip</title>
371
396