cl333r
May 9th, 2009, 01:53 PM
Folks, I use Gtk::Stock to create a button and I get this situation: Gnome is configured to show "icons only" (in System-Preferences-Appearance-Interface), but my button shows both the text label and the icon.
How do I tell the button to use "the system settings" and thus in my case display only the icon?
Here's how I create the button:
Gtk::Button *pForwardBt = new Gtk::Button(Gtk::Stock::GO_FORWARD);
myContainer.pack_start(*pForwardBt, Gtk::PACK_SHRINK);
How do I tell the button to use "the system settings" and thus in my case display only the icon?
Here's how I create the button:
Gtk::Button *pForwardBt = new Gtk::Button(Gtk::Stock::GO_FORWARD);
myContainer.pack_start(*pForwardBt, Gtk::PACK_SHRINK);