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

« back to all changes in this revision

Viewing changes to docs/reference/gdk/html/multihead.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-09-05 07:16:24 UTC
  • mfrom: (1.3.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 127.
  • Revision ID: james.westby@ubuntu.com-20090905071624-ehjbg50t3hvthzlm
Tags: upstream-2.17.11
Import upstream version 2.17.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
<td valign="top" align="right"></td>
42
42
</tr></table></div>
43
43
<div class="refsect1" title="Overview">
44
 
<a name="id404261"></a><h2>Overview</h2>
 
44
<a name="id504374"></a><h2>Overview</h2>
45
45
<p>
46
46
        Multihead support is based around two main object types:
47
47
        </p>
72
72
        The following code samples demonstrate common usage of the objects described above.
73
73
      </p>
74
74
<div class="example">
75
 
<a name="id418485"></a><p class="title"><b>Example 2. Testing the number of screen on the current display</b></p>
 
75
<a name="id518598"></a><p class="title"><b>Example 2. Testing the number of screen on the current display</b></p>
76
76
<div class="example-contents"><pre class="programlisting">gint num_screen = 0;
77
77
gchar *displayname = NULL;
78
78
GdkScreen **screen_list;
96
96
  }     </pre></div>
97
97
</div>
98
98
<br class="example-break"><div class="example">
99
 
<a name="id401362"></a><p class="title"><b>Example 3. Opening a second display</b></p>
 
99
<a name="id501475"></a><p class="title"><b>Example 3. Opening a second display</b></p>
100
100
<div class="example-contents"><pre class="programlisting">gchar *second_screen_name;
101
101
GdkDisplay *second_display;
102
102
GdkScreen *second_screen;
123
123
<br class="example-break">
124
124
</div>
125
125
<div class="refsect1" title="See Also">
126
 
<a name="id431719"></a><h2>See Also</h2>
 
126
<a name="id531832"></a><h2>See Also</h2>
127
127
<p>
128
128
        </p>
129
129
<div class="variablelist"><table border="0">