search for: set_item_imag

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

Did you mean: set_item_image
2007 Nov 13
3
New wxTree method
...gives your objects the possibility to interact a bit more with the tree item, if needed. See the docs for the method. My plans are also to add at least an update_array_item() method, to be able to refresh an object''s visual tree state dynamically. However, the wxRuby docs for TreeCtrl#set_item_image isn''t in Ruby syntax, so I don''t know how to figure out the last parameter (which I need). Would this be an useful addition to the existing wxRuby tree control? Comments are welcome! Best regards, Jari Williamsson _______________________________________________ wxruby-us...
2006 Dec 26
0
[806] trunk/wxruby2/samples/treectrl: Restored demonstration of use of icons and fonts within TreeCtrl
...4,28 @@ </span><span class="cx"> return get_item_parent(item) == get_root_item() && !get_prev_sibling(item) </span><span class="cx"> end </span><span class="cx"> </span><del>- # TEMPORARILY 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...