Package: gtk

Function gtk-text-view-new-with-buffer

Lambda List

gtk-text-view-new-with-buffer (buffer)


buffer -- a gtk-text-buffer object

Return Value

A new gtk-text-view object.


Creates a new gtk-text-view widget displaying the buffer buffer. One buffer can be shared among many widgets. buffer may be nil to create a default buffer, in which case this function is equivalent to the function gtk-text-view-new. The text view adds its own reference count to the buffer; it does not take over an existing reference.

See also