Re: help on graphics context colors not honored? (newbie)

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

 



Hi,

>> thank you for your answer. If the tutorial should work, my application
>> I actually draw in my configure handle (which should get
>> fired on initial window creation and then I only need to redraw the backing
>> pixmap on a resize). I think it's still peculiar the configure event gets
>> fired when the expose event should get fired only. Nevertheless, I may look
>> into Cairo.
>
>drawing into the window anywhere other than an expose event handler is
>an error. if it works, you're just lucky.

I draw into the backbuffer in the configure handler. I draw into the window in
the expose handler (by copying the pixmap of the backbuffer). This should fulfill
the requirement of doing it right?
I'll have a look at different approaches later. I am busy with other matters right
now. Thanks! (Or btw.: is the expose thingy deprecated? The gtk tutorial from gtks
website doesn't state so. I use Compiz. Does it fire exposes?)

Kind Regards

Lars

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux