Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3457208
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:49:57+00:00 2026-05-18T09:49:57+00:00

I preivously had gtk 2.14.6 installed, using it through python 2.5 with pygtk 2.12.

  • 0

I preivously had gtk 2.14.6 installed, using it through python 2.5 with pygtk 2.12. I just downloaded the gtk 2.22 bundle and extracted it, replacing the old one. (I didn’t extract it over the old folder, I just moved the old folder and extracted the new bundle in the same place). However, the same app went from looking very much like a native Windows 7 app to looking very ugly, clunky.. more like a Windows XP theme but it didn’t even mimic that well.

How does GTK theming work? How can I get the newest version of GTK (I updated due to instability issues), but have the theme? And why did the older version look better than the newer one?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:49:58+00:00Added an answer on May 18, 2026 at 9:49 am

    In your distribution, in etc/gtk-2.0/gtkrc, you need to make sure that “style” is set to “msw-default” and engine set to “wimp”. Here’s my entire gtkrc, just to make sure you have it:

    gtk-icon-sizes = "gtk-menu=13,13:gtk-small-toolbar=16,16:gtk-large-toolbar=24,24:gtk-dnd=32,32"
    gtk-toolbar-icon-size = small-toolbar
    
    # disable images in buttons. i've only seen ugly delphi apps use this feature.
    gtk-button-images = 1
    
    # enable/disable images in menus. most "stock" microsoft apps don't use these, except sparingly.
    # the office apps use them heavily, though.
    gtk-menu-images = 1
    
    # use the win32 button ordering instead of the GNOME HIG one, where applicable
    gtk-alternative-button-order = 1
    
    # use the win32 sort indicators direction, as in Explorer
    gtk-alternative-sort-arrows = 1
    
    # Windows users don't expect the PC Speaker beeping at them when they backspace in an empty textview and stuff like that
    gtk-error-bell = 0
    
    style "msw-default"
    {
      GtkWidget::interior-focus = 1
      GtkOptionMenu::indicator-size = { 9, 5 }
      GtkOptionMenu::indicator-spacing = { 7, 5, 2, 2 }
      GtkSpinButton::shadow-type = in
    
      # Owen and I disagree that these should be themable
      GtkUIManager::add-tearoffs = 0
      #GtkComboBox::add-tearoffs = 0
    
      GtkComboBox::appears-as-list = 1
      GtkComboBox::focus-on-click = 0
    
      GOComboBox::add_tearoffs = 0
    
      GtkTreeView::allow-rules = 0
      GtkTreeView::expander-size = 12
    
      GtkExpander::expander-size = 12
    
      GtkScrolledWindow::scrollbar_spacing = 1
    
      GtkSeparatorMenuItem::horizontal-padding = 2
    
      engine "wimp" 
      {
      }
    
     }
    class "*" style "msw-default"
    
    binding "ms-windows-tree-view"
    {
      bind "Right" { "expand-collapse-cursor-row" (1,1,0) }
      bind "Left" { "expand-collapse-cursor-row" (1,0,0) }
    }
    
    class "GtkTreeView" binding "ms-windows-tree-view"
    
    style "msw-combobox-thickness" = "msw-default"
    {
      xthickness = 0 
      ythickness = 0
    }
    
    
    widget_class "*TreeView*ComboBox*" style "msw-combobox-thickness"
    widget_class "*ComboBox*GtkFrame*" style "msw-combobox-thickness"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.