Sha256: 86b9890e16a4af421d8e25d1621697ee26e724cb6d4317f2b5bebbd1575a2a73

Contents?: true

Size: 1.89 KB

Versions: 11

Compression:

Stored size: 1.89 KB

Contents

module Wx::PG

  class PropertyGrid

    # Return a registered property editor (either custom or standard)
    # @param [String] name Property editor class name
    # @return [Wx::PG::PGEditor,nil] Registered property editor (or nil if not found).
    def self.get_editor_class(name); end

    # Return a registered standard (wx) property editor.
    # @param [String] name Property editor class name
    # @return [Wx::PG::PGEditor,nil] Registered property editor (or nil if not found).
    def self.get_standard_editor_class(name); end

    # Forwards to DoRegisterEditorClass with class name of provided property editor.
    # @param editor [Wx::PG::PGEditor]
    # @return [Wx::PG::PGEditor]
    def self.register_editor_class(editor); end

    # Generates position for a widget editor dialog box.
    # @param [Wx::PG::PGProperty] p Property the editor dialog is to be shown for.
    # @param [Wx::Size] sz Size of the editor dialog to be shown.
    # @return [Wx::Point] Best position to show the dialog.
    def get_good_editor_dialog_position(p, sz) end
    alias :good_editor_dialog_position :get_good_editor_dialog_position

    # Returns current active primary editor control or nil
    # @return [Wx::Window]
    def get_primary_editor; end
    alias :primary_editor :get_primary_editor

    # Returns current active secondary editor control or nil
    # @return [Wx::Window, nil]
    def get_editor_control_secondary; end
    alias :editor_control_secondary :get_editor_control_secondary

    # Returns rectangle that fully contains properties between and including
    # first and last. Rectangle is in virtual scrolled window coordinates.
    # @param first [Wx::PG::PGProperty] first property
    # @param last [Wx::PG::PGProperty] last property
    # @return [Wx::Rect]
    def get_property_rect(first, last) end
    alias :property_rect :get_property_rect

  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3-x64-mingw-ucrt lib/wx/doc/pg/property_grid.rb
wxruby3-0.9.0.pre.rc.2-x64-mingw-ucrt lib/wx/doc/pg/property_grid.rb
wxruby3-0.9.0.pre.rc.1-x64-mingw-ucrt lib/wx/doc/pg/property_grid.rb
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt lib/wx/doc/pg/property_grid.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/doc/pg/property_grid.rb
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt lib/wx/doc/pg/property_grid.rb
wxruby3-0.9.0.pre.beta.10-x64-mingw-ucrt lib/wx/doc/pg/property_grid.rb
wxruby3-0.9.0.pre.beta.9-x64-mingw-ucrt lib/wx/doc/pg/property_grid.rb
wxruby3-0.9.0.pre.beta.8-x64-mingw-ucrt lib/wx/doc/pg/property_grid.rb
wxruby3-0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2 lib/wx/doc/pg/property_grid.rb
wxruby3-0.9.0.pre.beta.1-x64-mingw-ucrt-3.2 lib/wx/doc/pg/property_grid.rb