Re: Best way to determine user's screensize?

2020-11-03 Thread Peter Pearson
On Sun, 1 Nov 2020 15:31:57 - (UTC), Grant Edwards wrote: > > I have no objection to saving the most recent window size and using > that on the next startup, but I hate applications that force the > _location_ of the window. I've configured my window manager to open > windows where I want them

Re: Best way to determine user's screensize?

2020-11-02 Thread songbird
Grant Edwards wrote: > On 2020-11-01, songbird wrote: > >> to keep a program simple i made it to open in the center. > > That's not simple: it actually takes _extra_ work to do that. this was the first python3 program i wrote, i certainly do not know python3 or desktop application standards or

Re: Best way to determine user's screensize?

2020-11-02 Thread Grant Edwards
On 2020-11-01, songbird wrote: > certainly it isn't but it is my game and i kept it simple. if > people don't like it then they can find something else to play. i'm > good with that, but the next time i get back to making changes i'll > see what i can figure out for saving the location where so

Re: Best way to determine user's screensize?

2020-11-02 Thread Grant Edwards
On 2020-11-01, songbird wrote: > to keep a program simple i made it to open in the center. That's not simple: it actually takes _extra_ work to do that. > if i ever get back to it i'll have to figure out how to ask > the windowing system what it wants to do for placement I've never heard of do

Re: Best way to determine user's screensize?

2020-11-01 Thread songbird
Mats Wichmann wrote: > On 10/30/20 6:47 PM, songbird wrote: ... >> do you object to a window being put in the approximate >> center of the screen? > > Absolutely! I'm fighting that on a system which, after an update, > insists on opening new terminal windows centered - some recent policy > chang

Re: Best way to determine user's screensize?

2020-11-01 Thread songbird
Grant Edwards wrote: > On 2020-10-31, songbird wrote: ... >> do you object to a window being put in the approximate >> center of the screen? > > YES. I've configured my window manager so windows start up where I > want them to start up. It's none of the application's business where > it's window i

Re: Best way to determine user's screensize?

2020-10-31 Thread Dan Stromberg
On Sat, Oct 31, 2020 at 4:18 PM Peter J. Holzer wrote: > On 2020-10-31 17:12:36 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > > On 2020-10-31 at 19:24:34 +0100, > > "Peter J. Holzer" wrote: > > > On 2020-10-31 11:58:41 -0500, 2qdxy4rzwzuui...@potatochowder.com > wrote: > > > > I never claim

Re: Best way to determine user's screensize?

2020-10-31 Thread Serhiy Storchaka
30.10.20 17:56, flaskee via Python-list пише: > Perhaps a more tactical approach would best to figure > out how to do cross-platform python apps. > > What is the best approach to determining the user's available screensize, > when they open your python application? > > Note that the "desktop" app

Re: Best way to determine user's screensize?

2020-10-31 Thread Peter J. Holzer
On 2020-10-31 17:12:36 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > On 2020-10-31 at 19:24:34 +0100, > "Peter J. Holzer" wrote: > > On 2020-10-31 11:58:41 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > > > I never claimed it was easy. Yes, the author of an MUA has to make a > > > guess

Re: Best way to determine user's screensize?

2020-10-31 Thread 2QdxY4RzWzUUiLuE
On 2020-10-31 at 19:24:34 +0100, "Peter J. Holzer" wrote: > On 2020-10-31 11:58:41 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > > On 2020-10-31 at 14:37:52 +0100, > > "Peter J. Holzer" wrote: > > > > > On 2020-10-31 07:51:38 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > > > > > > Th

Re: Best way to determine user's screensize?

2020-10-31 Thread Random832
On Sat, Oct 31, 2020, at 01:26, Igor Korot wrote: > This one is for "JAVAsucks" - > https://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html > This one is for wxWidgets - https://docs.wxwidgets.org/3.0/overview_sizer.html > This one is for Qt - https://doc.qt.io/qt-5/layout.html > This on

Re: Best way to determine user's screensize?

2020-10-31 Thread Peter J. Holzer
On 2020-10-31 11:52:31 -0700, Ethan Furman wrote: > On 10/31/20 11:24 AM, Peter J. Holzer wrote: > > On 2020-10-31 11:58:41 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > > > I don't think we're disagreeing too much here, either. IMO, the user > > > should be in control, whether by config file

