Sha256: eba726976d98113269af620dc5611dd997fc072f09556ea68f1186430c984dd3

Contents?: true

Size: 1.25 KB

Versions: 9

Compression:

Stored size: 1.25 KB

Contents

###
# wxRuby3 wxWidgets interface director
# Copyright (c) M.J.N. Corino, The Netherlands
###

module WXRuby3

  class Director

    class RichTextFileHandler < Director

      include Typemap::RichText

      def setup
        super
        case spec.module_name
        when 'wxRichTextFileHandler'
          spec.items << 'wxRichTextPlainTextHandler'
          spec.disable_proxies
          spec.make_abstract 'wxRichTextFileHandler'
          spec.ignore(%w[wxRICHTEXT_ALL wxRICHTEXT_NONE wxRICHTEXT_NO_SELECTION])
          spec.do_not_generate(:variables, :enums, :defines, :functions)
        when 'wxRichTextXMLHandler'
          spec.ignore %w[
            wxRichTextXMLHandler::ImportXML
            wxRichTextXMLHandler::ExportXML
            ]
        when 'wxRichTextHTMLHandler'
        end
        spec.no_proxy "#{spec.module_name}::LoadFile",
                      "#{spec.module_name}::SaveFile",
                      "#{spec.module_name}::CanHandle",
                      "#{spec.module_name}::CanSave",
                      "#{spec.module_name}::CanLoad",
                      "#{spec.module_name}::IsVisible",
                      "#{spec.module_name}::SetVisible"
      end
    end # class RichTextFileHandler

  end # class Director

end # module WXRuby3

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 rakelib/lib/director/richtext_file_handler.rb
wxruby3-0.9.0.pre.rc.2 rakelib/lib/director/richtext_file_handler.rb
wxruby3-0.9.0.pre.rc.1 rakelib/lib/director/richtext_file_handler.rb
wxruby3-0.9.0.pre.beta.14 rakelib/lib/director/richtext_file_handler.rb
wxruby3-0.9.0.pre.beta.13 rakelib/lib/director/richtext_file_handler.rb
wxruby3-0.9.0.pre.beta.11 rakelib/lib/director/richtext_file_handler.rb
wxruby3-0.9.0.pre.beta.10 rakelib/lib/director/richtext_file_handler.rb
wxruby3-0.9.0.pre.beta.9 rakelib/lib/director/richtext_file_handler.rb
wxruby3-0.9.0.pre.beta.8 rakelib/lib/director/richtext_file_handler.rb