Displaying 9 results from an estimated 9 matches for "get_colour".
2008 Aug 24
2
Missing ids in documentation
...n.
By closer inspection I found that some of the headlines missed
id-tags.
The following grep sequence find them.
grep ''<h3'' *.html | grep ''#'' | grep -v ''id=''
Here is the output
brush.html:<h3 class="Brush_getcolour">Brush#get_colour</h3>
brush.html:<h3 class="Brush_getstipple">Brush#get_stipple</h3>
brush.html:<h3 class="Brush_getstyle">Brush#get_style</h3>
brush.html:<h3 class="Brush_ishatch">Brush#is_hatch</h3>
brush.html:<h3 class="Brush_isok&qu...
2005 Nov 23
1
Wx::SystemSettings
...les that are beyond me:
1) The wx header file in wxruby2 CVS tree seems to be missing some
methods listed elsewhere: SystemSettings::GetScreenType (listed in 2.6
docs & my wx header file, settings.h), and SystemSettings::HasFeature
(in header files, not in docs though)
2) Wx::SystemSettings.get_colour(xxx) segfaults for me (OS X 10.3) on a
few of the constants listed in the docs. I have commented these out in
the sample file for now, and the rest work as expected. For reference,
running this in gdb I get the following error with the bad colours:
Program received signal EXC_BAD_ACCESS, Could...
2006 Oct 23
0
[709] trunk/wxruby2/samples/dialogs/dialogs.rb: Use paint method again, remove unnecessary global (Alex Fenton)
...uot;>
</span><span class="cx"> if dialog.show_modal() == ID_OK
</span><span class="cx"> retData = dialog.get_font_data()
</span><del>- # $app.canvas_font = retData.get_chosen_font()
- # $app.canvas_text_colour = retData.get_colour()
</del><ins>+ Wx::get_app.canvas_font = retData.get_chosen_font()
+ Wx::get_app.canvas_text_colour = retData.get_colour()
</ins><span class="cx"> font = retData.get_chosen_font
</span><span class="cx"> msg = "Font...
2008 May 23
3
Rss-wxruby
Bonjour Alex.
J''ai créer une application(Rss-wxruby) et je l''ai déposée en téléchargement sur le site "Tom''s guide". Ils ont créer les screenshots, et la problème:
Il y a des carrés qui ressortent de partout???
Voilà un url pour l''exemple du problème avec les carrés qui ressortent:
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.clea...
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::H...
2007 May 05
0
[1012] trunk/wxruby2/doc/textile: Added docs for AUI Advanced User Interface classes
...h*(%(arg-type)DC% dc, %(arg-type)Window% window, %(arg-type)Integer% orientation,
+ %(arg-type)Rect% rect)
+
+Draws a sash between two windows.
+
+h3(#AuiDockArt_getcolor). AuiDockArt#get_color
+
+ "Colour":colour.html *get_color*(%(arg-type)Integer% id)
+
+The same as "get_colour":#AuiDockArt_getcolour.
+
+h3(#AuiDockArt_getcolour). AuiDockArt#get_colour
+
+ "Colour":colour.html *get_colour*(%(arg-type)Integer% id)
+
+Get the colour of a certain setting.
+
+_id_ can be one of the colour values of *AuiPaneDockArtSetting*.
+
+
+h3(#AuiDockArt_getfont). AuiDockA...
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         
+ 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,...