Re: Best way to determine user's screensize?

2020-10-31 Thread Peter J. Holzer
On 2020-10-31 11:54:59 -0500, Igor Korot wrote: > On Sat, Oct 31, 2020, 8:40 AM Peter J. Holzer wrote: > > > On 2020-10-31 07:51:38 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > > > On 2020-10-31 at 13:02:03 +0100, > > > "Peter J. Holzer" wrote: > > > > On 2020-10-31 12:30:43 +1100, Chris A

Re: Best way to determine user's screensize?

2020-10-31 Thread Ethan Furman
On 10/31/20 11:24 AM, Peter J. Holzer wrote: On 2020-10-31 11:58:41 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: I don't think we're disagreeing too much here, either. IMO, the user should be in control, whether by config file or command line or whatever, Config files and command lines

Re: Best way to determine user's screensize?

2020-10-31 Thread Peter J. Holzer
On 2020-10-31 11:58:41 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > On 2020-10-31 at 14:37:52 +0100, > "Peter J. Holzer" wrote: > > > On 2020-10-31 07:51:38 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > > > > The intial/default window should be big enough to contain the > > > initial/

Re: Best way to determine user's screensize?

2020-10-31 Thread Chris Angelico
On Sun, Nov 1, 2020 at 4:10 AM Igor Korot wrote: > > Hi, > > On Sat, Oct 31, 2020, 8:40 AM Peter J. Holzer wrote: > > > On 2020-10-31 07:51:38 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > > > On 2020-10-31 at 13:02:03 +0100, > > > "Peter J. Holzer" wrote: > > > > On 2020-10-31 12:30:43 +11

Re: Best way to determine user's screensize?

2020-10-31 Thread Tim Chase
On 2020-10-31 15:22, Grant Edwards wrote: > > A MUA may have to display hundreds of mailboxes, and maybe tens of > > thousands of mails in a single mailbox. > > No. It doesn't. It has to display a tree widget that shows N items > and holds tens of thousands of items, or a scrolling list widget >

Re: Best way to determine user's screensize?

2020-10-31 Thread Igor Korot
Hi, On Sat, Oct 31, 2020, 12:01 PM <2qdxy4rzwzuui...@potatochowder.com> wrote: > On 2020-10-31 at 14:37:52 +0100, > "Peter J. Holzer" wrote: > > > On 2020-10-31 07:51:38 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > > > > The intial/default window should be big enough to contain the > > > i

Re: Best way to determine user's screensize?

2020-10-31 Thread Igor Korot
Hi, On Sat, Oct 31, 2020, 11:40 AM Grant Edwards wrote: > On 2020-10-31, Peter J. Holzer wrote: > > > Very often this is not the case: An image viewer will be used to > > display images which are larger than the screen. > > Tell the image widget what image you want to display, and then forget >

Re: Best way to determine user's screensize?

2020-10-31 Thread Igor Korot
Hi, On Sat, Oct 31, 2020, 8:40 AM Peter J. Holzer wrote: > On 2020-10-31 07:51:38 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > > On 2020-10-31 at 13:02:03 +0100, > > "Peter J. Holzer" wrote: > > > On 2020-10-31 12:30:43 +1100, Chris Angelico wrote: > > > > There is no valid way for an app

Re: Best way to determine user's screensize?

2020-10-31 Thread Peter J. Holzer
On 2020-10-31 01:20:39 -, Grant Edwards wrote: > On 2020-10-30, Peter J. Holzer wrote: > > > So, assuming the user is invoking the application for the first time, > > how should an application determine how much of the screen it should > > use? > > You arrange the widgets the way you want th

Re: Best way to determine user's screensize?

2020-10-31 Thread Igor Korot
Hi, On Sat, Oct 31, 2020, 11:33 AM Grant Edwards wrote: > On 2020-10-31, songbird wrote: > > Chris Angelico wrote: > > ... > >> I add my voice to those who detest applications that think they know > >> best and decide that they own the entire screen. It is incredibly > >> annoying. > > > > do y

Re: Best way to determine user's screensize?

