Re: Copying bitmaps into bitmaps



>On Thu 17 Jan 2002 14:21, Havoc Pennington wrote:
>> Edscott Wilson García <edscott imp mx> writes:
>> > But isn't a bitmap nothing more than a pixmap of depth 1? If
>> > gdk_pixmap_new(window,pix_w,pix_h,1);
>> > is not the correct way to create an empty bitmap with gtk, how should it
>> > be created?
>>
>> That is the right way. One of us is missing some detail.
>>
>
>Its as simple as the following code, where gPIM[0] is a valid and working 
>GdkBitmap with width pix_w and height pix_h,  and h is a gtkdialog.

when are you calling this? i trust that is from an expose event handler?



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