Re: How to forbid undesired redrawing of the parent?
- From: Виталий Кирсанов <krokoziabla gmail com>
- To: Paul Davis <paul linuxaudiosystems com>, gtk-list gnome org
- Subject: Re: How to forbid undesired redrawing of the parent?
- Date: Tue, 30 Jul 2013 00:37:54 +0400
Thank you, Paul, for aswering to me, I wouldn't like to bother you much. But maybe I didn't explain my configuration clearly enough. But since my children widgets have their own GDK windows then expose events must be sent directly to them (because a window's events are sent to the widget pointer to which is stored as the window's user data), mustn't they? That is if the parent container A has its own A_GDK_WINDOW window and its child B has its own B_GDK_WINDOW window then the events from A_GDK_WINDOW will be sent to A widget and the events from B_GDK_WINDOW will be sent to B widget, directly, will not they?
If yes then why if I call gtk_widget_queue_draw(B) then A widget receives expose event as well as B? Or Does gtk_widget_queue_draw() applied to any widget causes redrawing of the whole widget hierarchy up to the root window widget? Can it be prevented in any way?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]