Re: wx.richtext.richText

Tim Roberts <[email protected]> Thu, 11 Feb 2021 17:29:29 -0800
Newsgroups gmane.comp.python.wxpython
Organization Providenza & Boekelheide, Inc.
Message-ID <[email protected]>
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, [email protected]
Providenza & Boekelheide, Inc.


-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/4caafa50-e3c7-15cc-9e6a-da1f08845bb8%40probo.com.
smime.p7s (application/pkcs7-signature, 3.3 KB) - not displayed