Re: How to repaint widgets??
- From: Havoc Pennington <hp redhat com>
- To: learfox furry ao net
- Cc: Kula <kula netstock net>, "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: How to repaint widgets??
- Date: 16 Dec 2000 15:03:13 -0500
learfox furry ao net writes:
Have you tried watching for an `expose_event'? Also you might need to put
it in a event_box and watch for an expose_event there.
When you recieve an expose_event, I usually use gtk_widget_queue_draw() to
redraw the widget (gtk_widget_draw() dosen't seem to work sometimse but
try it still).
Don't queue_draw() from an expose event, exposes can be caused by
queue_draw(), you may get infinite loops in GTK 1.2 and _will_ get
infinite loops in GTK 2.0.
I don't understand what this has to do with the question though (about
hiding buttons).
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]