previous up next     contents index
Next: wxMediaPasteboard::IsSelected Up: wxMediaPasteboard: wxMediaBuffer Previous: wxMediaPasteboard::GetDragable

wxMediaPasteboard::Insert

void Insert (wxSnip *snip, wxSnip *before, float x, float y)

void Insert (wxSnip *snip, float x, float y)

void Insert (wxSnip *snip, wxSnip *before)

Inserts the snip into the buffer. If before is specified, the snip will be put in a new drawing plane just in front of before; otherwise, it is put in front of all snips. If x and y are not specified, then the snip is centered in the buffer; if the buffer is being viewed, then it is cenetered with respect to the visible region, otherwise it is ceneterd with respect to the total width and height of the buffer.



PLT