I have a few questions I was hoping to get a little help with.
1.) Is it possible to set the font for an entire application, or must each
individual element be set? I tried to set it at the top level but no change
was made.
2.) How do you change the font color?
3.) Using Tkinter it is possible to change the color of the the ring aroung
a Group box(Static Box Sizer), Is this possible in wxPython?
4.) Using Tkinter I can highlight Group boxes, with a colored border, as the
widgets contained in the Group Box take focus. How is this done in wxPython?
5.) On a ListCtrl widget why is an undisplayable character replacing an
embedded '\n'? This would appear to work as both C++ and Python recognize
this as a newline char.
5.) On a ListCtrl widget why is an undisplayable character replacing an
embedded '\n'? This would appear to work as both C++ and Python recognize
this as a newline char.
I think I have a similar question.
I'm trying to get a wxListCtrl column heading to have a string which spans 2
lines.
Eg. I want the words "Actual Value" to look like the following instead of on the
same line.
Actual
Value
Can this be done in wxPython and/or wxC++. I have tried passing the string
"Actual\nValue" to the SetStringItem() method but it just replaces the newline
with a space.
I am trying to duplicate a Visual Basic program we have at work and it seems to
allow multiple line labels. I *really* hope this can be done so that I can
convince the boss to ditch VB in favour of wxPython.
1.) Is it possible to set the font for an entire application, or must each
individual element be set? I tried to set it at the top level but no
change
was made.
Controls should use the parent window's font as their default, but otherwise
you need to set the font everywhere.
2.) How do you change the font color?
Depends on the class of the window and if it does anything with
SetForegroundColour().
3.) Using Tkinter it is possible to change the color of the the ring
aroung
a Group box(Static Box Sizer), Is this possible in wxPython?
I don't think so, but you could probably create a custom widget that does
that pretty easily.
4.) Using Tkinter I can highlight Group boxes, with a colored border, as
the
widgets contained in the Group Box take focus. How is this done in
wxPython?
You can catch gain and loose focus events and change the colours in the
custom widget you made for #3.
5.) On a ListCtrl widget why is an undisplayable character replacing an
embedded '\n'? This would appear to work as both C++ and Python recognize
this as a newline char.
It depends on what the native control does with the newline character.
Apparently it is ignoring it.