Re: Gtk::Stock::CLOSE

On Tue, 2005-12-06 at 12:32 -0500, Jamiil wrote:
> I hope someone here will be able to help me.
> I have a program with two buttons; the buttons are supposed to display 
> its correspoding icon for closing or help. Neither of the buttons 
> display its corresponding icons, and although the porgram compiles I get 
> the following message:
> =================================================
> Info: resolving Gtk::Stock::CLOSE by linking to 
> __imp___ZN3Gtk5Stock5CLOSEE (auto-import)
> Info: resolving Gtk::Stock::HELP by linking to 
> __imp___ZN3Gtk5Stock4HELPE (auto-import)
> Execution terminated
> Compilation successful
> ===================================================
> This are the variables for the help button:
> btnHelp->set_use_underline(true);
> btnHelp->set_focus_on_click(true);
> btnHelp->set_use_stock(true);
> btnHelp->set_label("Question");
> btnHelp->add_pixlabel("/icons/Question.ico","_Help");
> btnHelp->signal_clicked().connect( sigc::mem_fun(*this, &Jaime::UnderDev) );
> Any body?
What options did you pass to the linker ? I've never succesfully created
a working win32-gtkmm-app without Wl,--enable-runtime-pseudo-reloc.

By the way, there seems to be something wrong with stock-icons in win32,
as Gtk::Stock::NO does not work for me (failes at compile time - in
linux it works), but this is another problem.


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