Sha256: f25f2518711679d784c439d5ae2807ddbc9730a915338996073f4b21ae9dd684

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

# :stopdoc:
# This file is automatically generated by the WXRuby3 documentation 
# generator. Do not alter this file.
# :startdoc:


module Wx::RTC

  # A handler for loading and saving content in an XML format specific to {Wx::RTC::RichTextBuffer}.
  # You can either add the handler to the buffer and load and save through the buffer or control API, or you can create an instance of the handler on the stack and call its functions directly.
  # 
  # == Handler flags
  # 
  # The following flags can be used with this handler, via the handler's {Wx::RTC::RichTextXMLHandler#set_flags} function or the buffer or control's SetHandlerFlags() function:
  # 
  # - {Wx::RTC::RICHTEXT_HANDLER_INCLUDE_STYLESHEET} Include the style sheet in loading and saving operations.
  # 
  # === 
  # 
  # Category:  Rich Text
  # 
  class RichTextXMLHandler < RichTextFileHandler
  
    # Constructor.
    # @param name [String] 
    # @param ext [String] 
    # @param type [Integer] 
    # @return [Wx::RTC::RichTextXMLHandler]
    def initialize(name=("XML"), ext=("XML"), type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_XML) end
    
    # Returns true.
    # @return [Boolean]
    def can_load; end
    alias_method :can_load?, :can_load
    
    # Returns true.
    # @return [Boolean]
    def can_save; end
    alias_method :can_save?, :can_save
    
    # Call with XML node name, C++ class name so that {Wx::RTC} can read in the node.
    # If you add a custom object, call this.
    # @param nodeName [String] 
    # @param className [String] 
    # @return [void]
    def self.register_node_name(nodeName, className) end
    
    # Cleans up the mapping between node name and C++ class.
    # @return [void]
    def self.clear_node_to_class_map; end
    
  end # RichTextXMLHandler
  

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wxruby3-0.9.1-x64-mingw-ucrt lib/wx/doc/gen/rtc/rich_text_xml_handler.rb