Class: Fox::FXDocument

Inherits:
FXObject show all
Defined in:
rdoc-sources/FXDocument.rb

Overview

Abstract base class for documents

Message identifiers

ID_TITLE

x

ID_FILENAME

x

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from FXObject

#bind, #handle, #load, #save, subclasses

Constructor Details

#initializeFXDocument

Return an initialized FXDocument instance



22
23
# File 'rdoc-sources/FXDocument.rb', line 22

def initialize # :yields: theDocument
end

Instance Attribute Details

#filenameObject

Document filename



19
20
21
# File 'rdoc-sources/FXDocument.rb', line 19

def filename
  @filename
end

#modified=(value) ⇒ Object (writeonly)

Modified state for the document [Boolean]



13
14
15
# File 'rdoc-sources/FXDocument.rb', line 13

def modified=(value)
  @modified = value
end

#titleObject

Document title



16
17
18
# File 'rdoc-sources/FXDocument.rb', line 16

def title
  @title
end

Instance Method Details

#modified?Boolean

Return true if document is modified

Returns:

  • (Boolean)


26
# File 'rdoc-sources/FXDocument.rb', line 26

def modified?; end