2020-10-31 Thread Igor Korot
Hi, On Sat, Oct 31, 2020, 8:00 AM Chris Angelico wrote: > On Sat, Oct 31, 2020 at 11:53 PM <2qdxy4rzwzuui...@potatochowder.com> > wrote: > > > > On 2020-10-31 at 13:02:03 +0100, > > "Peter J. Holzer" wrote: > > > > > On 2020-10-31 12:30:43 +1100, Chris Angelico wrote: > > > > > > There is no va

Re: Best way to determine user's screensize?

2020-10-31 Thread 2QdxY4RzWzUUiLuE
On 2020-10-31 at 14:37:52 +0100, "Peter J. Holzer" wrote: > On 2020-10-31 07:51:38 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > > The intial/default window should be big enough to contain the > > initial/default content, regardless of the configuration of the > > screen(s)/monitor(s). > >

Re: Best way to determine user's screensize?

2020-10-31 Thread Grant Edwards
On 2020-10-31, Peter J. Holzer wrote: > You still haven't answered the question: Where should the initial window > size come from? The GUI toolkit used by the application calculates a "desired" window size based on the widgets and layout constraints. That desire is passed to the window manager,

Re: Best way to determine user's screensize?

2020-10-31 Thread Ethan Furman
On 10/30/20 6:24 PM, Grant Edwards wrote: On 2020-10-30, flaskee via Python-list wrote: but allow the user to alter things, via preferences. If you want to remember when a user resizes the application and re-open with that same geometry, that's OK. Doin't it "via preferences" is right out.

Re: Best way to determine user's screensize?

2020-10-31 Thread Grant Edwards
On 2020-10-31, Random832 wrote: > On Fri, Oct 30, 2020, at 20:18, Igor Korot wrote: >> Hi, >> >> On Fri, Oct 30, 2020 at 6:59 PM Peter J. Holzer wrote: >> > So, assuming the user is invoking the application for the first time, >> > how should an application determine how much of the screen it sh

Re: Best way to determine user's screensize?

2020-10-31 Thread Chris Angelico
On Sun, Nov 1, 2020 at 3:35 AM Grant Edwards wrote: > > On 2020-10-31, Chris Angelico wrote: > > > >> do you object to a window being put in the approximate > >> center of the screen? > >> > > > > If that's where my window manager chooses to put it, great! The > > application just says "I want a

Re: Best way to determine user's screensize?

2020-10-31 Thread Terry Reedy
On 10/30/2020 12:05 PM, Grant Edwards wrote: On 2020-10-30, flaskee via Python-list wrote: What is the best approach to determining the user's available screensize, when they open your python application? IDLE, based on tkinter based on tcl/tk has a feature to vertically zoom an editor wind

Re: Best way to determine user's screensize?

2020-10-31 Thread Grant Edwards
On 2020-10-31, Peter J. Holzer wrote: > Very often this is not the case: An image viewer will be used to > display images which are larger than the screen. Tell the image widget what image you want to display, and then forget about it. Let the toolkit and window manager do their jobs. > A MUA m

Re: Best way to determine user's screensize?

2020-10-31 Thread Grant Edwards
On 2020-10-30, flaskee via Python-list wrote: > Funny thing about people who bitch and complain > and offer no help, Layout your widgets using appropriate sizers and constraints, and then let them and the window manager do their jobs. You shouldn't be messing about with window sizes and location

Re: Best way to determine user's screensize?

2020-10-31 Thread Grant Edwards
On 2020-10-31, Chris Angelico wrote: > >> do you object to a window being put in the approximate >> center of the screen? >> > > If that's where my window manager chooses to put it, great! The > application just says "I want a window of this size" But let the widget/toolkit layout engine figure o

Re: Best way to determine user's screensize?

2020-10-31 Thread Grant Edwards
On 2020-10-30, flaskee via Python-list wrote: > In odd screen sizes or multi-monitor situations, > I make the best guess, Stop guessing. Let the window manager, and layout algorithm do the jobs for which they were designed. > but allow the user to alter things, via preferences. If you want to

Re: Best way to determine user's screensize?

