nobody at rubyforge.org
2007-May-05 14:06 UTC
[Wxruby-development] [1015] trunk/wxruby2/doc/textile/sizer.txtl: Clarify that size_t should be a ruby Integer
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type"
content="text/html; charset=utf-8" /><style
type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:'':'';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family:
verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;
font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding:
6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid;
padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family:
verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch
.binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[1015] trunk/wxruby2/doc/textile/sizer.txtl: Clarify that size_t
should be a ruby Integer</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>1015</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-05-05 10:06:25 -0400 (Sat, 05 May
2007)</dd>
</dl>
<h3>Log Message</h3>
<pre>Clarify that size_t should be a ruby Integer</pre>
<h3>Modified Paths</h3>
<ul>
<li><a
href="#trunkwxruby2doctextilesizertxtl">trunk/wxruby2/doc/textile/sizer.txtl</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwxruby2doctextilesizertxtl"></a>
<div class="modfile"><h4>Modified:
trunk/wxruby2/doc/textile/sizer.txtl (1014 => 1015)</h4>
<pre class="diff"><span>
<span class="info">---
trunk/wxruby2/doc/textile/sizer.txtl        2007-05-05
10:06:29 UTC (rev 1014)
+++
trunk/wxruby2/doc/textile/sizer.txtl        2007-05-05
14:06:25 UTC (rev 1015)
</span><span class="lines">@@ -381,7 +381,7 @@
</span><span class="cx">
</span><span class="cx"> Boolean
*remove*(%(arg-type)Sizer% sizer)
</span><span class="cx">
</span><del>- Boolean *remove*(%(arg-type)size_t% index)
</del><ins>+ Boolean *remove*(%(arg-type)Integer% index)
</ins><span class="cx">
</span><span class="cx"> Removes a child from the sizer
and destroys it. _sizer_ is the Sizer to
</span><span class="cx"> be removed, _index_ is the
position of the child in the sizer, typically
</span><span class="lines">@@ -389,8 +389,8 @@
</span><span class="cx"> to take place, call
"Sizer#layout":sizer.html#Sizer_layout to update the
</span><span class="cx"> layout "on screen"
after removing a child from the sizer.
</span><span class="cx">
</span><del>-If you have a variable holding a Window you want to
remove from a sizer,
-use "Sizer#detach":sizer.html#Sizer_detach instead.
</del><ins>+If you have a variable holding a
"Window":window.html you want to remove
+from a sizer, use "Sizer#detach":sizer.html#Sizer_detach instead.
</ins><span class="cx">
</span><span class="cx"> Returns true if the child item
was found and removed, false otherwise.
</span><span class="cx">
</span><span class="lines">@@ -425,7 +425,7 @@
</span><span class="cx">
*set_item_min_size*(%(arg-type)Sizer% sizer, %(arg-type)Integer% width,
</span><span class="cx">
%(arg-type)Integer% height)
</span><span class="cx">
</span><del>- *set_item_min_size*(%(arg-type)size_t% index,
%(arg-type)Integer% width,
</del><ins>+ *set_item_min_size*(%(arg-type)Integer% index,
%(arg-type)Integer% width,
</ins><span class="cx">
%(arg-type)Integer% height)
</span><span class="cx">
</span><span class="cx"> Set an item''s minimum
size by window, sizer, or position. The item will be found recursively
</span><span class="lines">@@ -463,7 +463,7 @@
</span><span class="cx"> Boolean *show*(%(arg-type)Sizer%
sizer, %(arg-type)Boolean% show = true,
</span><span class="cx"> %(arg-type)Boolean%
recursive = false)
</span><span class="cx">
</span><del>- Boolean *show*(%(arg-type)size_t% index,
%(arg-type)Boolean% show = true)
</del><ins>+ Boolean *show*(%(arg-type)Integer% index,
%(arg-type)Boolean% show = true)
</ins><span class="cx">
</span><span class="cx"> Shows or hides the _window_,
_sizer_, or item at _index_.
</span><span class="cx"> To make a sizer item disappear or
reappear, use Show() followed by Layout().
</span></span></pre>
</div>
</div>
</body>
</html>
Reasonably Related Threads
- [749] trunk/wxruby2: Bring the documentation and actual method support into line for
- [840] trunk/wxruby2/doc/textile/boxsizer.txtl: Add methods listing, remove one bad link and not-for-user method descriptions
- [869] trunk/wxruby2/doc/textile/stddialogbuttonsizer.txtl: Added missing methods listing section
- [865] trunk/wxruby2/doc/textile/gridsizer.txtl: Added missing methods section
- [785] trunk/wxruby2/doc/textile/window.txtl: Remove set_constraints, correct docs for set_dimensions and set_size
