Method

HexDocumentset_file

Declaration

gboolean
hex_document_set_file (
  HexDocument* doc,
  GFile* file
)

Description

Set the file of a HexDocument object by GFile.

Parameters

file GFile
 

A GFile pointing to a valid file on the system.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the operation was successful; FALSE otherwise.