Class: Wx::PG::PGChoiceAndButtonEditor
- Inherits:
-
PGChoiceEditor
- Object
- Object
- PGEditor
- PGChoiceEditor
- Wx::PG::PGChoiceAndButtonEditor
- Defined in:
- lib/wx/doc/gen/pg/pg_editor.rb
Overview
Instance Method Summary collapse
-
#create_controls(propgrid, property, pos, size) ⇒ Wx::Window, Array<Wx::Window,Wx::Window>
Instantiates editor controls.
-
#get_name ⇒ String
(also: #name)
Returns pointer to the name of the editor.
- #initialize ⇒ Wx::PG::PGChoiceAndButtonEditor constructor
Methods inherited from PGChoiceEditor
#can_contain_custom_image, #create_controls_base, #delete_item, #get_value_from_control, #insert_item, #on_event, #set_control_int_value, #set_control_string_value, #set_value_to_unspecified, #update_control
Methods inherited from PGEditor
#can_contain_custom_image, #delete_item, #draw_value, #get_value_from_control, #insert_item, #on_event, #on_focus, #set_control_appearance, #set_control_int_value, #set_control_string_value, #set_value_to_unspecified, #update_control
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize ⇒ Wx::PG::PGChoiceAndButtonEditor
399 |
# File 'lib/wx/doc/gen/pg/pg_editor.rb', line 399 def initialize; end |
Instance Method Details
#create_controls(propgrid, property, pos, size) ⇒ Wx::Window, Array<Wx::Window,Wx::Window>
Instantiates editor controls.
- It is not necessary to call EvtHandler#bind for interesting editor events. All events from controls are automatically forwarded to Wx::PG::PGEditor#on_event and Wx::PG::PGProperty#on_event.
423 |
# File 'lib/wx/doc/gen/pg/pg_editor.rb', line 423 def create_controls(propgrid, property, pos, size) end |
#get_name ⇒ String Also known as: name
Returns pointer to the name of the editor.
For example, Wx::PG_EDITOR_TEXT_CTRL has name “TextCtrl”. If you don’t need to access your custom editor by string name, then you do not need to implement this function.
405 |
# File 'lib/wx/doc/gen/pg/pg_editor.rb', line 405 def get_name; end |