Method

HexBufferset_file

Declaration

gboolean
hex_buffer_set_file (
  HexBuffer* self,
  GFile* file
)

Description

Set the GFile to be utilized by the buffer. Once it has been set, you can read it into the buffer with hex_buffer_read() or hex_buffer_read_async().

Sets propertyHex.Buffer:file

Parameters

file

Type: GFile

The file to be utilized by the buffer.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the operation was successful; FALSE otherwise.