Complex widget



Hello, colleagues !

I want to put one widget into another. I make
    Glib::RefPtr<Gnome::Glade::Xml> refXml;
    Glib::RefPtr<Gnome::Glade::Xml> refXmlC;
    try
    {
        refXml = Gnome::Glade::Xml::create ("ui/RLSWindow.glade", "RLSWindow");
        refXmlC = Gnome::Glade::Xml::create ("ui/RLSControl.glade",
"RLSControl0");
    }
    catch (const Gnome::Glade::XmlError& ex)
    {
        std::cerr << ex.what() << std::endl;
        return 1;
    }
When I debug application the first operator

    refXml = Gnome::Glade::Xml::create ("ui/RLSWindow.glade", "RLSWindow");

works normally, but next one gives
    GModule-CRITICAL **: g_module_symbol: assertion `symbol_name != NULL' failed
    libglade-WARNING **: could not find widget creation function

Where is my error, both files are exists and widget names are valid.

-- 
Best regards,
Sincerely yours,
Yuriy Rusinov


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