473,387 Members | 1,579 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

Jul 18 '05 #1
4 1678
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Abstractius | last post by:
Hello, I was able to unearth some ancient documentation suggesting Modules/Setup has to be edited by hand (after ./configure) to compile tkinter. The short info at...
4
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or...
2
by: mksql | last post by:
New to Tkinter. Initially, I had some code that was executing button commands at creation, rather than waiting for user action. Some research here gave me a solution, but I am not sure why the...
2
by: Paul A. Wilson | last post by:
I'm new to Tkinter programming and am having trouble creating a reusable button bar... I want to be able to feed my class a dictionary of button names and function names, which the class will make....
1
by: Philippe C. Martin | last post by:
By zoom box I meant one of the top right button/box one uses to maximize/unmaximize the current window. -- ********************* Philippe C. Martin SnakeCard LLC
3
by: Shankar Iyer (siyer | last post by:
Hi, I have another Tkinter-related question. At the beginning of my program, a tkinter window is created with six buttons. Each of these buttons is assigned a function that should be executed...
3
by: gilbert3b2g | last post by:
I'm new to Python, and programming in general. What I'm trying to do here is to load a list of accounts from a file on my harddrive into a string of Buttons in Tkinter, and when I press one of the...
5
by: crystalattice | last post by:
I'm creating a shelve interface using Tkinter. I have a button that allows the user to modify an existing entry; when the button is clicked, a new TopLevel window appears with Entry boxes holding...
0
by: phpfreak2007 | last post by:
Hello all,,, I have created one Application. there are one MDI form and One child.. Initially i set the Window state for both of them to Maximized.. but when i display child form....
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.