By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,216 Members | 1,001 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,216 IT Pros & Developers. It's quick & easy.

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

P: n/a
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

Jul 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Harlin Seritt wrote:
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?


On linux (or X-Windows in general) the windowdecorations (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
Jul 18 '05 #2

P: n/a
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

Jul 18 '05 #3

P: n/a
Harlin Seritt wrote:
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?


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
Jul 18 '05 #4

P: n/a
On 26 Mar 2005 08:19:07 -0800, Harlin Seritt <ha**********@yahoo.com> wrote:
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?


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+-"])'
Jul 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.