Sha256: 10adeac679919500ca5a5df2d0bbfcc28a4a8b403f49a7308ef63fe8f6cae8ee

Contents?: true

Size: 1.84 KB

Versions: 9

Compression:

Stored size: 1.84 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

9 entries across 9 versions & 1 rubygems

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