Re: Custom Dialog Problems and Observations
Lawrence Gray <[email protected]> Sat, 25 Apr 2020 22:44:54 -0400
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <CAJFU_KpRvN0H1G190i3opMfzRo5tUaR0+vxn-bnzVvkr6XsQGg@mail.gmail.com> |
Hi:
> Alt/Ctrl + Cursor keys certainly win over right mouse clicks when it comes
> to usability.
>
We will just have to disagree about that.
> wxGlade and Boa are not related anyhow. In fact, I had a look at all the
> GUI builders over the last 21 years and Boa was the one that I could not
> understand at all...
>
Boa was confusing, I admit, but it was the first one I tried while it was
actively developed. I also discovered wxGlade around the same time, but
have not had a
A screen reader is for blind or visually impaired people. NVDA seems to be
> most common.
>
My mistake, I misunderstood what you meant by a screen reader. At the risk
of sounding insensitive, why would you alter the output format of the code
for users to accommodate screen readers? I don't have enough experience to
appreciate why the structured output that v0.9.5 and earlier versions
created is not desirable. Maybe both output styles can be accommodated with
a checkbox in the preferences dialog.
> You can avoid duplicate code if you place it at "Extra (import) code...".
> This does not insert duplicate entries.
>
Is that the appropriate place to put the code? It ends up outside of the
class definition. I will give it a try.
Another matter. I have tried to run the AllWidgets_30 example. The output
code does not run from 'idle'. I get the following error output
Traceback (most recent call last):
File "C:\wxGlade-master\examples\AllWidgets\AllWidgets_30.py", line 616,
in OnInit
self.All_Widgets = All_Widgets_Frame(None, wx.ID_ANY, "")
File "C:\wxGlade-master\examples\AllWidgets\AllWidgets_30.py", line 195,
in __init__
self.datepicker_ctrl_1 =
wx.adv.DatePickerCtrl(self.notebook_1_wxDatePickerCtrl, wx.ID_ANY,
style=wx.adv.DP_SHOWCENTURY)
wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NULL),
"C") == 0" failed at ..\..\src\common\intl.cpp(1579) in
wxLocale::GetInfo(): You probably called setlocale() directly instead of
using wxLocale and now there is a mismatch between C/C++ and Windows locale.
Things are going to break, please only change locale by creating wxLocale
objects to avoid this!
Any ideas?
Regards
--
------------------------------
*Lawrence Gray *
------------------------------
On Sat, 25 Apr 2020 at 14:42, Dietmar Schwertberger <
[email protected]> wrote:
> On 25.04.2020 19:54, Lawrence Gray wrote:
>
> extra property section of the code panel. Since the properties and their
> values can be selected, provide a 'right-click' menu with items 'move up'
> and 'move down'. There seems to be a distinction with
>
> Alt/Ctrl + Cursor keys certainly win over right mouse clicks when it comes
> to usability.
>
> No, I haven't tried. I have always depended on an application such as
> wxGlade and before that boaConstructor which I believe had wxGlade embedded
> in it. I am relatively new to GUI
>
> wxGlade and Boa are not related anyhow. In fact, I had a look at all the
> GUI builders over the last 21 years and Boa was the one that I could not
> understand at all...
>
> I'm not sure I see this. I found it easier to see the associations. Screen
> readers-difficult? I use notepad++ to view the generated code and the
> code-folding makes it easy to hide functions and classes
>
> A screen reader is for blind or visually impaired people. NVDA seems to be
> most common.
>
> code before the class definition. I will go so far as to suggest that
> wxGlade should do the same for the pre and post-fabrication code blocks;
> including the widget name in the marker. eg., '#begin speedmeter_1
> pre-fabrication code'. Until I better understand and become more agile in
> creating
>
> I would certainly want to add some more control for code generation, but
> that's not on the top of the list.
>
>
> Although there is some code duplication that results from duplicating the
> speedmeter widget, I like the fact that I can see where everything in the
> output code derives from within wxGlade.
>
> You can avoid duplicate code if you place it at "Extra (import) code...".
> This does not insert duplicate entries.
>
> Regards,
>
> Dietmar
> _______________________________________________
> wxGlade-general mailing list
> wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/wxglade-general
>
_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general