1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>GAMGI Formats: Window Create</title>
<link rel="icon" type="image/png" href="../../icon/gamgi16.png"/>
<link rel="stylesheet" type="text/css" href="../../css/base.css"/>
<link rel="stylesheet" type="text/css" href="../../css/notebook.css"/>
</head>
<body>
<h1>Window Create</h1>
<div id="notebook">
<ul>
<li><span>Position</span></li>
<li><a href="create_view.html">View</a></li>
</ul>
</div>
<div class="contents">
<h3>x, y</h3>
Set (in pixels) the window position (the top left corner).
<b>x</b>, <b>y</b> can be negative (meaning that the window top
left corner is outside the visible screen), but must be in the
range [-screen, +screen], otherwise an error is shown.
<pre>
Example: <b><window ... x="10" y="10"/></b> (default)
(defined in <b>GAMGI_GTK_WINDOW_ORIGIN_X</b> and <b>GAMGI_GTK_WINDOW_ORIGIN_Y</b>)
Allowed values: -screen_width < x < screen_width,
-screen_height < y < screen_height (optional, coupled)
</pre>
<h3>width, height</h3>
Set (in pixels) the window dimensions. <b>width</b>, <b>height</b> must be between
the minimum window dimensions and two times the screen size, otherwise an error is shown.
<pre>
Example: <b><window ... width="750" height="550"/></b> (default)
(defined in <b>GAMGI_GTK_WINDOW_WIDTH</b> and <b>GAMGI_GTK_WINDOW_HEIGHT</b>)
Allowed values: GAMGI_GTK_WINDOW_WIDTH_MIN < x < 2 * screen_width,
GAMGI_GTK_WINDOW_HEIGHT_MIN < y < 2 * screen_height (optional, coupled)
</pre>
</div>
<div id="bottom">
<a href="../../index.shtml">Home</a>
</div>
</body>
</html>
|