Re: stock icons





On Mon, 5 Sep 2005, [iso-8859-1] Juan Francisco Gonz�z wrote:

Hello:

   I`m using stock icons on my widgets, buttons, but this stock icons aren�t show when i run my programa.

   Is there any way to use stock icons?

Sample code:

ok = Gtk::manage(new class Gtk::Button(Gtk::StockID("gtk-ok")));
.
.

Have you tried:
ok = Gtk::manage(new Gtk::Button(Gtk::Stock::OK));

I think this would work.

.
packing on HBox

ok->show();

My aplication compile very good without errors. Operanting system is Windows 2000, gtkmm 2.6, dev-c++ compiler.

Thank you.


//Marcus


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