Re: problems with get_widget_derived



On Mon, 2005-02-28 at 20:31 +0100, Hamar Gabor wrote:
> Hello,
> 
> I am trying to compile this code:
> 
> Gtk::Image * image;
> 
> ..
> 
> image=0;
> refGlade->get_widget_derived("image",image);
> assert(image);

Gtk::Image is not a derived widget.
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch19s03.html

Maybe you meant to use get_widget().

-- 
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]