| Did you know ... | Search Documentation: |
| Instance variables |
->event.
This is not necessarily the same as @event.
Consider the case were the window has opened a popup. In this case window<-current_event
will point to the event that caused the popup to open (generally an
ms_right_down event), while @event
will point to the various events that are processed during the opened
state of the popup window.
->event->catch_all
creates a decorator for methods that are not defined on class window
and are defined by class window_decorator.
This allows for e.g.,
send(Window, scrollbars, both)
<->focus_cursor:
the window<->focus_cursor<->cursor
the cursor of the object in focus<->cursor
of the window. @see device->event
@see window-focus_cursor
@see graphical->cursor
@see window->focus<-focus_recogniser
too is not @nil
the event will be posted to this recogniser only.
Note that keyboard events will be send to the window<-keyboard_focus
when this is not @nil.
->event -keyboard_focus ->focus -focus_recogniser<-focus
is not @nil),
this focus remains active until a button-up-event is received with this
button. When @nil,
the focus remains set till it is explicitly cleared.
->event ->focus<-focus
is not @nil,
this cursor will be displayed.
->focus_cursor -displayed_cursor<-focus
is not @nil,
events are given to this
recogniser
object.
->event -focus<-member.
If the window has no frame and is not displayed on another graphical and
create is @on
or @default a
default frame is attached to the window which is returned.
<-frame ->above->event
and may be redefined, but should always invoke the primary
implementation.->input_focus.
When modified, and the
window<-keyboard_focus
is not @nil,
the method will generate either an activate_keyboard_focus or a
deactivate_keyboard_focus event to window<-keyboard_focus.
<-input_focus ->input_focus
A graphical getting the keyboard focus will be sent an
obtain_keyboard_focus event. Graphicals loosing the
keyboard focus will be sent a release_keybaord_focus event.
->event -focus ->keyboard_focus->event.
->event
@receiver The window @arg1 The window @arg2 New size of the window
This message is always sent when the associated frame is created.
Resizing a window may also be specified by redefining the
window->geometry
method. See also window<-visible
and dialog->layout.
->set
window<-visible
is the proper way to get information on the current location of the
visible area of the window.
|elevation|colour*<-selected: @on
are visualised. Values:
<-foreground
and window<-background
colour..selection_handles.
Used (for example) in PceDraw.<-colour
attribute, drawing the graphical using the colour specified here.
Suitable on colour devices only. Using a light-grey or otherwise
coloured window<-background
generally improves the result.
->paint_selected .selection_handles.->event->border