How to ensure Maximize button shows in Linux/Unix (Tkinter)

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

    #1

    How to ensure Maximize button shows in Linux/Unix (Tkinter)

    I have a tkinter program that shows the 'maximize' button while running
    on Windows but not in Linux. Is there a way to make it show in Linux?

    Thanks,

    Harlin Seritt

  • Diez B. Roggisch

    #2
    Re: How to ensure Maximize button shows in Linux/Unix (Tkinter)

    Harlin Seritt wrote:
    [color=blue]
    > I have a tkinter program that shows the 'maximize' button while running
    > on Windows but not in Linux. Is there a way to make it show in Linux?[/color]

    On linux (or X-Windows in general) the windowdecoratio ns (which maximize is
    a part of) are managed by the windowmanager, not the graphical toolkit
    itself. What windowmanager do you use? If I remember one could get access
    to the wm using tk and maybe then manipulate some settings.

    --
    Regards,

    Diez B. Roggisch

    Comment

    • Harlin Seritt

      #3
      Re: How to ensure Maximize button shows in Linux/Unix (Tkinter)

      Diez,

      Thanks for the quick reply. I am running this under KDE. I actually
      haven't tried doing so under any other wm for the moment. Any ideas how
      to get it to show in KDE?

      Thanks,

      Harlin Seritt

      Comment

      • Diez B. Roggisch

        #4
        Re: How to ensure Maximize button shows in Linux/Unix (Tkinter)

        Harlin Seritt wrote:
        [color=blue]
        > Diez,
        >
        > Thanks for the quick reply. I am running this under KDE. I actually
        > haven't tried doing so under any other wm for the moment. Any ideas how
        > to get it to show in KDE?[/color]

        I also run kde, and it shows that maximze-button. I've no idea why that
        doesn't work for you. Is it a root-window or some other toplevel window?
        --
        Regards,

        Diez B. Roggisch

        Comment

        • Eric Brunel

          #5
          Re: How to ensure Maximize button shows in Linux/Unix (Tkinter)

          On 26 Mar 2005 08:19:07 -0800, Harlin Seritt <harlinseritt@y ahoo.com> wrote:
          [color=blue]
          > Diez,
          >
          > Thanks for the quick reply. I am running this under KDE. I actually
          > haven't tried doing so under any other wm for the moment. Any ideas how
          > to get it to show in KDE?[/color]

          This is a tk bug; see:
          http://sourceforge.net/tracker/index...97&atid=112997
          and:
          http://sourceforge.net/tracker/index...97&atid=112997

          The latest tcl/tk 8.4 release may solve the problem, and a patch is provided for the second bug report if you don't want to upgrade.

          HTH
          --
          python -c 'print "".join([chr(154 - ord(c)) for c in "U(17zX(%,5.z^5 (17l8(%,5.Z*(93-965$l7+-"])'

          Comment

          Working...