nobody at rubyforge.org
2007-Apr-13 19:14 UTC
[Wxruby-development] [952] branches/wxruby2/wxwidgets_282/doc/textile/gridcellattr.txtl: Doc fix from Wx 2.8
<!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>[952] branches/wxruby2/wxwidgets_282/doc/textile/gridcellattr.txtl: Doc fix from Wx 2.8</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>952</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-04-13 15:14:26 -0400 (Fri, 13 Apr 2007)</dd> </dl> <h3>Log Message</h3> <pre>Doc fix from Wx 2.8</pre> <h3>Modified Paths</h3> <ul> <li><a href="#brancheswxruby2wxwidgets_282doctextilegridcellattrtxtl">branches/wxruby2/wxwidgets_282/doc/textile/gridcellattr.txtl</a></li> </ul> </div> <div id="patch"> <h3>Diff</h3> <a id="brancheswxruby2wxwidgets_282doctextilegridcellattrtxtl"></a> <div class="modfile"><h4>Modified: branches/wxruby2/wxwidgets_282/doc/textile/gridcellattr.txtl (951 => 952)</h4> <pre class="diff"><span> <span class="info">--- branches/wxruby2/wxwidgets_282/doc/textile/gridcellattr.txtl        2007-04-13 19:14:02 UTC (rev 951) +++ branches/wxruby2/wxwidgets_282/doc/textile/gridcellattr.txtl        2007-04-13 19:14:26 UTC (rev 952) </span><span class="lines">@@ -47,15 +47,16 @@ </span><span class="cx"> %(arg-type)Integer% hAlign, </span><span class="cx"> %(arg-type)Integer% vAlign) </span><span class="cx"> </span><del>-VZ: considering the number of members GridCellAttr has now, this ctor -seems to be pretty useless... may be we should just remove it? </del><ins>+Constructor specifying some of the often used attributes. </ins><span class="cx"> </span><ins>+ </ins><span class="cx"> h3(#GridCellAttr_clone). GridCellAttr#clone </span><span class="cx"> </span><span class="cx"> "GridCellAttr":gridcellattr.html *clone*() </span><span class="cx"> </span><span class="cx"> Creates a new copy of this object. </span><span class="cx"> </span><ins>+ </ins><span class="cx"> h3(#GridCellAttr_incref). GridCellAttr#inc_ref </span><span class="cx"> </span><span class="cx"> *inc_ref*() </span><span class="lines">@@ -64,6 +65,7 @@ </span><span class="cx"> calling DecRef() once will delete it. Calling IncRef() allows to lock </span><span class="cx"> it until the matching DecRef() is called </span><span class="cx"> </span><ins>+ </ins><span class="cx"> h3(#GridCellAttr_decref). GridCellAttr#dec_ref </span><span class="cx"> </span><span class="cx"> *dec_ref*() </span><span class="lines">@@ -74,24 +76,30 @@ </span><span class="cx"> </span><span class="cx"> Sets the text colour. </span><span class="cx"> </span><ins>+ </ins><span class="cx"> h3(#GridCellAttr_setbackgroundcolour). GridCellAttr#set_background_colour </span><span class="cx"> </span><span class="cx"> *set_background_colour*(%(arg-type)Colour% colBack) </span><span class="cx"> </span><span class="cx"> Sets the background colour. </span><span class="cx"> </span><ins>+ </ins><span class="cx"> h3(#GridCellAttr_setfont). GridCellAttr#set_font </span><span class="cx"> </span><span class="cx"> *set_font*(%(arg-type)Font% font) </span><span class="cx"> </span><span class="cx"> Sets the font. </span><span class="cx"> </span><ins>+ </ins><span class="cx"> h3(#GridCellAttr_setalignment). GridCellAttr#set_alignment </span><span class="cx"> </span><span class="cx"> *set_alignment*(%(arg-type)Integer% hAlign, %(arg-type)Integer% vAlign) </span><span class="cx"> </span><del>-Sets the alignment. </del><ins>+Sets the alignment. hAlign can be one of @ALIGN_LEFT@, +@ALIGN_CENTRE@ or @ALIGN_RIGHT@ and vAlign can be one +of @ALIGN_TOP@, @ALIGN_CENTRE@ or @ALIGN_BOTTOM@. </ins><span class="cx"> </span><ins>+ </ins><span class="cx"> h3(#GridCellAttr_setreadonly). GridCellAttr#set_read_only </span><span class="cx"> </span><span class="cx"> *set_read_only*(%(arg-type)Boolean% isReadOnly = true) </span><span class="lines">@@ -162,6 +170,9 @@ </span><span class="cx"> </span><span class="cx"> </span><span class="cx"> </span><ins>+See "set_alignment":#GridCellAttr_setalignment for the returned values. + + </ins><span class="cx"> h3(#GridCellAttr_getrenderer). GridCellAttr#get_renderer </span><span class="cx"> </span><span class="cx"> "GridCellRenderer":gridcellrenderer.html *get_renderer*(%(arg-type)Grid% grid, </span></span></pre> </div> </div> </body> </html>
Possibly Parallel Threads
- [873] trunk/wxruby2/swig/classes/GridCellAttr.i: Prevent GC prematurely cleaning up GridCellAttr-related classes
- [964] branches/wxruby2/wxwidgets_282/doc/textile/dialog.txtl: Fixed spelling mistake in sample.
- [908] branches/wxruby2/wxwidgets_282/doc/textile/control.txtl: Add note on use of ampersand characters in Wx::Control labels
- [909] branches/wxruby2/wxwidgets_282/doc/textile/combobox.txtl: Correct disambiguated method names in methods listing
- [935] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Correct method signature of Listbox#get_selections method