Re: GtkDrawingArea on_clicked ?



Jonathon Jongsma wrote:
You might try looking at the function Gtk::Widget::set_events() or
Gtk::Widget::add_events() to make the drawing area respond to the
events you're interested in.

jonathon

On 11/26/05, congo imafexbb sk <congo imafexbb sk> wrote:

Hi,
 i've got drawinrgarea and i'm trying  to make something when i click
with mouse on it but my tries failed. Can some give me a clue how to do
it ?

Use a Gtk::EventBox.  Check the book in the Gtkmm documentation, chapter 12.

http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/index.html



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