Re: on_style_changed signal
- From: Paul Davis <paul linuxaudiosystems com>
- To: Rob Benton <rob benton conwaycorp net>
- Cc: Jan Hudec <bulb ucw cz>, gtkmm-list gnome org
- Subject: Re: on_style_changed signal
- Date: Mon, 13 Dec 2004 19:24:54 -0500
>The way I have approached this is to let all the drawing on the pixmap
>be done in a separate function which then calls queue_draw() on the
>drawingarea whose handler executes drawingarea->draw_drawable(pixmap).
>Should all the drawing logic be inside the expose_event handler instead?
it might be easier for you. it varies a bit application by application.
>The problem I have is that if on_style_changed is called before the
>drawingarea is realized I can't create a Gdk::GC.
you can call object->realize() yourself, but you need a pretty good
reason.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]