Re: How to declare a protected region in a gtk window ?
- From: Owen Taylor <otaylor redhat com>
- To: Edward-Liu <dhliu springsoft com tw>, gtk-list gnome org
- Subject: Re: How to declare a protected region in a gtk window ?
- Date: 19 Mar 2003 08:14:48 -0500
On Wed, 2003-03-19 at 06:28, Sven Neumann wrote:
> Hi,
>
> Edward-Liu <dhliu springsoft com tw> writes:
>
> > I want to declare a region in gtk window so that it is not redrawn
> > after window expose. The region is drawn by a TV card. Gtk thinks
> > the region is blank (no widget), so Gtk just clears it with the
> > color of background.
>
> gdk_window_set_back_pixmap (window, GDK_NO_BG, FALSE);
gtk_widget_set_double_buffered (widget, FALSE);
gtk_widget_set_app_paintable (widget, TRUE);
is probably more to the point.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]