Currently, the caret appears as a rectangle of the given size. In the future, it will be possible to specify a bitmap to be used for the caret shape.
A caret is always associated with a window and the current caret can be retrieved using get_caret_window(). The same caret can't be reused in two different windows.
Returns true if the caret was created successfully.
Returns true if the caret is visible and false if it is permanently hidden (if it is is blinking and not shown currently but will be after the next blink, this method still returns true).
Performs internal maintenance on the caret. Call this when your window loses focus.
Performs internal maintenance on the caret. Call this when your window gains focus.
Returns the blink time which is measured in milliseconds and is the time elapsed between 2 inversions of the caret (blink time of the caret is the same for all carets, so this functions is static).
Get the caret position (in pixels).
Get the caret size.
Get the window the caret is associated with.
Hides the caret. Notice that if the caret was hidden N times, it must be shown N times as well to reappear on the screen.
Performs internal maintenance on the caret when focus is lost. Call this from your wxEVT_KILL_FOCUS event handler.
Move the caret to given position (in logical coordinates).
Sets the blink time for all the carets.
Remarks
Under Windows, this function will change the blink time for all carets permanently (until the next time it is called), even for the carets in other applications.
Performs internal maintenance on the caret when focus is gained. Call this from your wxEVT_SET_FOCUS event handler.
Changes the size of the caret.
Shows the caret. Notice that if the caret was hidden N times, it must be shown N times as well to reappear on the screen.