search for: set_window_style_flag

Displaying 4 results from an estimated 4 matches for "set_window_style_flag".

Did you mean: get_window_style_flag
2004 Apr 26
1
Yesterday''s adventures (calendar sample; swig)
...ug in the wxRuby 0.3 release: If you use the menu to toggle the month selector style, it doesn''t actually update all the widgets correctly. You can resize the window, and see that the dropdowns start to overlap the rest of the calendar control. The problem was that the sample was using set_window_style_flag to change the control style. But changing that style on an existing control really doesn''t work. So the sample needs to delete the old calendar control, and create a new one. But when you do that, you need to explain to the sizer what you are trying to do. The end result (not checked...
2007 Apr 16
0
[969] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl: Cleanup and fixing of broken links.
...s><span class="cx"> </span><span class="cx"> *set_virtual_size*(%(arg-type)Size% size) </span><span class="cx"> </span><span class="lines">@@ -2621,7 +2618,7 @@ </span><span class="cx"> *set_window_style_flag*(%(arg-type)Integer% style) </span><span class="cx"> </span><span class="cx"> Sets the style of the window. Please note that some styles cannot be changed </span><del>-after the window creation and that "Refresh()":windowrefresh.htm...
2007 Apr 30
0
[997] branches/wxruby2/wxwidgets_282: Window - 2.6 -> 2.8 API, new methods and deprecations; update doc
...if the value of the flag is $0$ (which is often +the case for default flags). + +Also, please notice that not all styles can be changed after the control +creation. + +h4. Return value + +Returns if the style was turned on by this function, if it was +switched off. + +h4. See also + +"Window#set_window_style_flag":window.html#Window_setwindowstyleflag, "Window#has_flag":window.html#Window_hasflag + + </ins><span class="cx"> h3(#Window_update). Window#update </span><span class="cx"> </span><span class="cx"> *update*() </sp...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...uiNotebook) + if e_id == ID_NotebookArtGloss + maybe_nb.set_art_provider(Wx::AuiDefaultTabArt.new) + @notebook_theme = 0 + elsif e_id == ID_NotebookArtSimple + maybe_nb.set_art_provider(Wx::AuiSimpleTabArt.new) + @notebook_theme = 1 + end + + maybe_nb.set_window_style_flag(@notebook_style) + maybe_nb.refresh() + end + end + + def on_update_ui(event) + flags = @mgr.get_flags + + case event.get_id + when ID_NoGradient + event.check(@mgr.get_art_provider.get_metric(Wx::AUI_DOCKART_GRADIENT_TYPE) == Wx::AUI_GRADIENT_NONE) + when ID_Vertical...