search for: clear_all

Displaying 6 results from an estimated 6 matches for "clear_all".

Did you mean: clear_hcall
2004 Nov 03
0
Download ratio unstable
..., the down flow vary a lot from 25 KB to 4 KB. Before i use this script the downloads are constant between 22 an 25 KB. Perhaps there''s something wrong in my script ? I paste it, thx. --------------------------------------------------------------------- #!/bin/bash RATE=100 LOCALIF=eth1 clear_all() { tc qdisc del dev $LOCALIF root >/dev/null 2>&1 iptables -t mangle -F } create_tree() { tc qdisc add dev $LOCALIF root handle 1: htb default 1 tc class add dev $LOCALIF parent 1: classid 1:1 htb rate ${RATE}kbit ceil ${RATE}kbit tc qdisc add dev...
2004 Apr 21
2
Resizing a ListCtrl
...vent) } # }}} end ## }}} def onClose ## {{{ destroy() end ## }}} def onSize(event=nil) frame_size = event.get_size x = frame_size.x - 10 y = frame_size.y - 10 @fileList.set_size_xy(x, y) event.skip() if event end def fillListCtrl #{{{ @fileList.clear_all @fileList.insert_column(0, "Col 1", LIST_FORMAT_LEFT) @fileList.insert_column(1, "col 2", LIST_FORMAT_LEFT) @fileList.insert_column(2, "col 3", LIST_FORMAT_LEFT, 1000) item = ListItem.new item.set_column(0) 20.times { |i| idx = @fileList...
2013 Jan 22
5
How to setup VNC for GDM access on 6.3
Hi all, I'm looking for pointer for setting up VNC so that access to the system is via gdm/kdm. Yes, I know about vino, and /etc/sysconfig/vncservers but what I'm looking for is a sertup that allows me to see the *dm login screen instead of being dropped direct into a desktop. Thanks in advance
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
2007 Jun 05
0
[1050] trunk/wxruby2/doc/textile: Delete doc references to remove assign_image_list methods in Tree/ListCtrl
...ot;> * "ListCtrl.new":#ListCtrl_new </span><span class="cx"> * "ListCtrl#arrange":#ListCtrl_arrange </span><del>-* "ListCtrl#assign_image_list":#ListCtrl_assignimagelist </del><span class="cx"> * "ListCtrl#clear_all":#ListCtrl_clearall </span><span class="cx"> * "ListCtrl#create":#ListCtrl_create </span><span class="cx"> * "ListCtrl#delete_all_items":#ListCtrl_deleteallitems </span><span class="lines">@@ -202,17 +201,6 @...
2004 Jan 08
3
pictorG
...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 thumbnails #{i+1}/#{num_images}: #{fn}" thm_file=thm_name(fn).join gen_thm fn unless FileTest.file? t...