Nathan smith wrote:
>
> Just a quick question.
>
> Could anyone give a brief explanation of GetStyleForRange with
> wx.richtext?
> ...
> But it doesn't mention exactly what the arguments should be?
Remember that wxPython is mostly just a wrapper around the C++ wxWidgets
library. If you look up the wxWidgets documentation, you'll see it
takes two parameters, one of which is an output: a wxRichTextRange that
identifies the range to affect, and it should return a wxRichTextAttr.
https://docs.wxwidgets.org/3.0/classwx_rich_text_paragraph_layout_box.html
--
Tim Roberts,
ti...@probo.com
Providenza & Boekelheide, Inc.