Using (or not using) sigc::mem_fun with the G_CALLBACK macro



Hey everyone,

I am using the GtkHTML widget to create a help viewer for my application. It works well, but I cannot use gtkmm to create my application window because The Compiler

<Bob drops to the floor and genuflects>

just freaks out when I try to use a derived window class-member function as an argument for the GTK G_CALLBACK macro (using a call to sigc::mem_fun() ) when doing a signal connection to the GtkHTML object. Hence, I have been forced to write the entire thing as a standalone application using only GTK :-(

This may be off list topic, but I am pretty sure the GTK list will dump on me for asking a sigc++ question.

Thanks,

Bob Caryl



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