2020-10-31 Thread Grant Edwards
On 2020-10-30, Peter J. Holzer wrote: > So, assuming the user is invoking the application for the first time, > how should an application determine how much of the screen it should > use? You arrange the widgets the way you want them using the user's settings for the toolkit and let the sizers f

Re: Best way to determine user's screensize?

2020-10-31 Thread Grant Edwards
On 2020-10-31, songbird wrote: > Chris Angelico wrote: > ... >> I add my voice to those who detest applications that think they know >> best and decide that they own the entire screen. It is incredibly >> annoying. > > do you object to a window being put in the approximate > center of the screen?

Re: Best way to determine user's screensize?

2020-10-31 Thread Mats Wichmann
On 10/30/20 6:47 PM, songbird wrote: > Chris Angelico wrote: > ... >> I add my voice to those who detest applications that think they know >> best and decide that they own the entire screen. It is incredibly >> annoying. > > do you object to a window being put in the approximate > center of the

Re: Best way to determine user's screensize?

2020-10-31 Thread Peter J. Holzer
On 2020-10-31 07:51:38 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote: > On 2020-10-31 at 13:02:03 +0100, > "Peter J. Holzer" wrote: > > On 2020-10-31 12:30:43 +1100, Chris Angelico wrote: > > > There is no valid way for an application to read my mind and size > > > itself. Attempting to query my

Re: Best way to determine user's screensize?

2020-10-31 Thread Chris Angelico
On Sat, Oct 31, 2020 at 11:53 PM <2qdxy4rzwzuui...@potatochowder.com> wrote: > > On 2020-10-31 at 13:02:03 +0100, > "Peter J. Holzer" wrote: > > > On 2020-10-31 12:30:43 +1100, Chris Angelico wrote: > > > > There is no valid way for an application to read my mind and size > > > itself. Attempting

Re: Best way to determine user's screensize?

2020-10-31 Thread 2QdxY4RzWzUUiLuE
On 2020-10-31 at 13:02:03 +0100, "Peter J. Holzer" wrote: > On 2020-10-31 12:30:43 +1100, Chris Angelico wrote: > > There is no valid way for an application to read my mind and size > > itself. Attempting to query my screen size seems to just make things > > worse in a lot of situations. > You

Re: Best way to determine user's screensize?

2020-10-31 Thread Peter J. Holzer
On 2020-10-30 20:47:50 -0400, songbird wrote: > Chris Angelico wrote: > > I add my voice to those who detest applications that think they know > > best and decide that they own the entire screen. It is incredibly > > annoying. > > do you object to a window being put in the approximate > center o

Re: Best way to determine user's screensize?

2020-10-31 Thread Peter J. Holzer
On 2020-10-31 12:30:43 +1100, Chris Angelico wrote: > On Sat, Oct 31, 2020 at 10:57 AM Peter J. Holzer wrote: > > On 2020-10-31 10:02:12 +1100, Chris Angelico wrote: > > > On Sat, Oct 31, 2020 at 9:55 AM flaskee via Python-list > > > wrote: > > > > I have done all of this resizing and layout stuf

Re: Best way to determine user's screensize?

2020-10-31 Thread Peter J. Holzer
On 2020-10-30 19:18:22 -0500, Igor Korot wrote: > On Fri, Oct 30, 2020 at 6:59 PM Peter J. Holzer wrote: > > On 2020-10-31 10:02:12 +1100, Chris Angelico wrote: > > > I add my voice to those who detest applications that think they know > > > best and decide that they own the entire screen. > > > >

Re: Best way to determine user's screensize?

2020-10-31 Thread Peter J. Holzer
On 2020-10-30 20:08:35 -0700, jf...@ms4.hinet.net wrote: > What's wrong the OP's question? Why can't just answer it? Igor already answered it: There is no best way in Python, because it depends on the framework (and there are many frameworks). hp -- _ | Peter J. Holzer| Story mu

Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi, On Fri, Oct 30, 2020 at 10:44 PM Random832 wrote: > > On Fri, Oct 30, 2020, at 20:18, Igor Korot wrote: > > Hi, > > > > On Fri, Oct 30, 2020 at 6:59 PM Peter J. Holzer wrote: > > > So, assuming the user is invoking the application for the first time, > > > how should an application determine

