Changing the color of default frame border

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mudcat

    Changing the color of default frame border

    Hello,

    I would like to change the color of the default border around frames or
    widgets. Note: not the highlight border, but the default border. There
    have been many previous requests about the highlight border, but I
    couldn't find anything on changing the default border color.

    I know how to change the border relief and width but have found no way
    to change the color of it. Is there a way to do that?

    Thanks,
    Marc

  • Peter Hansen

    #2
    Re: Changing the color of default frame border

    Mudcat wrote:[color=blue]
    > I would like to change the color of the default border around frames or
    > widgets. Note: not the highlight border, but the default border. There
    > have been many previous requests about the highlight border, but I
    > couldn't find anything on changing the default border color.
    >
    > I know how to change the border relief and width but have found no way
    > to change the color of it. Is there a way to do that?[/color]

    What platform, what framework, possibly what versions of everything,
    would be just a bit of a help to those attempting to answer...

    -Peter

    Comment

    • Mudcat

      #3
      Re: Changing the color of default frame border

      Oh yeah. I guess that would help a little. You use something all the
      time and just assume everone else does also.
      I'm using Tkinter on Windows 2000 with Python 2.3.

      Thanks

      Comment

      • Eric Brunel

        #4
        Re: Changing the color of default frame border

        Mudcat wrote:[color=blue]
        > Oh yeah. I guess that would help a little. You use something all the
        > time and just assume everone else does also.
        > I'm using Tkinter on Windows 2000 with Python 2.3.[/color]

        There is no such thing as a border color for a Tkinter frame: it is just the
        color of the frame. To get a specific color for the border alone, maybe you can
        use two frames: the first for the border and another one inside it where you put
        your widgets. But I fear there is no way to set a *default* border color for frames.

        HTH
        --
        - Eric Brunel <eric (underscore) brunel (at) despammed (dot) com> -
        PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com

        Comment

        Working...