Codebase list ruby-fxruby / 3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a rdoc-sources / FXDocument.rb
3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a

Tree @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a (Download .tar.gz)

FXDocument.rb @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2araw · 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