previous up next     contents index
Next: wxMediaEdit::InsertFile Up: wxMediaEdit: wxMediaBuffer Previous: wxMediaEdit::Insert

wxMediaEdit::Insert

void Insert (long len, char *str, long start, long end = -1, Bool scrollOk = TRUE)

Inserts the given text that has the given length. The string can contain arbitrary characters, including the null character. If end is not -1, then the region from start to end is replaced with the text. If scrollOk is TRUE and start is the same as the current caret position, then the buffer's view may be scrolled to show the new selection position.

void Insert (long len, char *str)

Inserts the given text that has the given length. The string can contain arbitrary characters, including the null character.

void Insert (wxSnip *snip, long start, long end = -1)

Inserts the given snip into the given position. If end is not -1, then the region from start to end is replaced with the snip. A snip cannot be inserted into multiple buffers or multiple times within a single buffer.

void Insert (wxSnip *snip)

Inserts the given snip at the current selection position. A snip cannot be inserted into multiple buffers or multiple times within a single buffer.

void Insert (char ascii)

Inserts the given character at the current selection position.

void Insert (char ascii, long start, long end = -1)

Inserts the given character at the specified position. If end is not -1, then the region from start to end is replaced with the character.



PLT