Re: Best way to determine user's screensize?

2020-10-30 Thread Chris Angelico
On Sat, Oct 31, 2020 at 2:43 PM Random832 wrote: > > On Fri, Oct 30, 2020, at 20:18, Igor Korot wrote: > > Hi, > > > > On Fri, Oct 30, 2020 at 6:59 PM Peter J. Holzer wrote: > > > So, assuming the user is invoking the application for the first time, > > > how should an application determine how m

Re: Best way to determine user's screensize?

2020-10-30 Thread Random832
On Fri, Oct 30, 2020, at 20:18, Igor Korot wrote: > Hi, > > On Fri, Oct 30, 2020 at 6:59 PM Peter J. Holzer wrote: > > So, assuming the user is invoking the application for the first time, > > how should an application determine how much of the screen it should > > use? It has to make some choice

Re: Best way to determine user's screensize?

2020-10-30 Thread jfong
What's wrong the OP's question? Why can't just answer it? --Jach -- https://mail.python.org/mailman/listinfo/python-list

Re: Best way to determine user's screensize?

2020-10-30 Thread Chris Angelico
On Sat, Oct 31, 2020 at 10:57 AM Peter J. Holzer wrote: > > On 2020-10-31 10:02:12 +1100, Chris Angelico wrote: > > On Sat, Oct 31, 2020 at 9:55 AM flaskee via Python-list > > wrote: > > > I have done all of this resizing and layout stuff before. > > > > > > I just ignored the grouchy user with t

Re: Best way to determine user's screensize?

2020-10-30 Thread 2QdxY4RzWzUUiLuE
On 2020-10-30 at 20:47:50 -0400, songbird wrote: > Chris Angelico wrote: > ... > > I add my voice to those who detest applications that think they know > > best and decide that they own the entire screen. It is incredibly > > annoying. > > do you object to a window being put in the approximate

Re: Best way to determine user's screensize?

2020-10-30 Thread Chris Angelico
On Sat, Oct 31, 2020 at 11:51 AM songbird wrote: > > Chris Angelico wrote: > ... > > I add my voice to those who detest applications that think they know > > best and decide that they own the entire screen. It is incredibly > > annoying. > > do you object to a window being put in the approximate

Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi, On Fri, Oct 30, 2020 at 7:52 PM songbird wrote: > > Chris Angelico wrote: > ... > > I add my voice to those who detest applications that think they know > > best and decide that they own the entire screen. It is incredibly > > annoying. > > do you object to a window being put in the approxi

Re: Best way to determine user's screensize?

2020-10-30 Thread songbird
Chris Angelico wrote: ... > I add my voice to those who detest applications that think they know > best and decide that they own the entire screen. It is incredibly > annoying. do you object to a window being put in the approximate center of the screen? songbird -- https://mail.python.org/m

Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi, On Fri, Oct 30, 2020 at 6:59 PM Peter J. Holzer wrote: > > On 2020-10-31 10:02:12 +1100, Chris Angelico wrote: > > On Sat, Oct 31, 2020 at 9:55 AM flaskee via Python-list > > wrote: > > > I have done all of this resizing and layout stuff before. > > > > > > I just ignored the grouchy user wi

Re: Best way to determine user's screensize?

2020-10-30 Thread boB Stepp
On Sat, Oct 31, 2020 at 12:56:30AM +0100, Peter J. Holzer wrote: So, assuming the user is invoking the application for the first time, how should an application determine how much of the screen it should use? It has to make some choice, and any hard-coded value is almost certainly wrong. So why

Re: Best way to determine user's screensize?

