nobody at rubyforge.org
2007-Mar-18 10:16 UTC
[Wxruby-development] [894] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl: Document changed Window methods in 2.6 -> 2.8 API
<!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>[894] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl:
Document changed Window methods in 2.6 -> 2.8 API</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>894</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-03-18 06:16:02 -0400 (Sun, 18 Mar
2007)</dd>
</dl>
<h3>Log Message</h3>
<pre>Document changed Window methods in 2.6 -> 2.8 API</pre>
<h3>Modified Paths</h3>
<ul>
<li><a
href="#brancheswxruby2wxwidgets_282doctextilewindowtxtl">branches/wxruby2/wxwidgets_282/doc/textile/window.txtl</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a
id="brancheswxruby2wxwidgets_282doctextilewindowtxtl"></a>
<div class="modfile"><h4>Modified:
branches/wxruby2/wxwidgets_282/doc/textile/window.txtl (893 =>
894)</h4>
<pre class="diff"><span>
<span class="info">---
branches/wxruby2/wxwidgets_282/doc/textile/window.txtl        2007-03-18
09:36:20 UTC (rev 893)
+++
branches/wxruby2/wxwidgets_282/doc/textile/window.txtl        2007-03-18
10:16:02 UTC (rev 894)
</span><span class="lines">@@ -65,10 +65,8 @@
</span><span class="cx"> *
"Window#capture_mouse":#Window_capturemouse
</span><span class="cx"> *
"Window#center":#Window_center
</span><span class="cx"> *
"Window#center_on_parent":#Window_centeronparent
</span><del>-*
"Window#center_on_screen":#Window_centeronscreen
</del><span class="cx"> *
"Window#centre":#Window_centre
</span><span class="cx"> *
"Window#centre_on_parent":#Window_centreonparent
</span><del>-*
"Window#centre_on_screen":#Window_centreonscreen
</del><span class="cx"> *
"Window#clear_background":#Window_clearbackground
</span><span class="cx"> *
"Window#client_to_screen":#Window_clienttoscreen
</span><span class="cx"> *
"Window#close":#Window_close
</span><span class="lines">@@ -91,7 +89,6 @@
</span><span class="cx"> *
"Window#freeze":#Window_freeze
</span><span class="cx"> *
"Window#get_accelerator_table":#Window_getacceleratortable
</span><span class="cx"> *
"Window#get_accessible":#Window_getaccessible
</span><del>-*
"Window#get_adjusted_best_size":#Window_getadjustedbestsize
</del><span class="cx"> *
"Window#get_background_colour":#Window_getbackgroundcolour
</span><span class="cx"> *
"Window#get_background_style":#Window_getbackgroundstyle
</span><span class="cx"> *
"Window#get_best_fitting_size":#Window_getbestfittingsize
</span><span class="lines">@@ -108,6 +105,7 @@
</span><span class="cx"> *
"Window#get_cursor":#Window_getcursor
</span><span class="cx"> *
"Window#get_default_attributes":#Window_getdefaultattributes
</span><span class="cx"> *
"Window#get_drop_target":#Window_getdroptarget
</span><ins>+*
"Window#get_effective_best_size":#Window_geteffectivebestsize
</ins><span class="cx"> *
"Window#get_event_handler":#Window_geteventhandler
</span><span class="cx"> *
"Window#get_extra_style":#Window_getextrastyle
</span><span class="cx"> *
"Window#get_font":#Window_getfont
</span><span class="lines">@@ -129,7 +127,6 @@
</span><span class="cx"> *
"Window#get_size":#Window_getsize
</span><span class="cx"> *
"Window#get_sizer":#Window_getsizer
</span><span class="cx"> *
"Window#get_text_extent":#Window_gettextextent
</span><del>-* "Window#get_title":#Window_gettitle
</del><span class="cx"> *
"Window#get_tool_tip":#Window_gettooltip
</span><span class="cx"> *
"Window#get_update_region":#Window_getupdateregion
</span><span class="cx"> *
"Window#get_validator":#Window_getvalidator
</span><span class="lines">@@ -213,7 +210,6 @@
</span><span class="cx"> *
"Window#set_size_hints":#Window_setsizehints
</span><span class="cx"> *
"Window#set_sizer":#Window_setsizer
</span><span class="cx"> *
"Window#set_sizer_and_fit":#Window_setsizerandfit
</span><del>-* "Window#set_title":#Window_settitle
</del><span class="cx"> *
"Window#set_theme_enabled":#Window_setthemeenabled
</span><span class="cx"> *
"Window#set_tool_tip":#Window_settooltip
</span><span class="cx"> *
"Window#set_validator":#Window_setvalidator
</span><span class="lines">@@ -318,14 +314,6 @@
</span><span class="cx">
</span><span class="cx"> A synonym for
"centre_on_parent":#Window_centreonparent.
</span><span class="cx">
</span><del>-
-h3(#Window_centeronscreen). Window#center_on_screen
-
- *center_on_screen*(%(arg-type)Integer% direction)
-
-A synonym for "centre_on_screen":#Window_centreonscreen.
-
-
</del><span class="cx"> h3(#Window_centre). Window#centre
</span><span class="cx">
</span><span class="cx"> *centre*(%(arg-type)Integer%
direction = BOTH)
</span><span class="lines">@@ -350,7 +338,6 @@
</span><span class="cx">
</span><span class="cx">
"Window#center":window.html#Window_center
</span><span class="cx">
</span><del>-
</del><span class="cx"> h3(#Window_centreonparent).
Window#centre_on_parent
</span><span class="cx">
</span><span class="cx">
*centre_on_parent*(%(arg-type)Integer% direction = BOTH)
</span><span class="lines">@@ -373,23 +360,6 @@
</span><span class="cx">
</span><span class="cx">
"Window#centre_on_screen":window.html#Window_centreonscreen
</span><span class="cx">
</span><del>-
-h3(#Window_centreonscreen). Window#centre_on_screen
-
- *centre_on_screen*(%(arg-type)Integer% direction = BOTH)
-
-Centres the window on screen. This only works for top level windows -
-otherwise, the window will still be centered on its parent.
-
-h4. Parameters
-
-* _direction_ Specifies the direction for the centering. May be @HORIZONTAL@,
@VERTICAL@ or @BOTH@.
-
-h4. See also
-
-"Window#centre_on_parent":window.html#Window_centreonparent
-
-
</del><span class="cx"> h3(#Window_clearbackground).
Window#clear_background
</span><span class="cx">
</span><span class="cx"> *clear_background*()
</span><span class="lines">@@ -740,17 +710,6 @@
</span><span class="cx"> See also
"Accessible":accessible.html.
</span><span class="cx">
</span><span class="cx">
</span><del>-h3(#Window_getadjustedbestsize).
Window#get_adjusted_best_size
-
- "Size":size.html *get_adjusted_best_size*()
-
-This method is similar to "get_best_size":#Window_getbestsize, except
-in one thing. GetBestSize should return the minimum untruncated size of the
-window, while this method will return the largest of BestSize and any user
-specified minimum size. ie. it is the minimum size the window should currently
-be drawn at, not the minimal size it can possibly tolerate.
-
-
</del><span class="cx"> h3(#Window_getbackgroundcolour).
Window#get_background_colour
</span><span class="cx">
</span><span class="cx"> "Colour":colour.html
*get_background_colour*()
</span><span class="lines">@@ -955,6 +914,18 @@
</span><span class="cx"> "Drag and drop
overview":dndoverview.html
</span><span class="cx">
</span><span class="cx">
</span><ins>+h3(#Window_geteffectivebestsize).
Window#get_effective_best_size
+
+ "Size":size.html *get_effective_best_size*()
+
+Merges the window''s best size into the min size and returns the
+result. This is the value used by sizers to determine the appropriate
+ammount of sapce to allocate for the widget.
+
+h4. See also
+
+"Window#get_best_size":window.html#Window_getbestsize,
"Window#set_initial_size":window.html#Window_setinitialsize
+
</ins><span class="cx"> h3(#Window_geteventhandler).
Window#get_event_handler
</span><span class="cx">
</span><span class="cx">
"EvtHandler":evthandler.html *get_event_handler*()
</span><span class="lines">@@ -1212,17 +1183,6 @@
</span><span class="cx"> * _font_ Font to use instead of
the current window font (optional).
</span><span class="cx"> * _use16_ If @true@, _string_
contains 16-bit characters. The default is @false@.
</span><span class="cx">
</span><del>-h3(#Window_gettitle). Window#get_title
-
- String *get_title*()
-
-Gets the window''s title. Applicable only to frames and dialogs.
-
-h4. See also
-
-"Window#set_title":window.html#Window_settitle
-
-
</del><span class="cx"> h3(#Window_gettooltip).
Window#get_tool_tip
</span><span class="cx">
</span><span class="cx"> "ToolTip":tooltip.html
*get_tool_tip*()
</span><span class="lines">@@ -2576,22 +2536,6 @@
</span><span class="cx"> The same as
"set_sizer":#Window_setsizer, except it also sets the size hints
</span><span class="cx"> for the window based on the
sizer''s minimum size.
</span><span class="cx">
</span><del>-
-h3(#Window_settitle). Window#set_title
-
- *set_title*(%(arg-type)String% title)
-
-Sets the window''s title. Applicable only to frames and dialogs.
-
-h4. Parameters
-
-* _title_ The window''s title.
-
-h4. See also
-
-"Window#get_title":window.html#Window_gettitle
-
-
</del><span class="cx"> h3(#Window_setthemeenabled).
Window#set_theme_enabled
</span><span class="cx">
</span><span class="cx">
*set_theme_enabled*(%(arg-type)Boolean% enable)
</span></span></pre>
</div>
</div>
</body>
</html>
