Re: [gtkmm] resource file styles and x server resource leak
- From: Paul Davis <paul linuxaudiosystems com>
- To: pks timing com
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] resource file styles and x server resource leak
- Date: Tue, 15 Apr 2003 08:29:13 -0400
>void
>fake_expose(Gtk::Window *win)
>{
> GdkEventExpose evt;
>
> evt.type = GDK_EXPOSE;
> evt.window = win->get_window();
> evt.area.x = evt.area.y = 0;
> evt.area.width = win->width();
> evt.area.height = win->height();
>
> win->expose_event(&evt);
>}
this is wrong. if you want a synthetic expose event, use
win->queue_draw ();
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]