2020-10-30 Thread Peter J. Holzer
On 2020-10-31 10:02:12 +1100, Chris Angelico wrote: > On Sat, Oct 31, 2020 at 9:55 AM flaskee via Python-list > wrote: > > I have done all of this resizing and layout stuff before. > > > > I just ignored the grouchy user with the hate over me wanting screensize. > > (every list has one of those ty

Re: Best way to determine user's screensize?

2020-10-30 Thread flaskee via Python-list
> Funny thing about complaints... you don't hear any from people who > just uninstall your app and move right on with their lives. > > Multi-monitor situations are pretty common. Since you don't seem to > care about them, I no longer care about your app. Whatever it is, I > don't need it. > > Chr

Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi, On Fri, Oct 30, 2020 at 6:24 PM Chris Angelico wrote: > > On Sat, Oct 31, 2020 at 10:17 AM flaskee via Python-list > wrote: > > > > > > I'm closing in on the screen width/height, at least. > > > > > > In odd screen sizes or multi-monitor situations, > > I make the best guess, > > but allow t

Re: Best way to determine user's screensize?

2020-10-30 Thread Chris Angelico
On Sat, Oct 31, 2020 at 10:17 AM flaskee via Python-list wrote: > > > I'm closing in on the screen width/height, at least. > > > In odd screen sizes or multi-monitor situations, > I make the best guess, > but allow the user to alter things, > via preferences. > > No complaints in 10 years. > So th

Re: Best way to determine user's screensize?

2020-10-30 Thread flaskee via Python-list
I'm closing in on the screen width/height, at least. In odd screen sizes or multi-monitor situations, I make the best guess, but allow the user to alter things, via preferences. No complaints in 10 years. So there's that. # For MacOS Code: import AppKit [(screen.frame().size.width, screen.fr

Re: Best way to determine user's screensize?

2020-10-30 Thread Chris Angelico
On Sat, Oct 31, 2020 at 9:55 AM flaskee via Python-list wrote: > I have done all of this resizing and layout stuff before. > > I just ignored the grouchy user with the hate over me wanting screensize. > (every list has one of those types, eh? :-) > > Screensize, in part, determines the aspect rati

Re: Best way to determine user's screensize?

2020-10-30 Thread flaskee via Python-list
‐‐‐ Original Message ‐‐‐ On Friday, October 30, 2020 5:31 PM, Igor Korot wrote: > Hi, > > On Fri, Oct 30, 2020 at 4:20 PM Random832 random...@fastmail.com wrote: > > > On Fri, Oct 30, 2020, at 12:05, Grant Edwards wrote: > > > > > Why do you think that's something your application needs

Re: Best way to determine user's screensize?

2020-10-30 Thread Peter J. Holzer
On 2020-10-30 16:31:25 -0500, Igor Korot wrote: > On Fri, Oct 30, 2020 at 4:20 PM Random832 wrote: > > > > On Fri, Oct 30, 2020, at 12:05, Grant Edwards wrote: > > > Why do you think that's something your application needs to know? > > > > > > I _hate_ applications that think just because they've

Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi, On Fri, Oct 30, 2020 at 4:20 PM Random832 wrote: > > On Fri, Oct 30, 2020, at 12:05, Grant Edwards wrote: > > Why do you think that's something your application needs to know? > > > > I _hate_ applications that think just because they've been started > > they now own the entire computer and e

Re: Best way to determine user's screensize?

2020-10-30 Thread Random832
On Fri, Oct 30, 2020, at 12:05, Grant Edwards wrote: > Why do you think that's something your application needs to know? > > I _hate_ applications that think just because they've been started > they now own the entire computer and everything reachable from it. > > All you need to know is how big

Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi, On Fri, Oct 30, 2020 at 12:26 PM Grant Edwards wrote: > > On 2020-10-30, flaskee via Python-list wrote: > > > What is the best approach to determining the user's available > > screensize, when they open your python application? > > Why do you think that's something your application needs to

Re: Best way to determine user's screensize?

2020-10-30 Thread Grant Edwards
On 2020-10-30, flaskee via Python-list wrote: > What is the best approach to determining the user's available > screensize, when they open your python application? Why do you think that's something your application needs to know? I _hate_ applications that think just because they've been starte

Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi, On Fri, Oct 30, 2020, 10:59 AM flaskee via Python-list < python-list@python.org> wrote: > Perhaps a more tactical approach would best to figure > out how to do cross-platform python apps. > > What is the best approach to determining the user's available screensize, > when they open your pyt

Best way to determine user's screensize?

2020-10-30 Thread flaskee via Python-list
Perhaps a more tactical approach would best to figure out how to do cross-platform python apps. What is the best approach to determining the user's available screensize, when they open your python application? Note that the "desktop" application could be running on Android, iOS, MacOS, Windows or