Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93564

Re: pygtk2 and colors

References <3b7fcd33-8ba6-44f7-abf8-ad55458eb96a@googlegroups.com> <mnh04p$k28$1@dont-email.me> <97288ef7-1d9e-4afc-b4e3-534582ccd059@googlegroups.com>
Date 2015-07-08 03:57 +1000
Subject Re: pygtk2 and colors
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.347.1436291880.3674.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Jul 8, 2015 at 3:25 AM,  <nickgeovanis@gmail.com> wrote:
> On Tuesday, July 7, 2015 at 11:54:21 AM UTC-5, Cousin Stanley wrote:
>>   You might try ....
>>
>>     self.set_rgb_fg_color( fg )
>
> Well thanks, that works. Yet set_rgb_bg_color() does not. And I notice that the example at the link you sent doesn't set the background color either. Do I have a color overlay or masking issue?

Part of your confusion may be because "background" isn't necessarily
what you think it is. In GTK, there are several different ways styles
can be set, and probably you _are_ setting the background color, but
it's not having any visible change. Try playing around with some of
the other settable colors, and see if one of them helps you.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

pygtk2 and colors nickgeovanis@gmail.com - 2015-07-07 06:57 -0700
  Re: pygtk2 and colors bkimstunnaboss@gmail.com - 2015-07-07 07:47 -0700
    Re: pygtk2 and colors Chris Angelico <rosuav@gmail.com> - 2015-07-08 00:54 +1000
  Re: pygtk2 and colors Cousin Stanley <cousinstanley@gmail.com> - 2015-07-07 09:54 -0700
    Re: pygtk2 and colors nickgeovanis@gmail.com - 2015-07-07 10:25 -0700
      Re: pygtk2 and colors Chris Angelico <rosuav@gmail.com> - 2015-07-08 03:57 +1000
        Re: pygtk2 and colors nickgeovanis@gmail.com - 2015-07-07 12:37 -0700
          Re: pygtk2 and colors nickgeovanis@gmail.com - 2015-07-10 16:06 -0700

csiph-web