Hello,

What can I do to solve the following error? I need to use a different
kind of pointer?

The code:
Gtk::ToggleButton btnOK;
Gtk::Widget *ptrElement = NULL;

ptrElement = &btnOK;

ptrElement->set_active(true);

The error:
error: ‘class Gtk::Widget’ has no member named ‘set_active’

Thanks in advance,
Paulo Flabiano Smorigo
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to