Class: Wx::PG::PGEditorDialogAdapter

Inherits:
Object
  • Object
show all
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

Requires:

  • USE_PROPGRID

Instance Method Summary collapse

Methods inherited from Object

#clone, #dup, #is_same_as, #un_share

Constructor Details

#initializeWx::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

Parameters:

Returns:

  • (Boolean)


704
# File 'lib/wx/doc/gen/pg/pg_editor.rb', line 704

def do_show_dialog(propGrid, property) end

#get_valueWx::Variant Also known as: value

This method is typically only used if deriving class from existing adapter with value conversion purposes.

Returns:



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.

Parameters:

  • value (nil, String, Integer, Float, Time, Wx::Font, Wx::Colour, Wx::Variant, Array<WxVariant>, Array<String>, ObjectWx::PG::ColourPropertyValue)


708
# File 'lib/wx/doc/gen/pg/pg_editor.rb', line 708

def set_value(value) end

#show_dialog(propGrid, property) ⇒ Boolean

Parameters:

Returns:

  • (Boolean)


699
# File 'lib/wx/doc/gen/pg/pg_editor.rb', line 699

def show_dialog(propGrid, property) end