Re: Gtk::Stock::CANCEL
- From: Галымжан Кожаев <kozhayev gmail com>
- To: ArbolOne <arbolone gmail com>
- Cc: GTKmm List <gtkmm-list gnome org>
- Subject: Re: Gtk::Stock::CANCEL
- Date: Fri, 23 Oct 2009 10:31:03 +0600
Hi, ArbolOne. Perhaps, you should call this->btnCancel->show_all_children(); ?
Best regards, Galymzhan.
2009/10/23, ArbolOne <arbolone gmail com>:
> Hello,
> I am trying to add a stock icon to a button like this:
> this->btnCancel = Gtk::manage(new Gtk::Button(Gtk::Stock::CANCEL));
> this is supposed to display a button with a X next to it (X Cancel),
> just like the Accept button in the example just above the description of
> ~Button(), which display a folded arrow pointing to the left
> [http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Button.html]
>
> However, the button in my application does not display the intended
> image, does anyone know what I am doing wrong?
>
> TIA
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]