search for: get_colour_data

Displaying 5 results from an estimated 5 matches for "get_colour_data".

2007 Sep 09
1
ColourDialog
Bonjour Alex. Je voudrais savoir si il est possible de sauvegarder les couleurs quand on se sert de "ColourDialog"? merci Sebastien _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Mar 23
0
[918] branches/wxruby2/wxwidgets_282/samples/aui/aui.rb: Fix a couple of little bugs and typos
...I_DOCKART_GRIPPER_COLOUR </span><span class="cx"> else </span><span class="cx"> return </span><del>- end </del><ins>+ end + </ins><span class="cx"> @frame.get_dock_art.set_colour(var, dlg.get_colour_data.get_colour ) </span><span class="cx"> @frame.do_update </span><span class="cx"> update_colours </span><span class="lines">@@ -288,7 +289,7 @@ </span><span class="cx"> sz = Wx::BoxSizer.new(Wx::HORIZO...
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...t;<span class="cx"> data.set_custom_colour(i, colour) </span><span class="lines">@@ -214,14 +213,14 @@ </span><span class="cx"> if dialog.show_modal() == ID_OK </span><span class="cx"> retData = dialog.get_colour_data() </span><span class="cx"> col = retData.get_colour() </span><del>- $myCanvas.set_background_colour(col) - #$myCanvas.clear() - $myCanvas.refresh() </del><ins>+ $my_canvas.set_background_colour(col) + #$my_canvas.clear() +...
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across something that kinda bothers me... In order to implement validators you have to override the clone method. The directors seems to be set up to specifically handle this situation. However, whenever C++ calls back to the object''s methods the swig_get_up function is returning false. It seems like swig_up
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...amp;nbsp &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp + when ID_BorderColor + var = Wx::AUI_DOCKART_BORDER_COLOUR + when ID_GripperColor + var = Wx::AUI_DOCKART_GRIPPER_COLOUR + else + return + end + @frame.get_dock_art.set_colour(var, dlg.get_colour_data.get_colour ) + @frame.do_update + update_colours + end + + private + def make_metric_spin_ctrl(an_id, caption, metric) + metric_val = @frame.get_dock_art.get_metric(metric) + sp = Wx::SpinCtrl.new( self, an_id, metric_val.to_s, + Wx::DEFAULT_POSITION, +...