How do one put a shape upon a pixmap?
- From: Preben Randhol <randhol dusken4 samfundet ntnu no>
- To: gtk-list redhat com
- Subject: How do one put a shape upon a pixmap?
- Date: 16 Jun 1998 00:36:23 +0200
(I'm wondering if this was asked earlier, but I cannot find it in the
mail archive. And I cannot remember the solution if any. Sorry)
I want to put a shape (a pixmap with a transparent colour) on top of a
I'm trying to learn GTK and thus making a small game similar to
chess. I thought I wanted the squares in the board as pixmaps (as they
are not plain like chess) and the pawns as shapes on top of the
pixmaps. I have looked at the examples in the tutorial, but I cannot
figure out how to put the shape on top of the pixmap.
If somebody please has some hints on how to accomplish this I would be
Preben Randhol | Azbuka, to je obracenej nabytek.
Tlf 73940929/(735)94076 [arb] | -- Bohumil Hrabal
Email firstname.lastname@example.org | [Transl: Cyrilic, that's
http://www.pvv.org/~randhol/ | furniture uspide down.]
] [Thread Prev