On Thu, 2007-09-27 at 13:47 +0200, Iker Perez de Albeniz wrote:
> I'am creating DrawingAreas and i want to add an action when i clik on

> (*nDrawingArea).signal_button_press_event
> ().connect(sigc::bind<int>( sigc::mem_fun(*this,
> &colorSelectorWindow::setColor1), colour_p)); 
> 
> void colorSelectorWindow::setColor1(int Color){

bool colorSelectorWindow::setColor1 (GdkEventButton* ev, int Color) {
        ....

using bind doesn't remove eliminate the existing prototype for a signal
handler, it just allows you to add extra arguments.



_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to