Chapter 3. Methods
method: (activate inst)
method: (send inst activate)
returns: unspecified
Redisplays the button using the "active-foreground" color
(so it looks as it would if the mouse were over the widget). At
present it has no effect if the button has been disabled.
(This seems to be of pretty limited usefulness).
method: (activate inst menu)
method: (send inst activate menu)
returns: unspecified
Activate menu.
method: (add-follower inst widget)
method: (send inst add-follower widget)
returns: unspecified
Adds the specified widget to the list of widgets following
this widget. When the show, hide, or destroy
message is sent to this instance, the message is also forwarded to each of
the followers.
method: (add-offset inst pos disp)
method: (send inst add-offset pos disp)
returns: see below
Returns a new pair scheme(column . line) that refers
to a new position whose character offset relative to pos is
given by disp. Negative offsets are permitted. pos is
either a pair or an instance of <fixed-mark> or <floating-mark>.
method: (apply-markup inst txt index1 index2)
method: (send inst apply-markup txt index1 index2)
returns: unspecified
applies the given markup to the range of text beginning
at index1 and ending at index2 within the text widget
txt. Subsequent operations on the markup affect this
region of text until the markup is removed, or that text
is deleted from the widget.
method: (bounding-box inst)
method: (send inst bounding-box)
returns: list
Returns a list of the coordinates giving the bounding box of this
figure on the canvas.
method: (bounding-box inst pos)
method: (send inst bounding-box pos)
returns: see below
Returns a list of four values describing the bounding box of the character
at the position pos, or #f if the character is not visible on screen.
The first two values give the x- and y-
coordinates of the top left corner of the area occupied by the
character. The last two values describe the width and height
of that area.
method: (claim-selection inst selection notify-proc)
method: (send inst claim-selection selection notify-proc)
returns: unspecified
Make this widget the owner of the specified selection
and notify the previous owner of that selection (if any)
that it has lost ownership.
When this widget loses the selection, invoke the given
notify thunk.
When a widget claims ownership of the primary selection,
the currently (or subsequently) selected contents of
the widget are then
available via swl:get-selection.
See also swl:clear-selection.
method: (clear-selection inst)
method: (send inst clear-selection)
returns: unspecified
clears the selection if anything in this widget is selected.
De-selects all items in the listbox.
clears the selection if anything in this widget is selected.
method: (clear-selection inst index)
method: (send inst clear-selection index)
returns: unspecified
De-selects the item at the given index
method: (clear-selection inst index1 index2)
method: (send inst clear-selection index1 index2)
returns: unspecified
De-selects the items between index1 and index2 inclusive
method: (configure inst width height)
method: (send inst configure width height)
returns: unspecified
When resized, a widget is notified of its width and height
by this method.
method: (cursor-bof? inst)
method: (send inst cursor-bof?)
returns: boolean
Returns true if the insertion cursor is at the beginning
of the text buffer.
method: (cursor-bol inst)
method: (send inst cursor-bol)
returns: unspecified
Moves the insertion cursor to the beginning of the line.
Moves the insertion cursor to the beginning of the entry.
method: (cursor-bol? inst)
method: (send inst cursor-bol?)
returns: boolean
Returns true if the insertion cursor is at the beginning of a line.
Returns true if the insertion cursor is at the beginning of the string displayed
in the entry.
method: (cursor-eof? inst)
method: (send inst cursor-eof?)
returns: boolean
Returns true if the insertion cursor is at the end of the text buffer.
Returns true if the insertion cursor is at the end of the text buffer.
method: (cursor-eol inst)
method: (send inst cursor-eol)
returns: unspecified
Moves the insertion cursor to the end of the line.
Moves the insertion cursor to the end of the entry.
method: (cursor-eol? inst)
method: (send inst cursor-eol?)
returns: boolean
Returns true if the insertion cursor is at the end of a line.
Returns true if the insertion cursor is at the end of the string
displayed in the entry.
method: (deactivate inst)
method: (send inst deactivate)
returns: unspecified
Redisplays the button using the "normal-foreground" color
(so it looks as it would if the mouse were not over the widget). At
present it has no effect if the button has been disabled.
(This seems to be of pretty limited usefulness).
method: (deactivate inst menu)
method: (send inst deactivate menu)
returns: unspecified
Deactivates the menu item.
Deactivate menu.
method: (delete inst index1)
method: (send inst delete index1)
returns: unspecified
Deletes the character at index1.
Deletes the item with index item.
deletes the character if any at index first in the entry.
method: (delete inst index1 index2)
method: (send inst delete index1 index2)
returns: unspecified
Deletes characters in the range specified by index1 and
index2 (inclusive).
Deletes the elements in the range from
first to last.
deletes the characters in the range of first
to last (inclusive).
method: (delete-all inst)
method: (send inst delete-all)
returns: unspecified
Deletes all characters in the widget.
deletes all the items in the listbox.
Deletes all characters in the widget.
method: (delete-char inst disp)
method: (send inst delete-char disp)
returns: unspecified
Deletes the characters between the cursor position and the given
displacement.
Deletes the character at the given offset in the <entry>.
method: (delete-eol inst)
method: (send inst delete-eol)
returns: unspecified
Deletes characters from current cursor position to the end of the line.
Deletes characters from current insert position to end of line.
method: (delete-selection-at-cursor inst)
method: (send inst delete-selection-at-cursor)
returns: unspecified
Deletes the selected text, if any, surrounding the cursor.
Deletes the selected text, if any, surrounding the cursor.
method: (deselect inst)
method: (send inst deselect)
returns: unspecified
deselects the widget.
method: (destroy inst)
method: (send inst destroy)
returns: unspecified
Destroys the menu and any sub-menus.
Destroys this toplevel window if destroy-request-handler
returns a non-false value.
Destroys the widget and its children.
destroys the canvas figure
Destroys the widget and its children.
Destroys the object.
method: (find-closest inst x y)
method: (send inst find-closest x y)
returns: see below
Returns the topmost canvas item closest to the canvas coordinates
x and y or #f if none.
method: (find-enclosed inst x1 y1 x2 y2)
method: (send inst find-enclosed x1 y1 x2 y2)
returns: see below
Returns a list of the items completely enclosed by the rectangular
region defined by x1, y1, x2, and y2.
method: (find-item inst relpos item)
method: (send inst find-item relpos item)
returns: see below
Returns the canvas item above or below item in
the display list or #f if none.
relpos is either above or below.
method: (find-overlapping inst x1 y1 x2 y2)
method: (send inst find-overlapping x1 y1 x2 y2)
returns: see below
Returns a list of the items overlapped by the rectangular
region defined by x1, y1, x2, and y2.
method: (fixed-mark inst where)
method: (send inst fixed-mark where)
returns: an instance of <fixed-mark>
Returns a fixed mark for the position described by where.
A fixed mark moves only when text is inserted or deleted somewhere
before its current position. It remains fixed when text is inserted
at its current position.
method: (flash inst)
method: (send inst flash)
returns: unspecified
flashes the button briefly. expect this to go away.
method: (floating-mark inst where)
method: (send inst floating-mark where)
returns: an instance of <floating-mark>
Returns a floating mark for the position described by where.
A floating mark moves when text is inserted or deleted before its
current position and moves when text is inserted at its current
position. For example, the insertion cursor behaves as
a floating mark.
method: (focus-next inst who)
method: (send inst focus-next who)
returns: unspecified
Set keyboard focus to the widget after who.
method: (focus-prev inst who)
method: (send inst focus-prev who)
returns: unspecified
Set keyboard focus to the widget before who.
method: (get-above-paragraph-space inst)
method: (send inst get-above-paragraph-space)
returns: see below
Returns in pixels the amount of extra space to insert above each
paragraph in the text.
Returns in pixels the amount of extra space to insert above each
paragraph in the text, or #f.
method: (get-accept-focus inst)
method: (send inst get-accept-focus)
returns: boolean
Returns a boolean indicating whether or not this widget accepts
focus when offered by the keyboard traversal mechanism.
See the description of set-accept-focus!.
method: (get-action inst)
method: (send inst get-action)
returns: procedure
Returns the procedure that is called when the widget is manipulated by
dragging or clicking the mouse, or pressing arrow keys when the widget
has input focus. See set-action! for more details.
Returns the procedure of no arguments to be invoked when the
widget is clicked or pressed.
Returns a procedure of one argument (self) that is invoked when this
menu item is chosen with the keyboard or mouse.
returns a procedure of one argument (self) evaluated for effect when
return or newline is pressed in an <entry>.
method: (get-active-background-color inst)
method: (send inst get-active-background-color)
returns: see below
Returns the foreground color used when the mouse cursor is
over the widget.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the background color used when the mouse cursor is
over the widget.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the background color used when the mouse cursor is
over the widget.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the background color used when the mouse cursor is
over the widget.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the background color used when the mouse cursor is
over the widget.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-active-foreground-color inst)
method: (send inst get-active-foreground-color)
returns: see below
Returns the foreground color used when the mouse cursor is
over the widget.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the foreground color used when the mouse cursor is
over the widget.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the foreground color used when the mouse cursor is
over the widget.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the foreground color used when the mouse cursor is
over the widget.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-actual-values inst)
method: (send inst get-actual-values)
returns: see below
Returns, as multiple values, the actual family, size, and style
used by the display engine when rendering this font.
method: (get-anchor inst)
method: (send inst get-anchor)
returns: symbol
Returns a symbol describing where information in the
widget is displayed.
Returns a symbol describing where the figure is displayed
relative to its coordinates.
method: (get-arrow-shape inst)
method: (send inst get-arrow-shape)
returns: see below
Returns a list of three numbers describing the shape of the arrowhead
see set-arrow-shape! for details.
method: (get-arrow-style inst)
method: (send inst get-arrow-style)
returns: see below
Returns a symbol describing where on the line the arrowheads
should be drawn.
method: (get-aspect-ratio-bounds inst)
method: (send inst get-aspect-ratio-bounds)
returns: see below
Returns the contraints on the aspect ratio for this toplevel as
minumum and maximum ratios of width to height. The values returned
are #f if no constraints are in effect.
method: (get-background-color inst)
method: (send inst get-background-color)
returns: see below
Returns the default background color for the instance.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the default background color for the instance.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the background color for text with this markup.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt, an instance of <rgb>, or #f.
Returns the background color for the bitmap.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the default background color for the instance.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-below-paragraph-space inst)
method: (send inst get-below-paragraph-space)
returns: see below
Returns in pixels the amount of extra space to insert below each
paragraph in the text.
Returns in pixels the amount of extra space to insert below each
paragraph in the text, or #f.
method: (get-blank inst)
method: (send inst get-blank)
returns: see below
Returns #f if the entry displays its contents without translation
else returns the character used in the translation. (see set-blank!)
method: (get-border-width inst)
method: (send inst get-border-width)
returns: see below
Returns the width in pixels of the border drawn around
text with this markup, or #f if none.
Returns the width in pixels of the border drawn around the instance.
method: (get-cap-style inst)
method: (send inst get-cap-style)
returns: see below
Returns a symbol describing
how caps are drawn at the endpoints of the line.
method: (get-char inst)
method: (send inst get-char)
returns: see below
Returns the character at cursor position or #f if none but
does not advance the cursor.
method: (get-char inst index)
method: (send inst get-char index)
returns: see below
Returns the character at index, #f if none.
method: (get-close-enough inst)
method: (send inst get-close-enough)
returns: a floating point number
Returns a floating-point value indicating
how close the mouse cursor must be before
it is considered to be inside an item.
method: (get-confine inst)
method: (send inst get-confine)
returns: boolean
Returns a boolean indicating whether or not the
canvas is prevented from scrolling the view of the canvas outside the
region defined by set-scroll-region!.
method: (get-coords inst)
method: (send inst get-coords)
returns: list
Returns a list of the coordinates defining the canvas figure.
method: (get-cursor-pos inst)
method: (send inst get-cursor-pos)
returns: integer
Returns the position of insertion cursor within the widget
as a pair of character position and line number.
Returns the index of the item currently under the cursor.
Returns the position of insertion cursor within the widget.
method: (get-data inst)
method: (send inst get-data)
returns: see below
Returns a base64-encoded string representing the image data.
No idea if this will really work reliably.
method: (get-desired-height inst)
method: (send inst get-desired-height)
returns: integer
Returns the height, in pixels, that the widget requests from its
window manager.
method: (get-desired-width inst)
method: (send inst get-desired-width)
returns: integer
Returns the width, in pixels, that the widget requests from its
window manager.
method: (get-destroy-request-handler inst)
method: (send inst get-destroy-request-handler)
returns: procedure
Returns the destroy request handler for this toplevel window.
method: (get-digits inst)
method: (send inst get-digits)
returns: see below
Returns the number of significant digits in the value of the scale.
If zero, then the scale chooses the smallest value that distinguishes
each position of the slider.
method: (get-disabled-background-color inst)
method: (send inst get-disabled-background-color)
returns: see below
Returns the background color used when the widget is disabled.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-disabled-foreground-color inst)
method: (send inst get-disabled-foreground-color)
returns: see below
Returns the foreground color used when the widget is disabled.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the foreground color used when the widget is disabled.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the foreground color used when the widget is disabled.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the foreground color used when the widget is disabled.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-draw-indicator inst)
method: (send inst get-draw-indicator)
returns: see below
Returns a boolean value indicating whether or not the state
of the widget is depicted by drawing a small square or diamond
filled or not filled.
Returns a boolean value indicating whether or not the state
of the item is depicted by drawing a small square or diamond
filled or not filled.
method: (get-draw-spline inst)
method: (send inst get-draw-spline)
returns: boolean
Returns a boolean that indicates whether or not the outline
of the figure is drawn as a spline.
method: (get-enabled inst)
method: (send inst get-enabled)
returns: boolean
Returns a boolean value indicating whether or not the widget is
enabled and responsive to user interaction.
Returns a boolean value indicating whether or not the widget is
enabled and responsive to user interaction.
Always returns false.
Always #f for separator-menu-items.
Returns a boolean value indicating whether or not the widget is
enabled and responsive to user interaction.
Returns a boolean value indicating whether or not the widget is
enabled and responsive to user interaction.
method: (get-export-selection inst)
method: (send inst get-export-selection)
returns: boolean
Returns a boolean that indicates whether or not selection
in the widget is also the X selection.
method: (get-extent inst)
method: (send inst get-extent)
returns: see below
Returns the extent in degrees of the arc.
method: (get-family inst)
method: (send inst get-family)
returns: a symbol
Returns the family requested when the instance was created.
method: (get-filename inst)
method: (send inst get-filename)
returns: string
Returns the name of the file associated with the <photo>.
Returns the name of the file associated with the instance.
method: (get-fill-color inst)
method: (send inst get-fill-color)
returns: see below
Returns the color with which the interior of the figure is filled.
The value returned is either the symbol transparent, a symbol
naming a color in rgb.txt, or
an instance of <rgb>.
Returns the color with which the interior of the figure is filled.
The value returned is either the symbol transparent, a symbol
naming a color in rgb.txt, or
an instance of <rgb>.
Returns the color with which the interior of the figure is filled.
The value returned is either the symbol transparent, a symbol
naming a color in rgb.txt, or
an instance of <rgb>.
method: (get-font inst)
method: (send inst get-font)
returns: see below
Returns an instance of <font> describing the default font
for text displayed by the scale.
Returns an instance of <font> describing the font
for text displayed in the widget.
Returns an instance of <font> describing the font
for text displayed in the widget.
Returns an instance of <font> describing the font
for text displayed in the widget.
Returns an instance of <font> describing the font
for text with this markup or #f to indicate that this
markup does not override the text font.
Returns an instance of <font> describing the font
for text displayed by the figure.
method: (get-foreground-color inst)
method: (send inst get-foreground-color)
returns: see below
Returns the default foreground color for the scale.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the foreground color for the instance.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the foreground color for the instance.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the foreground color for the instance.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
Returns the foreground color for text with this markup.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt, an instance of <rgb>, or #f.
Returns the foreground color for the bitmap.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-geometry inst)
method: (send inst get-geometry)
returns: string
Returns a string describing the current geometry of the toplevel.
method: (get-grid inst)
method: (send inst get-grid)
returns: boolean
Returns a boolean indicating whether or not the
text widget should strive to keep its dimensions in even
multiples of the dimensions of a character in its current font.
Returns a boolean indicating whether or not the
listbox should strive to keep its dimensions in even
multiples of the dimensions of a character in its current font.
method: (get-height inst)
method: (send inst get-height)
returns: integer
Returns the height, in pixels, of the given image.
Returns the height in pixels of the sub-window.
Returns the current height, in pixels, of the widget.
method: (get-height/char inst)
method: (send inst get-height/char)
returns: integer
Returns the height of the widget in lines of text.
If zero then the widget is determining its own size.
method: (get-horizontal-view inst)
method: (send inst get-horizontal-view)
returns: see below
Returns a list of two floating-point values describing what
part of the widget's content is in view horizontally.
The first number indicates what fraction of the widget's
content is out of
view to the left and the second number indicates what fraction of
the widget's content is not out of view to the right.
method: (get-hpad inst)
method: (send inst get-hpad)
returns: see below
Returns in pixels the extra horizontal distance to add around
the widget.
method: (get-hscroll-increment inst)
method: (send inst get-hscroll-increment)
returns: integer
Returns the value set by set-hscroll-increment!.
method: (get-hscroll-notify inst)
method: (send inst get-hscroll-notify)
returns: see below
Returns the procedure (or #f if none) that is notified when
the horizontal view or content of the widget is changed.
Returns the procedure (or #f if none) that is notified when
the horizontal view or content of the widget is changed.
method: (get-icon-title inst)
method: (send inst get-icon-title)
returns: string
Returns the string displayed by the toplevel when it is iconified.
method: (get-image inst)
method: (send inst get-image)
returns: see below
Returns the image to displayed by this canvas item.
method: (get-insert-border-width inst)
method: (send inst get-insert-border-width)
returns: integer
Returns the width in pixels of the 3-D border drawn around the
insertion cursor for the widget.
method: (get-insert-color inst)
method: (send inst get-insert-color)
returns: see below
Returns the color for the insertion cursor of the widget
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-insert-off-time inst)
method: (send inst get-insert-off-time)
returns: integer
Returns the number of milliseconds the insertion cursor for
this widget will be hidden during each blink cycle.
method: (get-insert-on-time inst)
method: (send inst get-insert-on-time)
returns: integer
Returns the number of milliseconds the insertion cursor for
this widget will be visible during each blink cycle.
method: (get-insert-width inst)
method: (send inst get-insert-width)
returns: integer
Returns the width in pixels of the insertion cursor for the widget.
method: (get-item inst index)
method: (send inst get-item index)
returns: see below
Returns the string in the listbox at the given index.
method: (get-items inst)
method: (send inst get-items)
returns: list
Returns a list of canvas items contained in this canvas.
method: (get-join-style inst)
method: (send inst get-join-style)
returns: see below
Returns a symbol describing how the joints between line segments are
drawn.
method: (get-jump-scroll inst)
method: (send inst get-jump-scroll)
returns: see below
Returns a boolean that indicates whether or not
the scrollbar waits until it is released before notifying
the associated widget.
method: (get-justify inst)
method: (send inst get-justify)
returns: symbol
Returns a symbol describing how lines are to be justified when
multiple lines
are displayed.
Returns a symbol indicating where where the the insertion cursor begins
and how the text is displayed when it all fits in
the widget.
Returns a symbol describing how lines are to be justified when
multiple lines
are displayed.
method: (get-key-press-method inst)
method: (send inst get-key-press-method)
returns: see below
returns the method that is notified when a key is pressed while
the mouse is over a range of text with this markup.
method: (get-key-release-method inst)
method: (send inst get-key-release-method)
returns: see below
returns the method that is notified when a key is released while
the mouse is over a range of text with this markup.
method: (get-left-margin inst)
method: (send inst get-left-margin)
returns: see below
Returns the left margin in pixels for text with this markup, or #f
if none.
method: (get-length inst)
method: (send inst get-length)
returns: see below
returns the length in pixels of the long dimension of the scale.
method: (get-line-space inst)
method: (send inst get-line-space)
returns: see below
Returns in pixels the amount of extra space to insert between each line
in the text.
Returns in pixels the amount of extra space to insert between each line
in the text, or #f.
method: (get-line-thickness inst)
method: (send inst get-line-thickness)
returns: see below
Returns the thickness in pixels of the outline drawn around the figure.
Returns the thickness in pixels of the outline drawn around the figure.
method: (get-mask-data inst)
method: (send inst get-mask-data)
returns: see below
No idea if this will really work reliably.
method: (get-max inst)
method: (send inst get-max)
returns: see below
returns the high value of the range represented by the scale.
method: (get-max-size inst)
method: (send inst get-max-size)
returns: see below
returns multiple values corresponding to the arguments to set-max-size!
method: (get-menu inst)
method: (send inst get-menu)
returns: see below
Returns the menu to be posted when this item is chosen to menu
which must be an instance of <menu>. Returns #f if none.
Returns the menu instance associated with this toplevel,
or #f if none.
method: (get-menu-items inst)
method: (send inst get-menu-items)
returns: see below
Returns a copy of the list of menu items contained in this menu.
Returns a copy of the list of menu items contained in this menu.
method: (get-min inst)
method: (send inst get-min)
returns: see below
returns the low value of the range represented by the scale.
method: (get-min-size inst)
method: (send inst get-min-size)
returns: see below
returns multiple values corresponding to the arguments to set-min-size!
method: (get-mouse-cursor inst)
method: (send inst get-mouse-cursor)
returns: see below
Returns the mouse cursor displayed when the mouse pointer is in the
widget. The return value is in one of the forms accepted by
set-mouse-cursor!.
method: (get-mouse-enter-method inst)
method: (send inst get-mouse-enter-method)
returns: see below
returns the procedure that is notified when the mouse
enters a range of text with this markup.
method: (get-mouse-leave-method inst)
method: (send inst get-mouse-leave-method)
returns: see below
returns the procedure that is notified when the mouse
leaves a range of text with this markup.
method: (get-mouse-motion-method inst)
method: (send inst get-mouse-motion-method)
returns: see below
returns the procedure that is notified when the mouse moves
over a range of text with this markup.
method: (get-mouse-press-method inst)
method: (send inst get-mouse-press-method)
returns: see below
returns the procedure that is notified when a mouse button is pressed
over a range of text with this markup.
method: (get-mouse-release-method inst)
method: (send inst get-mouse-release-method)
returns: see below
returns the procedure that is notified when a mouse button is released
over a range of text with this markup.
method: (get-options inst)
method: (send inst get-options)
returns: option list (see set-options!)
The behavior when the list is mutated is undefined.
method: (get-orientation inst)
method: (send inst get-orientation)
returns: symbol
Returns the orientation of the widget,
either horizontal or vertical.
method: (get-outline-color inst)
method: (send inst get-outline-color)
returns: see below
Returns the color in which the outline of the figure is drawn.
The value returned is either a symbol naming a color in rgb.txt or
an instance of <rgb>.
Returns the color in which the outline of the figure is drawn.
The value returned is either a symbol naming a color in rgb.txt or
an instance of <rgb>.
method: (get-override-redirect inst)
method: (send inst get-override-redirect)
returns: boolean
Indicates whether this toplevel window is to be ignored by the
window manager (ie. displayed without decorative border, etc.).
method: (get-overstrike inst)
method: (send inst get-overstrike)
returns: see below
Returns a boolean indicating whether or not text with this
markup is overstricken.
method: (get-paragraph-indent inst)
method: (send inst get-paragraph-indent)
returns: see below
Returns the number of pixels that the first line of a paragraph
with this markup is indented, or #f if none.
method: (get-parent inst)
method: (send inst get-parent)
returns: see below
This method returns #f
since a toplevel has no parent.
Returns the canvas on which the figure is drawn.
Returns the parent of the widget.
Returns the parent of the widget or #f if the widget has no parent.
method: (get-pos inst)
method: (send inst get-pos)
returns: see below
Returns a pair containing the current line and character position
of the mark.
method: (get-pref inst key default)
method: (send inst get-pref key default)
returns: preference value associated with key, or default if none
A warning is signaled in the latter case.
method: (get-prefs-key inst)
method: (send inst get-prefs-key)
returns: symbol or #f
Returns the preferences key for this menu item.
method: (get-relief inst)
method: (send inst get-relief)
returns: see below
Returns a symbol describing how the border of the widget is drawn,
or #f.
Returns a symbol describing how the border of the widget is drawn.
method: (get-repeat-delay inst)
method: (send inst get-repeat-delay)
returns: integer
Returns the number of milliseconds a button or key must be held down
before it begins to autorepeat.
method: (get-repeat-interval inst)
method: (send inst get-repeat-interval)
returns: integer
Returns the number of milliseconds to delay between auto-repeats.
method: (get-resizable inst)
method: (send inst get-resizable)
returns: see below
returns multiple values corresponding to the arguments to set-resizable!
method: (get-resolution inst)
method: (send inst get-resolution)
returns: see below
returns the resolution of the scale's value.
method: (get-right-margin inst)
method: (send inst get-right-margin)
returns: see below
Returns the right margin in pixels for text with this markup, or #f
if none.
method: (get-root-x inst)
method: (send inst get-root-x)
returns: integer
Returns the x-coordinate of the widget relative to the root window.
method: (get-root-y inst)
method: (send inst get-root-y)
returns: integer
Returns the y-coordinate of the widget relative to the root window.
method: (get-saved-text inst)
method: (send inst get-saved-text)
returns: string
returns, as a Scheme string, the text preserved by save-text!
this is the yank operation.
method: (get-scroll-region inst)
method: (send inst get-scroll-region)
returns: list
Returns a list of the coordinates defining
the boundary of the information on the canvas.
method: (get-select-background-color inst)
method: (send inst get-select-background-color)
returns: see below
Returns the background color for selected items in the widget.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-select-border-width inst)
method: (send inst get-select-border-width)
returns: integer
Returns the width in pixels of the raised 3-D border drawn around
selected items.
method: (get-select-color inst)
method: (send inst get-select-color)
returns: see below
Returns the color used to show when the widget is selected
(see set-select-color!).
Returns the color used to show when the item is selected
(see set-select-color!).
Returns the color used to show when the item is selected
(see set-select-color!).
method: (get-select-foreground-color inst)
method: (send inst get-select-foreground-color)
returns: see below
Returns the foreground color for selected items in the widget.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-select-image inst)
method: (send inst get-select-image)
returns: see below
Returns the image displayed when this item is selected.
Returns the image displayed when this item is selected.
method: (get-select-mode inst)
method: (send inst get-select-mode)
returns: see below
Returns a symbol describing the current selection mode.
See set-select-mode! for more details.
method: (get-selected inst)
method: (send inst get-selected)
returns: boolean
Returns the selected status of the item.
method: (get-selected-items inst)
method: (send inst get-selected-items)
returns: see below
Returns the index of the item currently selected,
a list of such indices if more than one is selected, or
#f if none is selected.
method: (get-selected-range inst)
method: (send inst get-selected-range)
returns: see below
Returns a pair of the start and end points of the selected
region or #f if nothing is selected.
Returns a pair of the start and end points of the selected
region or #f if nothing is selected.
method: (get-selected-string inst)
method: (send inst get-selected-string)
returns: see below
Returns the string selected in the entry or #f if none.
Very tempted to eliminate this
method: (get-show-value inst)
method: (send inst get-show-value)
returns: see below
returns a boolean indicating whether or not the scale
shows its current value beside the slider.
method: (get-size inst)
method: (send inst get-size)
returns: an integer
Returns the size requested when the instance was created.
Positive values indicate size in points;
negative values indicate size in pixels.
method: (get-skip-increment inst)
method: (send inst get-skip-increment)
returns: see below
returns the size of the skips made when the scale is clicked on in
a way that jumps.
method: (get-slider-length inst)
method: (send inst get-slider-length)
returns: see below
returns the length in pixels of the slider along its long dimension.
method: (get-spline-steps inst)
method: (send inst get-spline-steps)
returns: integer
Returns the number of steps to be used when drawing the spline.
If zero the figure is not drawn as a spline.
method: (get-start inst)
method: (send inst get-start)
returns: see below
Returns the position in degrees where the arc begins.
method: (get-stipple inst)
method: (send inst get-stipple)
returns: see below
(unimplemented)
(currently unimplemented)
(currently unimplemented)
method: (get-string inst)
method: (send inst get-string)
returns: string
returns the contents of the entry as a Scheme string.
method: (get-string inst index1 index2)
method: (send inst get-string index1 index2)
returns: see below
Returns the string defined by the range index1 index2.
method: (get-style inst)
method: (send inst get-style)
returns: see below
Returns a list of the other properties ( normal,
bold, roman, italic,
underline, or overstrike)
requested when the instance was created.
Returns a symbol describing how the arc is displayed.
The value returns is either arc, chord, or pieslice.
method: (get-tabs inst)
method: (send inst get-tabs)
returns: see below
Returns a list of the default tab stops in effect for this text widget.
Returns a list of the tab stops in effect for text with this markup
or #f if none.
method: (get-title inst)
method: (send inst get-title)
returns: see below
Returns the string, <bitmap>, or <photo> displayed by the widget.
Always the empty string for separator-menu-items.
Returns the string displayed by the widget.
Returns the string displayed by the toplevel when it is not iconified.
Returns the string displayed by the figure.
method: (get-transient inst)
method: (send inst get-transient)
returns: see below
Returns the <toplevel> for which this <toplevel> is serving
as a transient, or #f if none.
method: (get-traversal-background-color inst)
method: (send inst get-traversal-background-color)
returns: see below
Returns the color for the traversal highlight region when the widget
does not have input focus.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-traversal-color inst)
method: (send inst get-traversal-color)
returns: see below
Returns the color for the traversal highlight region when the widget
has input focus.
The value returned is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-traversal-thickness inst)
method: (send inst get-traversal-thickness)
returns: integer
Returns the width in pixels of the traversal highlight region.
method: (get-trough-color inst)
method: (send inst get-trough-color)
returns: see below
Returns the color for the trough (in which the slider
of the widget moves) to val,
which is either a symbol naming a color in
/usr/lib/X11/rgb.txt or an instance of <rgb>.
method: (get-underline inst)
method: (send inst get-underline)
returns: see below
Returns a boolean indicating whether or not text with this
markup is underlined.
method: (get-underline-index inst)
method: (send inst get-underline-index)
returns: integer
Returns the zero-based index of a character to
be underline when the string is displayed.
If #f the underline is disabled.
method: (get-value inst)
method: (send inst get-value)
returns: see below
returns the current value of the scale.
method: (get-values inst)
method: (send inst get-values)
returns: see below
Returns, as multiple values, the family, size, and style
requested when the instance was created.
method: (get-vertical-view inst)
method: (send inst get-vertical-view)
returns: list
Returns a list of two floating-point values describing what
part of the widget's content is in view vertically.
The first number indicates what fraction of the widget's
content is out of
view to the top and the second number indicates what fraction of
the widget's content is not out of view to the bottom.
Because entries cannot be scrolled vertically, this always
returns the list (0 1) to indicate that no part of the
widget's content is out of view to the top, and all of the
content is in view above the bottom.
method: (get-view inst)
method: (send inst get-view)
returns: see below
Returns the values set in the most recent call to set-view!.
method: (get-vpad inst)
method: (send inst get-vpad)
returns: see below
Returns in pixels the extra vertical distance to add around
the widget.
method: (get-vscroll-increment inst)
method: (send inst get-vscroll-increment)
returns: integer
Returns the value set by set-vscroll-increment!.
method: (get-vscroll-notify inst)
method: (send inst get-vscroll-notify)
returns: see below
Returns the procedure (or #f if none) that is notified when
the vertical view or content of the widget is changed.
Returns the procedure (or #f if none) that is notified when
the vertical view or content of the widget is changed.
method: (get-width inst)
method: (send inst get-width)
returns: integer
Returns the width, in pixels, of the given image.
Returns the width in pixels of the sub-window.
Returns the width of the canvas text used in line breaking.
Returns the current width, in pixels, of the widget.
method: (get-width/char inst)
method: (send inst get-width/char)
returns: integer
Returns the width of the widget in characters.
If zero then the widget is determining its own size.
method: (get-window inst)
method: (send inst get-window)
returns: see below
Returns the widget placed on the canvas in this sub-window.
method: (get-wrap inst)
method: (send inst get-wrap)
returns: see below
Returns a symbol indicating how long lines are wrapped.
Returns a symbol indicating how long lines are wrapped, or #f if
none.
method: (get-wrap-length inst)
method: (send inst get-wrap-length)
returns: integer
Returns the wrap limit for the widget. See set-wrap-length!.