Sha256: 9b629f43f2242f4c7d900a17feca045c25d3a36a4f6978d52dde799a4c5e27ca
Contents?: true
Size: 1.7 KB
Versions: 19
Compression:
Stored size: 1.7 KB
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 wxWidgets interface director ### module WXRuby3 class Director class RichTextFileHandler < Director include Typemap::RichText include Typemap::IOStreams 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' # identically named instance and class method clash in SWIG spec.ignore 'wxRichTextHTMLHandler::DeleteTemporaryImages()', ignore_doc: true spec.add_extend_code 'wxRichTextHTMLHandler', <<~__CODE bool delete_temporary_images() { return $self->DeleteTemporaryImages(); } __CODE 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
19 entries across 19 versions & 1 rubygems