[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] How to call SCI_GETSELTEXT from Python
From:       Baz Walter <bazwal () ftml ! net>
Date:       2016-06-18 16:31:23
Message-ID: 56cc14f3-b460-166c-14a2-d5c3c3064edf () ftml ! net
[Download RAW message or body]

On 18/06/16 15:12, Barry Scott wrote:
> What is the correct way to call SendScintilla for SCI_GETSELTEXT?
>
> I see that the first arg is unused (use 0) but what do I use for the
> char * pointer?


Pass in 0 to get the length, and then use a bytearray for the char*.

-- 
Regards
Baz Walter
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic