Re: StyledTextCtrl STC_CARETSTYLE_* `` constants
RF <[email protected]> Thu, 6 May 2021 11:21:08 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
Hmmm...seems like I can only set the caret style for insert mode? I don't see any way to set the shape for overtype mode? Is that true or am I missing something? On Thursday, May 6, 2021 at 11:11:19 AM UTC-7 RF wrote: > I got your code to run and indeed see three choices. Thanks. > > On Thursday, May 6, 2021 at 11:06:39 AM UTC-7 RF wrote: > >> Your code is not formatted correctly in the email reply but it looks like >> there are only three choices? >> >> On Thu, May 6, 2021 at 10:59 AM Steve Barnes <[email protected]> wrote: >> >>> In [8]: from wx import stc as s >>> >>> >>> >>> In [9]: mems = dir(s) >>> >>> >>> >>> In [10]: [m for m in mems if m.startswith("STC_CARETSTYLE")] >>> >>> Out[10]: ['STC_CARETSTYLE_BLOCK', 'STC_CARETSTYLE_INVISIBLE', >>> 'STC_CARETSTYLE_LINE'] >>> >>> >>> >>> *From:* [email protected] <[email protected]> *On >>> Behalf Of *RF >>> *Sent:* 06 May 2021 18:54 >>> *To:* wxPython-users <[email protected]> >>> *Subject:* [wxPython-users] StyledTextCtrl STC_CARETSTYLE_* `` constants >>> >>> >>> >>> I'd like to change the overtype shape of the StyledTextCtrl caret. But I >>> cannot find where there is a listing of the available STC_CARETSTYLE_* `` >>> constants? >>> >>> >>> >>> Thank you... >>> >>> >>> >>> -- >>> 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/2831f03a-4f24-4ffd-99cc-3b05c3cc9ab8n%40googlegroups.com >>> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fwxpython-users%2F2831f03a-4f24-4ffd-99cc-3b05c3cc9ab8n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7C%7Cc59493220c41493829ad08d910b7e352%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637559204233068955%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Z7wVhaLenUom0nPiVlHY9YhRXKpgLC2cWnPkglEFMz4%3D&reserved=0> >>> . >>> >>> -- >>> 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/VI1PR03MB44792E19F682F1D574B55B759B589%40VI1PR03MB4479.eurprd03.prod.outlook.com >>> <https://groups.google.com/d/msgid/wxpython-users/VI1PR03MB44792E19F682F1D574B55B759B589%40VI1PR03MB4479.eurprd03.prod.outlook.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> Ralph Freshour >> > -- 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/83819a8f-6032-4601-a194-26f4bb07ee17n%40googlegroups.com.