So I am now migrating from C to C++, but this only goes very slowly.
This is a simple test to check if my rig control part of the program still works with C++ environment.
void myfunc( void ); Buttons::Buttons() { m_button.add_pixlabel("blueracer2.png", "CW"); set_title("Spinor Lab"); set_border_width(10); m_button.signal_clicked().connect( sigc::mem_fun(*this, &Buttons::on_button_clicked) ); add(m_button); show_all_children(); } Buttons::~Buttons() { } void Buttons::on_button_clicked() { std::cout << "The Button was clicked." << std::endl; myfunc(); }