Class: Wx::PG::PGEditorDialogAdapter
- Defined in:
- lib/wx/doc/gen/pg/pg_editor.rb
Overview
Derive a class from this to adapt an existing editor dialog or function to be used when editor button of a property is pushed.
You only need to derive class and implement #do_show_dialog to create and show the dialog, and finally submit the value returned by the dialog via #set_value.
Category: PropertyGrid
Instance Method Summary collapse
- #do_show_dialog(propGrid, property) ⇒ Boolean
-
#get_value ⇒ Wx::Variant
(also: #value)
This method is typically only used if deriving class from existing adapter with value conversion purposes.
- #initialize ⇒ Wx::PG::PGEditorDialogAdapter constructor
- #set_value(value) ⇒ void (also: #value=)
- #show_dialog(propGrid, property) ⇒ Boolean
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize ⇒ Wx::PG::PGEditorDialogAdapter
694 |
# File 'lib/wx/doc/gen/pg/pg_editor.rb', line 694 def initialize; end |
Instance Method Details
#do_show_dialog(propGrid, property) ⇒ Boolean
704 |
# File 'lib/wx/doc/gen/pg/pg_editor.rb', line 704 def do_show_dialog(propGrid, property) end |
#get_value ⇒ Wx::Variant Also known as: value
This method is typically only used if deriving class from existing adapter with value conversion purposes.
713 |
# File 'lib/wx/doc/gen/pg/pg_editor.rb', line 713 def get_value; end |
#set_value(value) ⇒ void Also known as: value=
This method returns an undefined value.
708 |
# File 'lib/wx/doc/gen/pg/pg_editor.rb', line 708 def set_value(value) end |
#show_dialog(propGrid, property) ⇒ Boolean
699 |
# File 'lib/wx/doc/gen/pg/pg_editor.rb', line 699 def show_dialog(propGrid, property) end |