~ubuntu-branches/ubuntu/karmic/gtk+2.0/karmic

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-10-18 13:23:44 UTC
  • mfrom: (1.2.34 upstream) (72.4.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091018132344-r1cs74dpetruebob
Tags: 2.18.3-1
* New upstream bugfix release:
  + debian/patches/070_mandatory-relibtoolize.patch:
    - Updated for the new version.
* debian/patches/091_dont-omit-gtk-icon-size-dialog.patch:
  + Patch from upstream GIT to not omit GTk_ICON_SIZE_DIALOG
    when searching for an appropiate icon size.
* debian/patches/092_gtk-image-size-allocation.patch:
  + Patch from upstream GIT to fix size allocation of GtkImage.

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="id619183"></a><p class="title"><b>Example 2. Typical <code class="function">main</code> function for a GTK+ application</b></p>
 
375
<a name="id536205"></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)
828
828
and invoke timeouts etc. while doing some time intensive computation.
829
829
</p>
830
830
<div class="example">
831
 
<a name="id620704"></a><p class="title"><b>Example 3. Updating the GUI during a long computation.</b></p>
 
831
<a name="id537726"></a><p class="title"><b>Example 3. Updating the GUI during a long computation.</b></p>
832
832
<div class="example-contents"><pre class="programlisting">
833
833
        /* computation going on */
834
834
...
1073
1073
icon of the window...
1074
1074
</p>
1075
1075
<div class="example">
1076
 
<a name="id635872"></a><p class="title"><b>Example 4. A persistent window</b></p>
 
1076
<a name="id552893"></a><p class="title"><b>Example 4. A persistent window</b></p>
1077
1077
<div class="example-contents"><pre class="programlisting">
1078
1078
##include &lt;gtk/gtk.h&gt;
1079
1079
int