[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Drawing shaped windows




How do I draw a shaped window?  Ultimately, I want to be make a
RoundedCornerWindow, a child of GtkWindow, which has rounded corners.

I've look at the wheelbarrow example.  This involves creating a pixmap and
then calling gtk_widget_shape_combine_mask with the pixmap and bitmap. I'm
not certain how to create a pixmap and bitmap with a given shape and size
however.

Pointers to code examples would be especially appreciated.

Thanks,
David


-- 
      __          _    __ 
  ___/ /__ __  __(_)__/ /  David Helder - University of Michigan
 / _  / _ `/ |/ / / _  /   dhelder@umich.edu
 |_,_/|_,_/|___/_/|_,_/    http://www.eecs.umich.edu/~dhelder



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]