Next: BLOX.Blox-accessing, Previous: BLOX.Blox class-instance creation, Up: BLOX.Blox [Index]
Answer the currently active Blox, or nil if the focus does not belong to a Smalltalk window.
Answer the Blox containing the given point on the screen, or nil if no Blox contains the given point (either because no Smalltalk window is there or because it is covered by another window).
Answer the Blox under the mouse cursor’s hot spot, or nil if no Blox contains the given point (either because no Smalltalk window is there or because it is covered by another window).
Produce a bell
Clear the clipboard, answer its old contents.
Retrieve the text in the clipboard.
Set the contents of the clipboard to aString (or empty the clipboard if aString is nil).
Answer a color that can be passed to methods such as ‘backgroundColor:’. The color will have the given RGB components (range is 0~65535).
Answer a color that can be passed to methods such as ‘backgroundColor:’. The color will have the given CMY components (range is 0~65535).
Answer a color that can be passed to methods such as ‘backgroundColor:’. The color will have the given CMYK components (range is 0~65535).
Answer a color that can be passed to methods such as ‘backgroundColor:’. The color will have the given HSV components (range is 0~65535).
Answer the default font used by Blox.
Answer the names of the font families in the system. Additionally, ‘Times’, ‘Courier’ and ‘Helvetica’ are always made available.
If the mouse pointer is on the same screen as the application’s windows, returns a Point containing the pointer’s x and y coordinates measured in pixels in the screen’s root window (under X, if a virtual root window is in use on the screen, the position is computed in the whole desktop, not relative to the top-left corner of the currently shown portion). If the mouse pointer isn’t on the same screen as window then answer nil.
Answer the platform on which Blox is running; it can be either #unix, #macintosh or #windows.
Answer a Point indicating the coordinates of the upper left point of the screen in the virtual root window on which the application’s windows are drawn (under Windows and the Macintosh, that’s always 0 @ 0)
Answer a Point containing the resolution in dots per inch of the screen, in the x and y directions.
Answer a Point containing the size of the virtual root window on which the application’s windows are drawn (under Windows and the Macintosh, that’s the size of the screen)
Next: BLOX.Blox-accessing, Previous: BLOX.Blox class-instance creation, Up: BLOX.Blox [Index]