Locked wxpython
bhanu computer <bhanuponguru@...>
hi all, i want to position my wxpython controlls to top botm ubut i dont know which int sets which position. for example wx.Button(pos=) where i left empty after equals i dont know what to fill here. i mean i dont know which value puts in which position. please tell me which value put the controll in which position. thanks in advance
|
|
Sean
Two values are written to pos. The values are tuple. But this approach is not a good approach for a blind programmer.
Because items on the screen will overlap frequently.
On 04/05/2020 19:44, bhanu computer
wrote:
hi all, i want to position my wxpython controlls to top botm ubut i dont know which int sets which position. for example wx.Button(pos=) where i left empty after equals i dont know what to fill here. i mean i dont know which value puts in which position. please tell me which value put the controll in which position. thanks in advance --
SeanI’m student and programmer. I write often Python, sometimes
Go and rare C++. |
|
Andy B.
Specifying locations of WX controls is completely feasible for a blind person. After all, this is why I am writing a getting’s started guide for Developer toolkit. It solves this very problem.
Sent from Mail for Windows 10
From: Sean
Sent: Monday, May 4, 2020 1:59 PM To: nvda@nvda.groups.io Subject: Re: [nvda] wxpython
Two values are written to pos. The values are tuple. But this approach is not a good approach for a blind programmer. Because items on the screen will overlap frequently.
On 04/05/2020 19:44, bhanu computer wrote:
-- SeanI’m student and programmer. I write often Python, sometimes Go and rare C++.
|
|
Sean
I don't think this is so. On 04/05/2020 21:01, Andy B. wrote:
--
SeanI’m student and programmer. I write often Python, sometimes
Go and rare C++. |
|
Hi, As much as we wish to help you, I think this question is best suited to a more programming oriented list. Sorry. Cheers, Joseph
From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of bhanu computer
Sent: Monday, May 4, 2020 9:45 AM To: nvda@nvda.groups.io Subject: [nvda] wxpython
hi all, i want to position my wxpython controlls to top botm ubut i dont know which int sets which position. for example wx.Button(pos=) where i left empty after equals i dont know what to fill here. i mean i dont know which value puts in which position. please tell me which value put the controll in which position. thanks in advance |
|
Andy B.
I think its feasible for a blind person to precisely position controls in a window. On the other hand, if WX developers think using x/y coordinates to position a control is a bad UI design practice, then it applies to everyone, not just blind people.
Sent from Mail for Windows 10
From: Sean
Sent: Monday, May 4, 2020 2:09 PM To: nvda@nvda.groups.io Subject: Re: [nvda] wxpython
I don't think this is so. On 04/05/2020 21:01, Andy B. wrote:
-- SeanI’m student and programmer. I write often Python, sometimes Go and rare C++.
|
|
Tyler Spivey
Try asking here: https://www.freelists.org/list/program-l On 5/4/2020 11:09 AM, Joseph Lee wrote:
|
|
Hi, Based on source codes of add-ons I have, many use sizers for this purpose- not many specify coordinates except for cases it is justified such as a list view. It is perfectly possible for people to use coordinates to position controls, but it runs into multiple issues, chiefly label length, font, translations, high DPI and many variations. Cheers, Joseph
From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of Sean
Sent: Monday, May 4, 2020 10:59 AM To: nvda@nvda.groups.io Subject: Re: [nvda] wxpython
Two values are written to pos. The values are tuple. But this approach is not a good approach for a blind programmer. Because items on the screen will overlap frequently.
On 04/05/2020 19:44, bhanu computer wrote:
-- SeanI’m student and programmer. I write often Python, sometimes Go and rare C++. |
|
bhanu computer <bhanuponguru@...>
but freinds i used audio theems addon in 3d mode. i accessed some NVDA dialogs and they are positioned. but my wx app is positioned only on the left. can you say what position you used? for example when chages are made to the addons the restart dialog box have buttons slitely to the right if i remember exactly.
|
|
I had hoped this topic had died a natural death, but apparently not. It is not on topic for the NVDA Group. Mr. Spivey gave an excellent resource, https://www.freelists.org/list/program-l, where this sort of programming question could be asked. It does not meet the criteria stated in the welcome message, monthly reminder, or the group description: "The central purpose of this group is discussing how to use NVDA, either configuring NVDA's settings or familiarizing oneself with its modes and commands. Discussions about which programs are accessible using NVDA, NVDA add-ons, NVDA tutorials and documentation, and configuring synthesizers or Braille displays for use with NVDA are also permitted."
This topic is now locked. -- Brian - Windows 10 Pro, 64-Bit, Version 1909, Build 18363 Science has become just another voice in the room; it has lost its platform. Now, you simply declare your own truth. ~ Dr. Paul A. Offit, in New York Times article, How Anti-Vaccine Sentiment Took Hold in the United States, September 23, 2019
|
|