Sha256: 347f75c93b4d694ad9b6bcf936df05ea2dafae203b38d79fbfd4a227cfd64835
Contents?: true
Size: 1.78 KB
Versions: 6
Compression:
Stored size: 1.78 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 [RichTextXMLHandler] def initialize(name=("Wx::XML"), ext=("Wx::XML"), type=Wx::RICHTEXT_TYPE_XML) end # Returns true. # @return [true,false] def can_load; end alias_method :can_load?, :can_load # Returns true. # @return [true,false] 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
6 entries across 6 versions & 1 rubygems