View.with_buffer


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public View.with_buffer (Buffer buffer)

Creates a new View widget displaying the buffer buffer.

One buffer can be shared among many widgets.

Parameters:

buffer

a Buffer.

Returns:

a new View.