Advanced Search
Mail us
Home    Manuel    Links    Faq    Submit a tcl/tk Reference    Contact Us

    Some examples tcl/tk codes     Man of Bwidget     Man of blt     mkwidget screenshots     TkOgl     Video Demo real.

  How can I get bitmaps created with `image` to work with `-stipple`?
 At the moment, you can`t.  Bitmaps created with `image create bitmap
...` do not use `Tk_DefineBitmap`, which is required for `-stipple` to
know it`s a bitmap.  Instead, you`ll have to use the old format for
using bitmaps in stipples, like so:

.canvas create rect 10 10 80 80 -fill black -stipple @/path/to/my.bmp

It`s not a simple C fix for the above problem, but it`s on the core ToDo