Displaying 3 results from an estimated 3 matches for "center_on_screen".
2005 May 03
4
Wx::HtmlWindow.on_link_clicked
...t;a href="http://favicon.ru/en/">My wife web project</a><br />
<a href="mailto:dmiceman@mail.ru">mail me</a><br />
</body>
</html>
EOF
sizer.add html, 1, Wx::EXPAND
dialog.set_size Wx::Size.new(400, 300)
dialog.center_on_screen Wx::BOTH
dialog.show true
dialog.evt_close do exit_main_loop end
end
end
app = App.new
app.main_loop
=====================================================
--
Dmitry mailto:dmiceman@ubiz.ru
_______________________________________________
wxruby-users...
2007 Mar 18
0
[894] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl: Document changed Window methods in 2.6 -> 2.8 API
...;> * "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_ce...
2006 Dec 03
0
[778] trunk/wxruby2: Remove broken and deprecated LayoutConstraints, update samples & docs
...;/ins><span class="cx"> super(parent, -1, caption, pos, size)
</span><span class="cx"> x,y = pos.x, pos.y
</span><span class="cx"> if x == -1 and y == -1
</span><span class="cx"> center_on_screen(Wx::BOTH)
</span><span class="cx"> end
</span><del>- text = Wx::TextCtrl.new(self, -1, msg, Wx::DEFAULT_POSITION, Wx::DEFAULT_SIZE, Wx::TE_MULTILINE | Wx::TE_READONLY)
- ok = Wx::Button.new(self, Wx::ID_OK, "OK")
- lc = Wx::La...