create_tab_from_location
Description:
public unowned Tab create_tab_from_location (File location, SourceEncoding? encoding, int line_pos, int column_pos, bool create, bool jump_to)
Creates a new Tab loading the document specified by uri
.
In case jump_to
is true
the Notebook swithes to that new
Tab. Whether create
is true
, creates a new empty document if
location does not refer to an existing file
Parameters:
this |
a Window |
location |
the location of the document |
encoding |
a SourceEncoding, or |
line_pos |
the line position to visualize |
column_pos |
the column position to visualize |
create |
|
jump_to |
|
Returns:
a new Tab |