Re: gtkmm comments
- From: "Timothy M. Shead" <tshead k-3d com>
- To: John Taber <jtaber johntaber net>
- Cc: gtkmm-list gnome org
- Subject: Re: gtkmm comments
- Date: Wed, 16 Mar 2005 23:35:36 -0800
John Taber wrote:
Thanks everyone for the comments and screenshots - I'm converted.
Question though: I cannot get stock icons to compile - I've included the
stock.h header and tried "Gtk::BuiltinStockID OK" as well as
"Gtk::BuiltStockID::OK" and even Gtk::BuiltinStockID Gtk::Stock::OK - nothing
seems to work - can someone help out ? thks.
I don't believe BuiltinStockID is meant to be created by client code,
which makes sense - they're built-in. Use Gtk::StockID if you really
have to pass stock ids around - it has an implicit conversion from
BuiltinStockID. Better yet, don't store stock ID temporaries at all:
mycontainer.add(*Gtk::manage(new Gtk::Button(Gtk::Stock::OK)));
Cheers,
Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]