GTK 1.x and themes/styles

From: Date: Thu, 07 Jun 2007 20:54:17 +0000
Subject: GTK 1.x and themes/styles
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7895@lists.php.net to get a copy of this message
I'm starting with Chris Weiske's "Aqua Mini" theme - it looks pretty nice, and it's a VAST improvement from the default theme on Windows. But now that I've decided to care what it looks like, I'm trying to iron out the last of the inconsistencies... 1) Radio Buttons: How do I change the background of a radio button with a pixmap or a color, or replace the radio button with a decent-looking (round) graphic? I can set the "box around" the radio button, but NOT the actual background (middle) of the radio button. See: http://chico.benjamindsmith.com/radiobutton.html 2) GtkScintilla doesn't seem to be picking up the settings for edit like entry and text do. I'm calling it like this, though I've tried "*Scintilla*" and "*GtkScintilla*" widget_class "*Entry" style "text" widget_class "*Text" style "text" widget_class "*GtkScintilla" style "text" 3) Changing the properties of editable areas seems to "blow away" all properties for that editable area. Even though I'm only setting the background color, all the properties for the widget's style get reset, not only to the defaults in the gtk.rc file, but defaults BEFORE the gtk.rc file got processed! For example: $greystyle=$gtkentrybox->style) $cmap = $gtkentrybox->get_colormap(); $color = $cmap->alloc('#EEEEEE'); $greystyle->bg[GTK_STATE_NORMAL] = $color; // after this line, it "forgets" all other styles, ! just bg[NORMAL] $gtkentrybox->Set_Style($greystyle); All styling in the gtkrc file "goes away" and the font, colors, etc. resets to the GTK default. What am I doing wrong? Thanks always, -Ben -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

« previous php.gtk.general (#7895) next »