Codebase list ruby-fxruby / 1c9bdd9d-fbfd-4ccb-bcf7-f0ec9b38e260/main rdoc-sources / FXDocument.rb
1c9bdd9d-fbfd-4ccb-bcf7-f0ec9b38e260/main

Tree @1c9bdd9d-fbfd-4ccb-bcf7-f0ec9b38e260/main (Download .tar.gz)

FXDocument.rb @1c9bdd9d-fbfd-4ccb-bcf7-f0ec9b38e260/mainraw · history · blame

module Fox
  #
  # Abstract base class for documents
  #
  # === Message identifiers
  #
  # +ID_TITLE+:: x
  # +ID_FILENAME+:: x
  #
  class FXDocument < FXObject

    # Modified state for the document [Boolean]
    attr_writer :modified

    # Document title
    attr_accessor :title

    # Document filename
    attr_accessor :filename

    # Return an initialized FXDocument instance
    def initialize # :yields: theDocument
    end

    # Return +true+ if document is modified
    def modified?; end
  end
end