Re: [gtk-list] Window/widget contents -> pixmap?



On Thu, 13 Jan 2000 11:48:13 -0800 (PST), Conrad Steenberg wrote:
> 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!

What about creating a regular GTK+ program and capture it with XV?


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/





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