Class

Window

Extends:

The base class for all things displayed on screen

Aliases
__old_evt_paint
id Ruby’s Object#id is deprecated and will be removed in 1.9; therefore for classes inheriting from Wx::Window, the id method returns the wxRuby Window id
wx_id In case a more explicit option is preferred.
Public Methods
evt_paint This modified version of evt_paint sets a variable indicating that a paint event is being handled just before running the event handler. This ensures that any call to Window#paint within the handler will supply a Wx::PaintDC (see swig/Window.i).
find_window_by_id Recursively searches all windows below self and returns the first window which has the id an_id. This corresponds to the find_window method method in WxWidgets when called with an integer.
find_window_by_label Searches all windows below self and returns the first window which has the label a_label.
find_window_by_name Searches all windows below self and returns the first window which has the name a_name This corresponds to the find_window method method in WxWidgets when called with an string.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.