~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/gtk-General.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-09-23 09:50:04 UTC
  • mfrom: (1.5.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 129.
  • Revision ID: james.westby@ubuntu.com-20090923095004-e9xauadn4bjs5n7m
Tags: upstream-2.18.0
Import upstream version 2.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
372
372
to the main loop and await more user input.
373
373
</p>
374
374
<div class="example">
375
 
<a name="id480869"></a><p class="title"><b>Example 2. Typical <code class="function">main</code> function for a GTK+ application</b></p>
 
375
<a name="id429644"></a><p class="title"><b>Example 2. Typical <code class="function">main</code> function for a GTK+ application</b></p>
376
376
<div class="example-contents"><pre class="programlisting">
377
377
int
378
378
main (int argc, char **argv)
813
813
and invoke timeouts etc. while doing some time intensive computation.
814
814
</p>
815
815
<div class="example">
816
 
<a name="id482364"></a><p class="title"><b>Example 3. Updating the GUI during a long computation.</b></p>
 
816
<a name="id431139"></a><p class="title"><b>Example 3. Updating the GUI during a long computation.</b></p>
817
817
<div class="example-contents"><pre class="programlisting">
818
818
        /* computation going on */
819
819
...
1058
1058
icon of the window...
1059
1059
</p>
1060
1060
<div class="example">
1061
 
<a name="id497485"></a><p class="title"><b>Example 4. A persistent window</b></p>
 
1061
<a name="id446273"></a><p class="title"><b>Example 4. A persistent window</b></p>
1062
1062
<div class="example-contents"><pre class="programlisting">
1063
1063
##include &lt;gtk/gtk.h&gt;
1064
1064
int