Displaying 7 results from an estimated 7 matches for "sizeflag".
Did you mean:
sizeflags
2006 Apr 23
4
Wx::Window#get_text_extent patch
Here''s a patch to fix Wx::Window#get_text_extent - it requires that the
patches from teh last message are applied, to enable *INPUT etc typemaps.
Roy - though the function works correctly when called from Ruby, it
still causes a crash when called internally when clicking on a Wx::Grid
cell. Saw your message on SWIG mailing list, hopefully someone there can
help out.
alex
2006 Dec 12
0
[785] trunk/wxruby2/doc/textile/window.txtl: Remove set_constraints, correct docs for set_dimensions and set_size
...;span class="cx">
</span><del>-h3(#Window_setconstraints). Window#set_constraints
</del><ins>+ *set_size*(%(arg-type)Integer% x, %(arg-type)Integer% y,
+ %(arg-type)Integer% width, %(arg-type)Integer% height,
+ %(arg-type)Integer% sizeFlags = SIZE_AUTO)
</ins><span class="cx">
</span><del>- *set_constraints*(%(arg-type)LayoutConstraints% constraints)
</del><ins>+Specifies the size and position of the window, in pixel units.
</ins><span class="cx">
</span><...
2007 Apr 30
0
[998] branches/wxruby2/wxwidgets_282/swig/classes/Window.i: Additional %ignore needed for Wx::Window in 2.8
...tion(int* x , int* y ) const;
</span><ins>+%ignore wxWindow::GetScreenPosition(int* x, int* y) const;
</ins><span class="cx">
</span><span class="cx"> %rename(SetDimensions) wxWindow::SetSize(int x , int y , int width , int height , int sizeFlags = wxSIZE_AUTO) ;
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>
2007 Mar 18
0
[897] branches/wxruby2/wxwidgets_282/swig/classes/Window.i: DISOWN typemap to prevent crash on GC/exit when caret has been set (bug #9093)
...;nbsp 2007-03-18 10:46:56 UTC (rev 897)
</span><span class="lines">@@ -26,6 +26,9 @@
</span><span class="cx">
</span><span class="cx"> %rename(SetDimensions) wxWindow::SetSize(int x , int y , int width , int height , int sizeFlags = wxSIZE_AUTO) ;
</span><span class="cx">
</span><ins>+// Caret set by set_caret becomes owned by C++
+%apply SWIGTYPE *DISOWN {wxCaret* caret};
+
</ins><span class="cx"> // Any sizers passed in to wx become owned by C++
</span><sp...
2007 Jul 21
0
[1129] trunk/wxruby2/swig/classes/Window.i: Add DISOWN typemap for ToolTip so it isn''t double-deleted
...sp 2007-07-21 12:21:01 UTC (rev 1129)
</span><span class="lines">@@ -31,12 +31,13 @@
</span><span class="cx">
</span><span class="cx"> %rename(SetDimensions) wxWindow::SetSize(int x , int y , int width , int height , int sizeFlags = wxSIZE_AUTO) ;
</span><span class="cx">
</span><del>-// Caret set by set_caret becomes owned by C++
-%apply SWIGTYPE *DISOWN {wxCaret* caret};
</del><ins>+// Any of these following kind of objects become owned by the window
+// when passed into Wx,...
2007 Apr 16
0
[969] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl: Cleanup and fixing of broken links.
...quot;> h3(#Window_setdimensions). Window#set_dimensions
</span><span class="cx">
</span><del>- *set_size*(%(arg-type)Integer% x, %(arg-type)Integer% y,
- %(arg-type)Integer% width, %(arg-type)Integer% height,
- %(arg-type)Integer% sizeFlags = SIZE_AUTO)
</del><ins>+ *set_size*(%(arg-type)Integer% x, %(arg-type)Integer% y,
+ %(arg-type)Integer% width, %(arg-type)Integer% height,
+ %(arg-type)Integer% sizeFlags = SIZE_AUTO)
</ins><span class="cx">
</span><span class=&q...
2006 Dec 20
0
[791] trunk/wxruby2/swig/classes/include/wxWindow.h: Remove shadowing GetBestSize def causing warning, plus strip crufty comments
...t
-        */
</del><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> virtual void SetSize(int x , int y , int width , int height , int sizeFlags = wxSIZE_AUTO) ;
</span><del>-        /**
-         * \brief Sets the size and position of the window in pixels.
-    &nb...