# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx::PG # Contains low-level property page information (properties, column widths, etc.) of a single {Wx::PG::PropertyGrid} or single {Wx::PG::PropertyGridPage}. # # Generally you should not use this class directly, but instead member functions in {Wx::PG::PropertyGridInterface}, {Wx::PG::PropertyGrid}, {Wx::PG::PropertyGridPage}, and {Wx::PG::PropertyGridManager}. # #
# Remark: #

Currently this class is not implemented in {Wx::Python}. #

#
# # Category: {Wx::PG::PropertyGrid} # # @wxrb_require USE_PROPGRID class PropertyGridPageState < ::Object # Default constructor. # @return [Wx::PG::PropertyGridPageState] def initialize; end # Makes sure all columns have minimum width. # @param widthChange [Integer] # @return [void] def check_column_widths(widthChange=0) end # @param enable [Boolean] # @return [Boolean] def enable_categories(enable) end # Make sure virtual height is up-to-date. # @return [void] def ensure_virtual_height; end # Returns (precalculated) height of contained visible properties. # @return [Integer] def get_virtual_height; end alias_method :virtual_height, :get_virtual_height # Returns actual height of contained visible properties. # #
# Remark: #

Mostly used for internal diagnostic purposes. #

#
# @return [Integer] def get_actual_virtual_height; end alias_method :actual_virtual_height, :get_actual_virtual_height # @return [Integer] def get_column_count; end alias_method :column_count, :get_column_count # @param column [Integer] # @return [Integer] def get_column_min_width(column) end alias_method :column_min_width, :get_column_min_width # @param column [Integer] # @return [Integer] def get_column_width(column) end alias_method :column_width, :get_column_width # @return [Wx::PG::PropertyGrid] def get_grid; end alias_method :grid, :get_grid # @param flags [Integer] # @return [Wx::PG::PGProperty] def get_last_item(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_DEFAULT) end alias_method :last_item, :get_last_item # Returns currently selected property. # @return [Wx::PG::PGProperty] def get_selection; end alias_method :selection, :get_selection # @param p [Wx::PG::PGProperty] # @return [Wx::PG::PropertyCategory] def get_property_category(p) end alias_method :property_category, :get_property_category # Returns combined width of margin and all the columns. # @return [Integer] def get_virtual_width; end alias_method :virtual_width, :get_virtual_width # @param p [Wx::PG::PGProperty] # @param col [Integer] # @return [Integer] def get_column_full_width(p, col) end alias_method :column_full_width, :get_column_full_width # Returns information about arbitrary position in the grid. # @param pt [Array(Integer, Integer), Wx::Point] Logical coordinates in the virtual grid space. Use Wx::Scrolled#calc_unscrolled_position if you need to translate a scrolled position into a logical one. # @return [Wx::PG::PropertyGridHitTestResult] def hit_test(pt) end # Returns true if page is visibly displayed. # @return [Boolean] def is_displayed; end alias_method :displayed?, :is_displayed # @return [Boolean] def is_in_non_cat_mode; end alias_method :in_non_cat_mode?, :is_in_non_cat_mode # Called after virtual height needs to be recalculated. # @return [void] def virtual_height_changed; end end # PropertyGridPageState # # # ## wxPropertyGridHitTestResult # # A return value from {Wx::PG::PropertyGrid#hit_test}, contains all you need to know about an arbitrary location on the grid. # # # @note This class is untracked and should not be derived from nor instances extended! # @wxrb_require USE_PROPGRID class PropertyGridHitTestResult < ::Object # @return [Wx::PG::PropertyGridHitTestResult] def initialize; end # Returns column hit. # # -1 for margin. # @return [Integer] def get_column; end alias_method :column, :get_column # Returns property hit. # # NULL if empty space below properties was hit instead. # @return [Wx::PG::PGProperty] def get_property; end alias_method :property, :get_property # Returns index of splitter hit, -1 for none. # @return [Integer] def get_splitter; end alias_method :splitter, :get_splitter # If splitter hit, then this member function returns offset to the exact splitter position. # @return [Integer] def get_splitter_hit_offset; end alias_method :splitter_hit_offset, :get_splitter_hit_offset end # PropertyGridHitTestResult end