Re: exceptions and Gtk::Stock



On Wed, 2006-03-22 at 08:35 -0800, eduardo fiss beloni wrote:
> hello
> 
> My first question: does not gtkmm lib throws any
> exception???

Yes, grep the headers for throw and exception.

> My second question:

Don't do that. Keep them in separate emails.

>  can I change the default text of a
> Gtk::Button build by a Gtk::Stock::<any definition>
> ???

Gtk::Button::set_label()
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Button.html#d3f9e419fc13a942f679a8545f0d96b6

Or do you want to change the stock item itself, so that, for instance,
all Gtk::Stock::HELP buttons actually say "Eek!"?

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