Re: gdk window clear area problem???
- From: Paul Davis <paul linuxaudiosystems com>
- To: Mohith Manoj <mohithmanoj gmail com>
- Cc: gtk-list gnome org
- Subject: Re: gdk window clear area problem???
- Date: Mon, 12 Jan 2009 07:50:25 +0100
On Fri, 2009-01-09 at 12:19 +0530, Mohith Manoj wrote:
> Dear Paul, Thanks for the quick reply.
> The reason I chose to draw in a function other than the
> on_expose_event is, there are other static things (lines, shapes and
> text labels) which do not overlap (or need to be updated along) with
> the number being displayed, for then I will have to redraw the entire
> widget!
then use a variant of queue_draw() that just queues up a redraw of a
specified rectangle or region (a set of rectangles).
alternatively, draw outside the expose event handler into an off-screen
drawable (e.g. a pixbuf), and in the expose handler, copy from the
relevant part of the pixbuf into the window.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]