search for: set_image_list

Displaying 8 results from an estimated 8 matches for "set_image_list".

2007 Jun 05
0
[1051] trunk/wxruby2/samples/aui/aui.rb: Changed assign_image_list to set_image_list.
...kground:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[1051] trunk/wxruby2/samples/aui/aui.rb: Changed assign_image_list to set_image_list.</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1051</dd> <dt>Author</dt> <dd>seanlong</dd> <dt>Date</dt> <dd>2007-06-05 18:22:14 -0400 (Tue, 05 Jun 2007)</dd> </dl&...
2007 Jun 05
0
[1053] trunk/wxruby2/samples: Change references to assign_image_list methods to set_image_list in samples
...fd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[1053] trunk/wxruby2/samples: Change references to assign_image_list methods to set_image_list in samples</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1053</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-06-05 18:29:54 -0400 (Tue, 05 Jun 2007)</dd&g...
2007 Jun 05
0
[1050] trunk/wxruby2/doc/textile: Delete doc references to remove assign_image_list methods in Tree/ListCtrl
...the list when destroyed). _which_ is one of -IMAGE_LIST_NORMAL, IMAGE_LIST_SMALL, IMAGE_LIST_STATE (the last is unimplemented). - </del><span class="cx"> h4. See also </span><span class="cx"> </span><span class="cx"> "ListCtrl#set_image_list":listctrl.html#ListCtrl_setimagelist </span><span class="lines">@@ -773,16 +761,6 @@ </span><span class="cx"> </span><span class="cx"> Sets the image list associated with the control. _which_ is one of </span><span cla...
2007 Jun 05
0
[1052] trunk/wxruby2: Remove unwanted Notebook#assign_image_list method, update docs
...ot;cx"> </span><del>-h3(#Notebook_assignimagelist). Notebook#assign_image_list - - *assign_image_list*(%(arg-type)ImageList% imageList) - -Sets the image list for the page control and takes ownership of -the list. - -h4. See also - -"ImageList":imagelist.html, -"set_image_list":#Notebook_setimagelist - - </del><span class="cx"> h3(#Notebook_create). Notebook#create </span><span class="cx"> </span><span class="cx"> Boolean *create*(%(arg-type)Window% parent, %(arg-type)Integer% id, </span>&lt...
2006 Dec 26
0
[806] trunk/wxruby2/samples/treectrl: Restored demonstration of use of icons and fonts within TreeCtrl
...PORARILY DISABLED - def set_item_image(*args) - end </del><ins>+ def create_image_list + @imageSize = 16 </ins><span class="cx"> </span><del>- # TEMPORARILY DISABLED - def create_image_list(size = 16) - return false - if size == -1 - set_image_list(nil) - return nil - end - if size == 0 - size = @imageSize - else - @imageSize = size - end - </del><span class="cx"> # Make an image list containing small icons </span><del>- images = Wx::ImageList.new(size, size, true) - </del...
2007 Jun 25
0
[1065] trunk/wxruby2/samples/bigdemo/wxTreeCtrl.rbw: Fix an icon file path issue
...gt;<ins>+ bmp_file = File.join(File.dirname(__FILE__), ''icons'', ''wxwin16x16.xpm'') + smileidx = il.add(Wx::Bitmap.new(bmp_file)) </ins><span class="cx"> </span><span class="cx"> @tree.set_image_list(il) </span><span class="cx"> @il = il </span></span></pre> </div> </div> </body> </html>
2007 Jun 05
0
[1048] trunk/wxruby2/samples/bigdemo/wxListCtrl_virtual.rbw: Fix broken path to Bitmap file for item image
...@idx1 = @il.add(Wx::Bitmap.new("./icons/wxwin16x16.xpm")) </del><ins>+ bmp_file = File.join(File.dirname(__FILE__), "icons/wxwin16x16.xpm") + + @idx1 = @il.add(Wx::Bitmap.new(bmp_file)) </ins><span class="cx"> set_image_list(@il, Wx::IMAGE_LIST_SMALL) </span><span class="cx"> </span><span class="cx"> insert_column(0,"First") </span></span></pre> </div> </div> </body> </html>
2007 Nov 09
6
Wx::Notebook tabs, bug reports on...
Thank you Alex for the answer to my previous question -- it was exactly what I was looking for! Moving on, I have some bugs to report: I''m using the Wx::Notebook class and it looks to me like Wx::NB_LEFT, Wx::NB_RIGHT, and Wx::NB_BOTTOM are defined incorrectly. To get my tabs to appear on the bottom, for example, I find I have to use Wx::NB_LEFT. Same symptom in