Class: Wx::PG::PropertyGridPageState
- Inherits:
-
Object
- Object
- Wx::PG::PropertyGridPageState
- Defined in:
- lib/wx/doc/gen/pg/property_grid_page_state.rb
Overview
Contains low-level property page information (properties, column widths, etc.) of a single PropertyGrid or single PropertyGridPage.
Generally you should not use this class directly, but instead member functions in PropertyGridInterface, PropertyGrid, PropertyGridPage, and PropertyGridManager.
Currently this class is not implemented in Wx::Python.
Category: PropertyGrid
Instance Method Summary collapse
-
#check_column_widths(widthChange = 0) ⇒ void
Makes sure all columns have minimum width.
- #enable_categories(enable) ⇒ Boolean
-
#ensure_virtual_height ⇒ void
Make sure virtual height is up-to-date.
-
#get_actual_virtual_height ⇒ Integer
(also: #actual_virtual_height)
Returns actual height of contained visible properties.
- #get_column_count ⇒ Integer (also: #column_count)
- #get_column_full_width(p, col) ⇒ Integer (also: #column_full_width)
- #get_column_min_width(column) ⇒ Integer (also: #column_min_width)
- #get_column_width(column) ⇒ Integer (also: #column_width)
- #get_grid ⇒ Wx::PG::PropertyGrid (also: #grid)
- #get_last_item(flags = Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_DEFAULT) ⇒ Wx::PG::PGProperty (also: #last_item)
- #get_property_category(p) ⇒ Wx::PG::PropertyCategory (also: #property_category)
-
#get_selection ⇒ Wx::PG::PGProperty
(also: #selection)
Returns currently selected property.
-
#get_virtual_height ⇒ Integer
(also: #virtual_height)
Returns (precalculated) height of contained visible properties.
-
#get_virtual_width ⇒ Integer
(also: #virtual_width)
Returns combined width of margin and all the columns.
-
#hit_test(pt) ⇒ Wx::PG::PropertyGridHitTestResult
Returns information about arbitrary position in the grid.
-
#initialize ⇒ Wx::PG::PropertyGridPageState
constructor
Default constructor.
-
#is_displayed ⇒ Boolean
(also: #displayed?)
Returns true if page is visibly displayed.
- #is_in_non_cat_mode ⇒ Boolean (also: #in_non_cat_mode?)
-
#virtual_height_changed ⇒ void
Called after virtual height needs to be recalculated.
Constructor Details
#initialize ⇒ Wx::PG::PropertyGridPageState
Default constructor.
28 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 28 def initialize; end |
Instance Method Details
#check_column_widths(widthChange = 0) ⇒ void
This method returns an undefined value.
Makes sure all columns have minimum width.
33 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 33 def check_column_widths(widthChange=0) end |
#enable_categories(enable) ⇒ Boolean
37 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 37 def enable_categories(enable) end |
#ensure_virtual_height ⇒ void
This method returns an undefined value.
Make sure virtual height is up-to-date.
41 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 41 def ensure_virtual_height; end |
#get_actual_virtual_height ⇒ Integer Also known as: actual_virtual_height
Returns actual height of contained visible properties.
Mostly used for internal diagnostic purposes.
56 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 56 def get_actual_virtual_height; end |
#get_column_count ⇒ Integer Also known as: column_count
60 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 60 def get_column_count; end |
#get_column_full_width(p, col) ⇒ Integer Also known as: column_full_width
100 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 100 def get_column_full_width(p, col) end |
#get_column_min_width(column) ⇒ Integer Also known as: column_min_width
65 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 65 def get_column_min_width(column) end |
#get_column_width(column) ⇒ Integer Also known as: column_width
70 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 70 def get_column_width(column) end |
#get_grid ⇒ Wx::PG::PropertyGrid Also known as: grid
74 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 74 def get_grid; end |
#get_last_item(flags = Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_DEFAULT) ⇒ Wx::PG::PGProperty Also known as: last_item
79 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 79 def get_last_item(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_DEFAULT) end |
#get_property_category(p) ⇒ Wx::PG::PropertyCategory Also known as: property_category
89 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 89 def get_property_category(p) end |
#get_selection ⇒ Wx::PG::PGProperty Also known as: selection
Returns currently selected property.
84 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 84 def get_selection; end |
#get_virtual_height ⇒ Integer Also known as: virtual_height
Returns (precalculated) height of contained visible properties.
45 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 45 def get_virtual_height; end |
#get_virtual_width ⇒ Integer Also known as: virtual_width
Returns combined width of margin and all the columns.
94 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 94 def get_virtual_width; end |
#hit_test(pt) ⇒ Wx::PG::PropertyGridHitTestResult
Returns information about arbitrary position in the grid.
106 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 106 def hit_test(pt) end |
#is_displayed ⇒ Boolean Also known as: displayed?
Returns true if page is visibly displayed.
110 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 110 def is_displayed; end |
#is_in_non_cat_mode ⇒ Boolean Also known as: in_non_cat_mode?
114 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 114 def is_in_non_cat_mode; end |
#virtual_height_changed ⇒ void
This method returns an undefined value.
Called after virtual height needs to be recalculated.
119 |
# File 'lib/wx/doc/gen/pg/property_grid_page_state.rb', line 119 def virtual_height_changed; end |