Re: [Tutor] Is there an easy way to center the root window (Tkinter) within the display?

2014-11-27 Thread Alan Gauld
On 27/11/14 19:26, Dave Angel wrote: scale of things is quite large. Does that package include any hooks for automating? > Are they open to requests for improving their software, or for validating your own front ends? For both your organization and theirs: Are you using source control?

Re: [Tutor] Is there an easy way to center the root window (Tkinter) within the display?

2014-11-27 Thread boB Stepp
On Nov 27, 2014 1:27 PM, "Dave Angel" wrote: > > On 11/27/2014 11:39 AM, boB Stepp wrote: >> >> On Thu, Nov 27, 2014 at 9:58 AM, Steven D'Aprano wrote: > > > > You say you're using some 3rd party package to do the heavy lifting. But you also say there could be as many as 1000 servers involved.

Re: [Tutor] Is there an easy way to center the root window (Tkinter) within the display?

2014-11-27 Thread Dave Angel
On 11/27/2014 11:39 AM, boB Stepp wrote: On Thu, Nov 27, 2014 at 9:58 AM, Steven D'Aprano wrote: No offense intended Bob, but this scares me. I know you're trying your best, but "weak programming knowledge" and "radiation therapy" is not a healthy combination. Believe me, I think about this

Re: [Tutor] Is there an easy way to center the root window (Tkinter) within the display?

2014-11-27 Thread boB Stepp
On Thu, Nov 27, 2014 at 9:58 AM, Steven D'Aprano wrote: > On Wed, Nov 26, 2014 at 12:25:23PM -0600, boB Stepp wrote: > >> As I am the only person in our >> group with any programming knowledge (weak though it is), this means I >> usually wind up trying to solve issues as they arise. These client >

Re: [Tutor] Is there an easy way to center the root window (Tkinter) within the display?

2014-11-27 Thread Steven D'Aprano
On Wed, Nov 26, 2014 at 12:25:23PM -0600, boB Stepp wrote: > As I am the only person in our > group with any programming knowledge (weak though it is), this means I > usually wind up trying to solve issues as they arise. These client > machines are dedicated to a single purpose: radiation therapy

Re: [Tutor] Is there an easy way to center the root window (Tkinter) within the display?

2014-11-26 Thread Alan Gauld
On 26/11/14 18:25, boB Stepp wrote: So they can't read email, write reports, browse web sites? Actually, they cannot do any of these things except save their work! In that case you get away with it. I'm still not sure messing with "user preferences" is a good thing but you can at least be re

Re: [Tutor] Is there an easy way to center the root window (Tkinter) within the display?

2014-11-26 Thread boB Stepp
On Wed, Nov 26, 2014 at 11:50 AM, Alan Gauld wrote: > On 26/11/14 17:44, boB Stepp wrote: > [...] > So they can't read email, write reports, browse web sites? > And what if the OS or sysadmin is also trying to catch their eye - maybe > because the server is going down and they have 30 secs to save

Re: [Tutor] Is there an easy way to center the root window (Tkinter) within the display?

2014-11-26 Thread Alan Gauld
On 26/11/14 17:44, boB Stepp wrote: But forcing a window to be centre of the display is usually a bad idea - and very annoyying to the user, especially if they have In the current scenario, users of our planning system will initiate a planning system script (proprietary language) that will ca

Re: [Tutor] Is there an easy way to center the root window (Tkinter) within the display?

2014-11-26 Thread boB Stepp
On Wed, Nov 26, 2014 at 11:23 AM, Alan Gauld wrote: > On 26/11/14 16:46, boB Stepp wrote: > >> I can accomplish this by getting the screen height and width and >> calculating pixel coordinates. But so far I have not found something >> equivalent to anchor = 'CENTER' that can be applied to the root

Re: [Tutor] Is there an easy way to center the root window (Tkinter) within the display?

2014-11-26 Thread Alan Gauld
On 26/11/14 16:46, boB Stepp wrote: I can accomplish this by getting the screen height and width and calculating pixel coordinates. But so far I have not found something equivalent to anchor = 'CENTER' that can be applied to the root window. Does such an easy attribute, method, or whatever exist

[Tutor] Is there an easy way to center the root window (Tkinter) within the display?

2014-11-26 Thread boB Stepp
Python 2.4.4 Solaris 10 I can accomplish this by getting the screen height and width and calculating pixel coordinates. But so far I have not found something equivalent to anchor = 'CENTER' that can be applied to the root window. Does such an easy attribute, method, or whatever exist in Tkinter?