Re: [gtkmm] beginner redraw question



>I've been trying to use gtkmm 1.2.9 to devise a plotting routine.  I'm
>inheriting a Plot class from DrawingArea.  I started by using the
>DrawingArea example included in the package....  The actual drawing routines
>are in a function called expose_event_impl.  My question is that - when I
>want to update the plot with another one by changing the data, how to I do
>it?  I am not sure how all this ties together.  The tutorial does not
>provide enough info, and the api reference just lists the classes.
>
>I'd appreciate any help, examples.  I've attached my relevant src if anyone
>cares to look.

I would suggest you look first a GtkDataBox. If you like it, I have a
gtkmm 1.2 wrapper for it. Google is your friend.

--p



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]