Complex widget



Hello, colleagues !

I have to make custom widget that have both complex draw and some
general child widgets such as Gtk::VBox, Gtk::HBox, Gtk::Label etc. I
inherit my widget from Gtk::Container class and implement virtual
function add such this.
void MyWidget::add (Widget& widget)
{
    Container::add (widget);
}
but in runtime I receive warning

Gtk-WARNING **: GtkContainerClass::add not implemented for `gtkmm__CustomObject_

on call this function. Where is my error, which way I have to
reimplement virtual function ?

Thanks a lot.

-- 
Best regards,
Sincerely yours,
Yuriy Rusinov


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