Re: Gtk::Stock::CANCEL
- From: ArbolOne <arbolone gmail com>
- To: Murray Cumming <murrayc murrayc com>
- Cc: GTKmm List <gtkmm-list gnome org>
- Subject: Re: Gtk::Stock::CANCEL
- Date: Fri, 23 Oct 2009 10:33:24 -0400
Yes, I am using WinXP, is there a way to change the theme, I really like
the look and feel of GNOME.
TIA
Murray Cumming wrote:
On Thu, 2009-10-22 at 20:31 -0400, ArbolOne wrote:
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?
Are you using Windows? The default GTK+ theme on Windows doesn't show
stock button images on purpose. I believe that's meant to make GTK+
applications look more correct on Windows.
--
___ _____ _____ _____ _ _____ __ _ _____
/ | | _ \ | _ \ / _ \ | | / _ \ | \ | | | ____|
/ /| | | |_| | | |_| | | | | | | | | | | | | \| | | |__
/ / | | | _ / | _ { | | | | | | | | | | | |\ | | __|
/ / | | | | \ \ | |_| | | |_| | | |___ | |_| | | | \ | | |___
/_/ |_| |_| \_\ |_____/ \_____/ |_____| \_____/ |_| \_| |_____|
ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more.
"O Allah, make my love for You the most beloved thing to me, and my fear for You the most fearful thing to me, and remove from me all worldly needs and wants by instilling a passion for meeting You, make the coolness of my eyes to worshipping You.”
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]