xrced problem may be solved

I think I found the problem. I had downloaded a copy of xrced and put
it into my project folder; I was not running the c:\python26\scripts
version, I did not even know what the scripts folder was for. It seems
that I cannot use a file created with the older version in the newer
one, but I did not have a complex dialog anyway so it is okay to start
over. I now have to figure out why I cannot add children ("append") to
my panel. This new version is much more difficult to use with Jaws, my
screen reader (http://www.freedomscientific.com) but hopefully I can
figure it out; the older version which I had been using was quite
accessible! BTW, Thanks to Mike for the screenshot; as soon as someone
described it, I realized we were talking about two different versions
of the editor!

···

--
Have a great day,
Alex (msg sent from GMail website)
mehgcap@gmail.com; http://www.facebook.com/mehgcap

Hi Alex,

I think I found the problem. I had downloaded a copy of xrced and put
it into my project folder; I was not running the c:\python26\scripts
version, I did not even know what the scripts folder was for. It seems
that I cannot use a file created with the older version in the newer
one, but I did not have a complex dialog anyway so it is okay to start
over. I now have to figure out why I cannot add children ("append") to
my panel. This new version is much more difficult to use with Jaws, my
screen reader (http://www.freedomscientific.com) but hopefully I can
figure it out; the older version which I had been using was quite
accessible! BTW, Thanks to Mike for the screenshot; as soon as someone
described it, I realized we were talking about two different versions
of the editor!

--
Have a great day,
Alex (msg sent from GMail website)
mehg...@gmail.com;Redirecting...

I forgot about the old version since the developer ended up getting it
rolled into wxPython. Anyway, I grabbed 0.1.8.4 which I hope is as old
as the one you were talking about. If you click on the wxTextCtrl in
the tree in it, then there is a style checkbox on the right (as well
as other checkboxes). The style checkbox is at the bottom of the list.
Check it and then click its Edit button.

This will display a dialog with all the styles in it, including the
ones you were interested in.

The main advantage of the new one is that I think it has support for
additional widgets that the old one does not currently have.

···

On Mar 16, 1:22 pm, Alex Hall <mehg...@gmail.com> wrote:

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

Hi Alex,

I think I found the problem. I had downloaded a copy of xrced and put
it into my project folder; I was not running the c:\python26\scripts
version, I did not even know what the scripts folder was for. It seems
that I cannot use a file created with the older version in the newer
one, but I did not have a complex dialog anyway so it is okay to start
over. I now have to figure out why I cannot add children ("append") to
my panel. This new version is much more difficult to use with Jaws, my
screen reader (http://www.freedomscientific.com) but hopefully I can
figure it out; the older version which I had been using was quite
accessible! BTW, Thanks to Mike for the screenshot; as soon as someone
described it, I realized we were talking about two different versions
of the editor!

--
Have a great day,
Alex (msg sent from GMail website)
mehg...@gmail.com;Redirecting...

I forgot about the old version since the developer ended up getting it
rolled into wxPython. Anyway, I grabbed 0.1.8.4 which I hope is as old
as the one you were talking about. If you click on the wxTextCtrl in
the tree in it, then there is a style checkbox on the right (as well
as other checkboxes). The style checkbox is at the bottom of the list.
Check it and then click its Edit button.

This will display a dialog with all the styles in it, including the
ones you were interested in.

Thanks, I have it!! Is there a way to select multiple styles, like
readonly, multiline, and wordwrap all at once (were this python
syntax, I would separate them with a vertical bar)?
Also, regarding wordwrap: is it default, and if I set it, will the
textbox stop expanding to fit all the text I enter? Again, I use a
screen reader, so I do not have much in the way of understanding
scrolling and widget expansion since such events are not reported by
screen readers; I just figure that if jaws reads it right, then it
works, but I also want this to look well put together, not just "good
enough".

···

On 3/16/10, Mike Driscoll <kyosohma@gmail.com> wrote:

On Mar 16, 1:22 pm, Alex Hall <mehg...@gmail.com> wrote:

The main advantage of the new one is that I think it has support for
additional widgets that the old one does not currently have.

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

--
Have a great day,
Alex (msg sent from GMail website)
mehgcap@gmail.com; Redirecting...

In either of the two versions, you should be able to check as many of the styles as you want. Of course, if you select wx.ALIGN_LEFT and wx.ALIGN_RIGHT, then you may end up with something unexpected. Once you hit OK to accept your choices, then the text box will be filled with the styles in the manner you describe. The TextCtrl should wordwrap and expand automatically. You do realize that XRC is creating an XML representation of your GUI, correct? The XML won’t always look the same as the wxPython code normally would. For example, I’m pretty sure XRC uses the old wxWidget naming instead of wx.Widget, which can be kind of confusing.

···

On Tue, Mar 16, 2010 at 2:15 PM, Alex Hall mehgcap@gmail.com wrote:

On 3/16/10, Mike Driscoll kyosohma@gmail.com wrote:

Hi Alex,

On Mar 16, 1:22 pm, Alex Hall mehg...@gmail.com wrote:

I think I found the problem. I had downloaded a copy of xrced and put

it into my project folder; I was not running the c:\python26\scripts

version, I did not even know what the scripts folder was for. It seems

that I cannot use a file created with the older version in the newer

one, but I did not have a complex dialog anyway so it is okay to start

over. I now have to figure out why I cannot add children (“append”) to

my panel. This new version is much more difficult to use with Jaws, my

screen reader (http://www.freedomscientific.com) but hopefully I can

figure it out; the older version which I had been using was quite

accessible! BTW, Thanks to Mike for the screenshot; as soon as someone

described it, I realized we were talking about two different versions

of the editor!

Have a great day,

Alex (msg sent from GMail website)

mehg...@gmail.com;http://www.facebook.com/mehgcap

I forgot about the old version since the developer ended up getting it

rolled into wxPython. Anyway, I grabbed 0.1.8.4 which I hope is as old

as the one you were talking about. If you click on the wxTextCtrl in

the tree in it, then there is a style checkbox on the right (as well

as other checkboxes). The style checkbox is at the bottom of the list.

Check it and then click its Edit button.

This will display a dialog with all the styles in it, including the

ones you were interested in.

Thanks, I have it!! Is there a way to select multiple styles, like

readonly, multiline, and wordwrap all at once (were this python

syntax, I would separate them with a vertical bar)?

Also, regarding wordwrap: is it default, and if I set it, will the

textbox stop expanding to fit all the text I enter? Again, I use a

screen reader, so I do not have much in the way of understanding

scrolling and widget expansion since such events are not reported by

screen readers; I just figure that if jaws reads it right, then it

works, but I also want this to look well put together, not just "good

enough".

Mike Driscoll

Blog: http://blog.pythonlibrary.org

Sorry for top-posting, but this version of gmail will not let me view
the original message in my reply. You said that I could just check all
the styles I wanted applied. The list seems to be a listbox, and has
no apparent way to select. I figured I could use the spacebar to check
the styles I wanted, but that does not seem to be the case, unless
xrced is handling it some way that jaws is not reporting, such as a
color change. I will have someone look at the screen as I do the
selection to see what happens.
Also, you asked if I realized that xrced is generating xml
representing my gui. Yes, that is why I like it so much; it is like
Android programming, where the layout of your program (well,
techniclly, of your activity) is in one file and other files can use
that layout. This approach opens the door for editors like xrc and
makes my logic files much easier to read, which is why I chose to use
xrc in my project instead of hard-coding my gui.

···

On 3/16/10, Mike Driscoll <mike@pythonlibrary.org> wrote:

On Tue, Mar 16, 2010 at 2:15 PM, Alex Hall <mehgcap@gmail.com> wrote:

On 3/16/10, Mike Driscoll <kyosohma@gmail.com> wrote:
> Hi Alex,
>
> On Mar 16, 1:22 pm, Alex Hall <mehg...@gmail.com> wrote:
>> I think I found the problem. I had downloaded a copy of xrced and put
>> it into my project folder; I was not running the c:\python26\scripts
>> version, I did not even know what the scripts folder was for. It seems
>> that I cannot use a file created with the older version in the newer
>> one, but I did not have a complex dialog anyway so it is okay to start
>> over. I now have to figure out why I cannot add children ("append") to
>> my panel. This new version is much more difficult to use with Jaws, my
>> screen reader (http://www.freedomscientific.com) but hopefully I can
>> figure it out; the older version which I had been using was quite
>> accessible! BTW, Thanks to Mike for the screenshot; as soon as someone
>> described it, I realized we were talking about two different versions
>> of the editor!
>>
>> --
>> Have a great day,
>> Alex (msg sent from GMail website)
>> mehg...@gmail.com;Redirecting...
>
> I forgot about the old version since the developer ended up getting it
> rolled into wxPython. Anyway, I grabbed 0.1.8.4 which I hope is as old
> as the one you were talking about. If you click on the wxTextCtrl in
> the tree in it, then there is a style checkbox on the right (as well
> as other checkboxes). The style checkbox is at the bottom of the list.
> Check it and then click its Edit button.
>
> This will display a dialog with all the styles in it, including the
> ones you were interested in.

Thanks, I have it!! Is there a way to select multiple styles, like
readonly, multiline, and wordwrap all at once (were this python
syntax, I would separate them with a vertical bar)?
Also, regarding wordwrap: is it default, and if I set it, will the
textbox stop expanding to fit all the text I enter? Again, I use a
screen reader, so I do not have much in the way of understanding
scrolling and widget expansion since such events are not reported by
screen readers; I just figure that if jaws reads it right, then it
works, but I also want this to look well put together, not just "good
enough".
>

In either of the two versions, you should be able to check as many of the
styles as you want. Of course, if you select wx.ALIGN_LEFT and
wx.ALIGN_RIGHT, then you may end up with something unexpected. Once you hit
OK to accept your choices, then the text box will be filled with the styles
in the manner you describe. The TextCtrl should wordwrap and expand
automatically. You do realize that XRC is creating an XML representation of
your GUI, correct? The XML won't always look the same as the wxPython code
normally would. For example, I'm pretty sure XRC uses the old wxWidget
naming instead of wx.Widget, which can be kind of confusing.

--
-----------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

--
Have a great day,
Alex (msg sent from GMail website)
mehgcap@gmail.com; Redirecting...

I’ve never used a screen reader, but the dialog in the old version does look like a scrollable list box with each item having a checkbox to their left. I just tried selecting one and hitting spacebar and that does indeed toggle the state of the selected item. I think that’s the way you’ll want to use it. Good luck!

···

On Tue, Mar 16, 2010 at 3:17 PM, Alex Hall mehgcap@gmail.com wrote:

Sorry for top-posting, but this version of gmail will not let me view

the original message in my reply. You said that I could just check all

the styles I wanted applied. The list seems to be a listbox, and has

no apparent way to select. I figured I could use the spacebar to check

the styles I wanted, but that does not seem to be the case, unless

xrced is handling it some way that jaws is not reporting, such as a

color change. I will have someone look at the screen as I do the

selection to see what happens.

Also, you asked if I realized that xrced is generating xml

representing my gui. Yes, that is why I like it so much; it is like

Android programming, where the layout of your program (well,

techniclly, of your activity) is in one file and other files can use

that layout. This approach opens the door for editors like xrc and

makes my logic files much easier to read, which is why I chose to use

xrc in my project instead of hard-coding my gui.

Mike Driscoll

Blog: http://blog.pythonlibrary.org

That is indeed how I would use it (using spacebar to select items). I
will have to investigate more, then, or maybe find a slightly newer
version... Thanks.

···

On 3/16/10, Mike Driscoll <mike@pythonlibrary.org> wrote:

On Tue, Mar 16, 2010 at 3:17 PM, Alex Hall <mehgcap@gmail.com> wrote:

Sorry for top-posting, but this version of gmail will not let me view
the original message in my reply. You said that I could just check all
the styles I wanted applied. The list seems to be a listbox, and has
no apparent way to select. I figured I could use the spacebar to check
the styles I wanted, but that does not seem to be the case, unless
xrced is handling it some way that jaws is not reporting, such as a
color change. I will have someone look at the screen as I do the
selection to see what happens.
Also, you asked if I realized that xrced is generating xml
representing my gui. Yes, that is why I like it so much; it is like
Android programming, where the layout of your program (well,
techniclly, of your activity) is in one file and other files can use
that layout. This approach opens the door for editors like xrc and
makes my logic files much easier to read, which is why I chose to use
xrc in my project instead of hard-coding my gui.

I've never used a screen reader, but the dialog in the old version does look
like a scrollable list box with each item having a checkbox to their left. I
just tried selecting one and hitting spacebar and that does indeed toggle
the state of the selected item. I think that's the way you'll want to use
it. Good luck!

--
-----------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

--
Have a great day,
Alex (msg sent from GMail website)
mehgcap@gmail.com; Redirecting...