Re: a re-display method for my DrawingArea
- From: Paul Davis <paul linuxaudiosystems com>
- To: eduardo fiss beloni <eduardobeloni yahoo com br>
- Cc: gtkmm-list gnome org
- Subject: Re: a re-display method for my DrawingArea
- Date: Wed, 01 Mar 2006 17:19:36 -0500
On Wed, 2006-03-01 at 22:04 +0000, eduardo fiss beloni wrote:
> Hello
>
> someone knows a method to re-display a
> Gtk::DrawingArea derived whenever I want.
>
> for example:
> In my Gtk::Window derived, I have a Gtk::Button and a
> Gtk::DrawingArea derived and whenever I press the
> Gtk::Button (the button_pressed() event will be
> called), the Gtk::DrawingArea derived must be updated.
> however I don't know this update method...
call the queue_update() method of the drawing area from the button press
handler.
the drawing area will get an expose event; implement on_expose_event()
for the DrawingArea derived object and make it draw stuff there.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]