Sha256: ab10979c2b7b8b46a87355d4d6e9f715fc50418819b0fcfb5fb42beb00a6ae2f

Contents?: true

Size: 1.68 KB

Versions: 6

Compression:

Stored size: 1.68 KB

Contents

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


module Wx

  # Instances of this class may be used to add a question mark button that when pressed, puts the application into context-help mode.
  # It does this by creating a {Wx::ContextHelp} object which itself generates a {Wx::EVT_HELP} event when the user clicks on a window.
  # On Windows, you may add a question-mark icon to a dialog by use of the {Wx::DIALOG_EX_CONTEXTHELP} extra style, but on other platforms you will have to add a button explicitly, usually next to OK, Cancel or similar buttons.
  # === 
  # 
  # Category:  {Wx::HELP}
  # @see Wx::BitmapButton
  # @see  Wx::ContextHelp 
  # 
  # 
  class ContextHelpButton < BitmapButton
  
    # Constructor, creating and showing a context help button.
    # Normally you only need pass the parent window to the constructor, and use the defaults for the remaining parameters.
    # @param parent [Wx::Window]  Parent window. Must not be NULL.
    # @param id [Integer]  Button identifier. Defaults to {Wx::StandardID::ID_CONTEXT_HELP}.
    # @param pos [Array(Integer, Integer), Wx::Point]  Button position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
    # @param size [Array(Integer, Integer), Wx::Size]  Button size. If {Wx::DEFAULT_SIZE} is specified then the button is sized appropriately for the question mark bitmap.
    # @param style [Integer]  Window style.
    # @return [ContextHelpButton]
    def initialize(parent, id=Wx::ID_CONTEXT_HELP, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0) end
    
  end # ContextHelpButton
  

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt lib/wx/doc/gen/context_help_button.rb
wxruby3-0.9.0.pre.beta.10-x64-mingw-ucrt lib/wx/doc/gen/context_help_button.rb
wxruby3-0.9.0.pre.beta.9-x64-mingw-ucrt lib/wx/doc/gen/context_help_button.rb
wxruby3-0.9.0.pre.beta.8-x64-mingw-ucrt lib/wx/doc/gen/context_help_button.rb
wxruby3-0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2 lib/wx/doc/gen/context_help_button.rb
wxruby3-0.9.0.pre.beta.1-x64-mingw-ucrt-3.2 lib/wx/doc/gen/context_help_button.rb