Displaying 3 results from an estimated 3 matches for "set_art_provid".
Did you mean:
set_art_provider
2008 Nov 13
0
[ wxruby-Bugs-22782 ] AuiDefaultDockArt class missing
...wxWidgets).
Adding the AuiDefaultDockArt class may let us easily subclass it instead of re-implementing every method in the AuiDockArt class (which is an abstract class in C++)
Also, take good care of how these classes have to be GC managed. When passing an instance of these classes to AuiManager#set_art_provider the AuiManager takes ownership. It will C++ delete the instance at destruction time or when a new call to set_art_provider is done.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid...
2007 May 05
0
[1012] trunk/wxruby2/doc/textile: Added docs for AUI Advanced User Interface classes
...nager.html uses an
+instance of this class called *AuiDefaultDockArt* which
+provides bitmap art and a colour scheme that is adapted to
+the major platforms'' look. You can either derive from that
+class to alter its behaviour or write a completely new dock
+art class. Call "AuiManager#set_art_provider":auimanager.html#AuiManager_setartprovider
+to make use this new dock art.
+
+h2. Derived from
+
+No base class
+
+h2. See also
+
+"AuiManager":auimanager.html,
+"AuiPaneInfo":auipaneinfo.html
+
+h2. Data structures
+
+
+ enum AuiPaneDockArtSetting
+ {
+ AUI_DOCKART_...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...ONS
+ elsif e_id == ID_NotebookTabFixedWidth
+ @notebook_style ^= Wx::AUI_NB_TAB_FIXED_WIDTH
+ end
+
+
+ @mgr.get_all_panes.each do | pane |
+ maybe_nb = pane.get_window
+ next unless maybe_nb.kind_of?(Wx::AuiNotebook)
+ 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
+...