Class: Document
Prev
Next

Class: Document

A pointer to a Kst document. Typically accessed via the global Kst object via Kst.document.

Methods:

Properties:

void save ( [string filename] )

  • string filename - An optional filename to save to. If not provided, it will be saved to the current filename or the user will be prompted. [OPTIONAL]

Saves the current Kst session to disk.

void clear ( )

Clears the current Kst session and starts a new one.

boolean load ( string filename )

  • string filename - The filename for a Kst file to load.

Loads a new Kst file into Kst.

string text [Read-Only]

The XML text of the current session in Kst-file form.

string name

The filename for the current Kst session.

boolean modified

True if the document has been modified but not saved.

Prev
Next
Home


Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team