signal connect on class member objects

I want to create a class that is a Gtk::EventBox with a Gtk::DrawingArea inside. But I also want to connect extra methods of this class to the drawingarea's realize and expose_event signals. Is this possible or do I need to create a derived class of Gtk::DrawingArea and then use that as a member object?

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