Window/widget contents -> pixmap?
- From: Conrad Steenberg <conrad srl caltech edu>
- To: gtk-list redhat com
- Subject: Window/widget contents -> pixmap?
- Date: Thu, 13 Jan 2000 11:48:13 -0800 (PST)
Hi
I want to capture a widget's display into a pixmap. This is for something
like making a png/gif button on a web page look like a GTK button.
Can I create a widget and have it draw on a pixmap? I.e. setting
widget->window to be a GdkPixmap. Or is there a way to dump the contents
of a GdkDrawable into a GdkPixmap?
Any hints appreciated!
Conrad
*-----------------------------------------*
| Conrad Steenberg |
| Caltech, Mail Code 220-47 |
| Pasadena, CA, 91125 |
| e-mail: conrad@srl.caltech.edu |
| Tel: (626) 395-2964 Fax: (626) 449-8676 |
*-----------------------------------------*
"Source code is the blueprint for software, like a set of spells that humans
can read and use to control machines. Access to source code is power."
Rachel Chalmers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]