search for: add_icon

Displaying 2 results from an estimated 2 matches for "add_icon".

Did you mean: add_conf
2007 Jan 05
0
[829] trunk/wxruby2/samples/bigdemo/wxNotebook.rbw: Fix icon path for notebook tab (was crashing linux bug 6632)
...;span class="cx"> # Show how to put an image on one of the notebook tabs, </span><span class="cx"> # first make the image list: </span><span class="cx"> il = Wx::ImageList.new(16,16) </span><del>- il.add_icon(Wx::Icon.new("./icons/wxwin16x16.xpm")) </del><ins>+ ic_file = File.join(File.dirname(__FILE__),''icons'',''wxwin16x16.xpm'') + il.add_icon( Wx::Icon.new(ic_file) ) + </ins><span class="cx"> assign_ima...
2007 Jun 05
0
[1053] trunk/wxruby2/samples: Change references to assign_image_list methods to set_image_list in samples
...UTC (rev 1053) </span><span class="lines">@@ -47,7 +47,7 @@ </span><span class="cx"> ic_file = File.join(File.dirname(__FILE__),''icons'',''wxwin16x16.xpm'') </span><span class="cx"> il.add_icon( Wx::Icon.new(ic_file) ) </span><span class="cx"> </span><del>- assign_image_list(il) </del><ins>+ set_image_list(il) </ins><span class="cx"> </span><span class="cx"> win = make...