search for: show_list

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

Did you mean: show_flist
2003 Nov 10
5
picture organizer -- need a bit of help
While trying to develop a little wxruby program, I have some difficulties, namely: 1. I want to read all kind of graphic files, (mainly jpg, png and tiff is enough...) But, the current implementation seems to deal only with bmps and currently there is no way to call ::wxInitAllImageHandlers. 2. I think DnD is required in my case: I want to drop filenames on a TreeCtrl. I will try to add
2004 Jan 08
3
pictorG
...DTH,THM_HEIGHT if xscale>=yscale thm_h=(h/xscale+0.5).to_i else thm_w=(w/yscale+0.5).to_i end img.rescale(thm_w,thm_h) dir,fn=thm_name filename Dir.mkdir(dir) unless FileTest.directory? dir img.save_file dir+"/"+fn, BITMAP_TYPE_JPEG end def show_list list num_images=list.length log_status ''Removing images'' @imageList.remove_all clear_all list.each_with_index{|fn,i| insert_item i,fn,i } Thread.new { Thread.current.priority=-1 list.each_with_index{|fn,i| log_status "Generating...