Menu

#37 XP does not observe background colors for buttons

v1.0_(example)
open
nobody
5
2005-07-28
2005-07-28
No

If you set a background color on a Button in the
Windows XP version of Wimp, it does not honor the
color. It does however work in Windows 2000. Attached
is sample PyGTK code. There are two files, a "good"
script and a "bad" script. The good script displays
the background color correctly because it forces GTK to
use the "Default" theme.

Discussion

  • Kevin Conaway

    Kevin Conaway - 2005-07-28

    Zip file containing scripts and screenshots

     
  • Kevin Conaway

    Kevin Conaway - 2005-07-28

    Logged In: YES
    user_id=1206550

    Furthermore, I would like to add that this bug only
    manifests itself if I am using the "Windows XP" theme on
    Windows XP. If I use the "Windows Classic" theme, the
    background colors are shown.

     
  • Leonard Ritter

    Leonard Ritter - 2006-01-20

    Logged In: YES
    user_id=1420187

    you cant even do that with default winapi themed apps.

     
  • Nobody/Anonymous

    Logged In: NO

    Very annoying bug. Thanks kevin_conaway for the scripts.

    In gtkmm:
    Gtk::RC::parse_string( "gtk-theme-name = Default" );

     

Log in to post a comment.