title: How do I make a proper read-only PyGTK text entry?
body: <p>I'm trying to make a widget that holds a short text output that the user should be able to copy, but not change. This is what I've come up with:</p>
  
  <pre><code>entry = gtk.Entry()
  entry.set_property("editable", False)
  entry.unset_flags(gtk.CAN_FOCUS)
  </code></pre>
  
  <p>It works, but the entry still looks like it's editable, and that looks bad from the user perspective. 
  I tried <code>entry.set_sensitive(False)</code> instead, but this both prevents copying, and makes it look completely disabled.</p>
  
  <p>I would like to know how to make a proper read-only text entry, that's grayed out but still active.</p>
  
  <p>Edit: <a href="http://www.codeproject.com/KB/combobox/ReadOnlyComboBoxByClaudio/ReadOnlyComboBox1.gif" rel="nofollow">Here's</a> an image of what I'm talking about, although not GTK (and I'm working in a GNOME environment).</p>
  
  <p>Edit 2: It's starting to look like there's no right way to do this with GTK, if someone can confirm this I'll mark the question solved.</p>