Re: custom_widget example not working
- From: Murray Cumming <murrayc murrayc com>
- To: Paul Davis <paul linuxaudiosystems com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: custom_widget example not working
- Date: Fri, 03 Dec 2004 18:28:04 +0100
On Thu, 2004-12-02 at 16:34 -0500, Paul Davis wrote:
> >Still, GtkLabel doesn't need to do that, so I'd like to figure out what
> >I'm not doing that GtkLabel is doing.
>
> what window are you drawing on, and when?
I create a window in on_realize(), and draw on it in on_expose_event().
Please do take a look at examples/book/custom/custom_widget. It's very
simple.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]