On 2019-02-18 14:39,
Радомир Хаџић via gtkmm-list wrote:
I'm trying to call a function that accepts one parameter when user
clicks a menu item. I tried this:
The method I put this code into is of class that inherits from
Gtk::Window. The handler_fun function does not belong to any class. I
saw this in official tutorial
but it doesn't work for me (the code won't compile). The error I'm
getting is that there is no such function.
2019-02-18 15:15 GMT+01:00, Daniel Boles via gtkmm-list <[hidden email]>:
>> The error I'm getting is that there is no such function.
> About which function? Anyway, please show all the code. As written, you
> haven't proven that the function *does* exist! And the code you posted
> doesn't match any in the link you showed.
bind. But I don't think that's important now since I've lost the code
anyway. Maybe I was supposed to include some file?
Obviously. <sigc++/bind.h> or IIRC adaptors.h collects this and other stuff together if you want.