To: lablgtk at kaba.or.jp Subject: Bitmap or Pixmap? From: Christoph Bauer Date: Fri, 16 May 2003 19:59:23 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi List, in lablgtk (latest snapshot) is a function val create_from_pixmap : Gdk.pixmap -> mask:Gdk.bitmap -> fg:Gdk.Color.t -> bg:Gdk.Color.t -> x:int -> y:int -> Gdk.cursor The result of this function is very strange. The created cursor is just garbage. Why is mask a bitmap? According to Gdk documentation mask is a pixmap (with depth = 1 bit). Regards, Christoph Bauer -- proc self {} {foreach c [split [info body self] ""] d {14 -7 0 0 4 -67 4 73 11 69 24 -83 -15 6 -4 -84 78 20 11 -78 -1 -1 79 19 -8 4} { binary scan $c c c if {[catch {append r [format %c [expr $c+$d]]}]} {return $r};}};puts [self]