Class: Fox::FXDocument
Overview
Abstract base class for documents
Message identifiers
ID_TITLE
-
x
ID_FILENAME
-
x
Instance Attribute Summary collapse
-
#filename ⇒ Object
Document filename.
-
#modified ⇒ Object
writeonly
Modified state for the document [Boolean].
-
#title ⇒ Object
Document title.
Instance Method Summary collapse
-
#initialize ⇒ FXDocument
constructor
Return an initialized FXDocument instance.
-
#modified? ⇒ Boolean
Return
true
if document is modified.
Methods inherited from FXObject
#bind, #handle, #load, #save, subclasses
Constructor Details
#initialize ⇒ FXDocument
Return an initialized FXDocument instance
22 23 |
# File 'rdoc-sources/FXDocument.rb', line 22 def initialize # :yields: theDocument end |
Instance Attribute Details
#filename ⇒ Object
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 |
#title ⇒ Object
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
26 |
# File 'rdoc-sources/FXDocument.rb', line 26 def modified?; end |