Re: gnome applets with gtkmm



On Fri, 2006-06-30 at 01:01 -0600, Gezim Hoxha wrote:
>     Gtk::EventBox gtkmmApplet = static_cast<Gtk::EventBox> (*applet);
>     gtkmmApplet.add (*panelLabel);
> 
> BTW, I get this error: no matching function for call to
> 'Gtk::EventBox::EventBox (_PanelApplet &)'

Widgets do not have copy constructors (because there would be no
sensible behaviour when copying a widget). You should use a pointer or
reference in this case.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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