Hey, All,
The following code works great in 32 bit and 64bit = 9.04, but no bitmap
appears when I run in 64bit 9.10.
Gtk::Image* img = NULL;
if (btnImageName.length() 0)
{
cppstring path = GUtils::OSGetIconFolder() + btnImageName + L.png;
img = new
Hello.
The following code works great in 32 bit and 64bit = 9.04, but no bitmap
appears when I run in 64bit 9.10.
Gtk::Image* img = NULL;
if (btnImageName.length() 0)
{
cppstring path = GUtils::OSGetIconFolder() + btnImageName + L.png;
img = new
Thanks. After some digging, I managed to find out how to set the settings:
// Set button/menu images on by default -- 9.10 turned them off
GtkSettings *settings = gtk_settings_get_default ();
gtk_settings_set_long_property (settings, gtk-button-images, 1,
.gtkrc:0); // I don't
On Tue, Jan 19, 2010 at 10:14:28AM -0800, Garth's KidStuff wrote:
Thanks. After some digging, I managed to find out how to set the settings:
// Set button/menu images on by default -- 9.10 turned them off
GtkSettings *settings = gtk_settings_get_default ();
okay. I want to do things the right way. It's hard sometimes because
the documentation is a little light. *grin*
I guess I'll look into how to construct the button manually.
Garth Upshaw
On Jan 19, 2010, at 4:20 PM, David Nečas y...@physics.muni.cz wrote:
On Tue, Jan 19, 2010 at 10:14:28AM