Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

buffer?: Tepl.Buffer

The #TeplBuffer to load the content into. The #TeplFileLoader object has a weak reference to the buffer.

chunkSize?: number

The chunk size, in bytes. The content is loaded chunk by chunk. It permits to avoid allocating a too big contiguous memory area, as well as reporting progress information after each chunk read.

A small chunk size is better when loading a remote file with a slow connection. For local files, the chunk size can be larger.

file?: Tepl.File

The #TeplFile. The #TeplFileLoader object has a weak reference to the file.

location?: Gio.File

The #GFile to load. By default the location is taken from the #TeplFile at construction time.

maxSize?: number

The maximum content size, in bytes. Keep in mind that all the content is loaded in memory, and when loaded into a #GtkTextBuffer it takes more memory than just the content size.

Set to -1 for unlimited size.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method