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).
Activate menu.
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.
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>.
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.
Returns a list of the coordinates giving the bounding box of this figure on the canvas.
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.
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.
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.
De-selects the item at the given index
De-selects the items between index1 and index2 inclusive
When resized, a widget is notified of its width and height by this method.
Returns true if the insertion cursor is at the beginning of the text buffer.
Moves the insertion cursor to the beginning of the line.
Moves the insertion cursor to the beginning of the entry.
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.
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.
Moves the insertion cursor to the end of the line.
Moves the insertion cursor to the end of the entry.
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.
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).
Deactivates the menu item.
Deactivate menu.
Deletes the character at index1.
Deletes the item with index item. deletes the character if any at index first in the entry.
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).
Deletes all characters in the widget.
deletes all the items in the listbox. Deletes all characters in the widget.
Deletes the characters between the cursor position and the given displacement.
Deletes the character at the given offset in the <entry>.
Deletes characters from current cursor position to the end of the line.
Deletes characters from current insert position to end of line.
Deletes the selected text, if any, surrounding the cursor.
Deletes the selected text, if any, surrounding the cursor.
deselects the widget.
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.
Returns the topmost canvas item closest to the canvas coordinates x and y or #f if none.
Returns a list of the items completely enclosed by the rectangular region defined by x1, y1, x2, and y2.
Returns the canvas item above or below item in the display list or #f if none. relpos is either above or below.
Returns a list of the items overlapped by the rectangular region defined by x1, y1, x2, and y2.
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.
flashes the button briefly. expect this to go away.
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.
Set keyboard focus to the widget after who.
Set keyboard focus to the widget before who.
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.
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!.
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>.
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>.
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>.
Returns, as multiple values, the actual family, size, and style used by the display engine when rendering this font.
Returns a symbol describing where information in the widget is displayed.
Returns a symbol describing where the figure is displayed relative to its coordinates.
Returns a list of three numbers describing the shape of the arrowhead see set-arrow-shape! for details.
Returns a symbol describing where on the line the arrowheads should be drawn.
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.
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>.
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.
Returns #f if the entry displays its contents without translation else returns the character used in the translation. (see set-blank!)
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.
Returns a symbol describing how caps are drawn at the endpoints of the line.
Returns the character at cursor position or #f if none but does not advance the cursor.
Returns the character at index, #f if none.
Returns a floating-point value indicating how close the mouse cursor must be before it is considered to be inside an item.
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!.
Returns a list of the coordinates defining the canvas figure.
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.
Returns a base64-encoded string representing the image data.
No idea if this will really work reliably.
Returns the height, in pixels, that the widget requests from its window manager.
Returns the width, in pixels, that the widget requests from its window manager.
Returns the destroy request handler for this toplevel window.
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.
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>.
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>.
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.
Returns a boolean that indicates whether or not the outline of the figure is drawn as a spline.
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.
Returns a boolean that indicates whether or not selection in the widget is also the X selection.
Returns the extent in degrees of the arc.
Returns the family requested when the instance was created.
Returns the name of the file associated with the <photo>.
Returns the name of the file associated with the instance.
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>.
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.
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>.
Returns a string describing the current geometry of the toplevel.
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.
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.
Returns the height of the widget in lines of text. If zero then the widget is determining its own size.
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.
Returns in pixels the extra horizontal distance to add around the widget.
Returns the value set by set-hscroll-increment!.
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.
Returns the string displayed by the toplevel when it is iconified.
Returns the image to displayed by this canvas item.
Returns the width in pixels of the 3-D border drawn around the insertion cursor for the widget.
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>.
Returns the number of milliseconds the insertion cursor for this widget will be hidden during each blink cycle.
Returns the number of milliseconds the insertion cursor for this widget will be visible during each blink cycle.
Returns the width in pixels of the insertion cursor for the widget.
Returns the string in the listbox at the given index.
Returns a list of canvas items contained in this canvas.
Returns a symbol describing how the joints between line segments are drawn.
Returns a boolean that indicates whether or not the scrollbar waits until it is released before notifying the associated widget.
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.
returns the method that is notified when a key is pressed while the mouse is over a range of text with this markup.
returns the method that is notified when a key is released while the mouse is over a range of text with this markup.
Returns the left margin in pixels for text with this markup, or #f if none.
returns the length in pixels of the long dimension of the scale.
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.
Returns the thickness in pixels of the outline drawn around the figure.
Returns the thickness in pixels of the outline drawn around the figure.
No idea if this will really work reliably.
returns the high value of the range represented by the scale.
returns multiple values corresponding to the arguments to set-max-size!
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.
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.
returns the low value of the range represented by the scale.
returns multiple values corresponding to the arguments to set-min-size!
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!.
returns the procedure that is notified when the mouse enters a range of text with this markup.
returns the procedure that is notified when the mouse leaves a range of text with this markup.
returns the procedure that is notified when the mouse moves over a range of text with this markup.
returns the procedure that is notified when a mouse button is pressed over a range of text with this markup.
returns the procedure that is notified when a mouse button is released over a range of text with this markup.
The behavior when the list is mutated is undefined.
Returns the orientation of the widget, either horizontal or vertical.
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>.
Indicates whether this toplevel window is to be ignored by the window manager (ie. displayed without decorative border, etc.).
Returns a boolean indicating whether or not text with this markup is overstricken.
Returns the number of pixels that the first line of a paragraph with this markup is indented, or #f if none.
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.
Returns a pair containing the current line and character position of the mark.
A warning is signaled in the latter case.
Returns the preferences key for this menu item.
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.
Returns the number of milliseconds a button or key must be held down before it begins to autorepeat.
Returns the number of milliseconds to delay between auto-repeats.
returns multiple values corresponding to the arguments to set-resizable!
returns the resolution of the scale's value.
Returns the right margin in pixels for text with this markup, or #f if none.
Returns the x-coordinate of the widget relative to the root window.
Returns the y-coordinate of the widget relative to the root window.
returns, as a Scheme string, the text preserved by save-text! this is the yank operation.
Returns a list of the coordinates defining the boundary of the information on the canvas.
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>.
Returns the width in pixels of the raised 3-D border drawn around selected items.
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!).
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>.
Returns the image displayed when this item is selected.
Returns the image displayed when this item is selected.
Returns a symbol describing the current selection mode. See set-select-mode! for more details.
Returns the selected status of the item.
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.
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.
Returns the string selected in the entry or #f if none. Very tempted to eliminate this
returns a boolean indicating whether or not the scale shows its current value beside the slider.
Returns the size requested when the instance was created. Positive values indicate size in points; negative values indicate size in pixels.
returns the size of the skips made when the scale is clicked on in a way that jumps.
returns the length in pixels of the slider along its long dimension.
Returns the number of steps to be used when drawing the spline. If zero the figure is not drawn as a spline.
Returns the position in degrees where the arc begins.
(unimplemented)
(currently unimplemented) (currently unimplemented)
returns the contents of the entry as a Scheme string.
Returns the string defined by the range index1 index2.
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.
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.
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.
Returns the <toplevel> for which this <toplevel> is serving as a transient, or #f if none.
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>.
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>.
Returns the width in pixels of the traversal highlight region.
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>.
Returns a boolean indicating whether or not text with this markup is underlined.
Returns the zero-based index of a character to be underline when the string is displayed. If #f the underline is disabled.
returns the current value of the scale.
Returns, as multiple values, the family, size, and style requested when the instance was created.
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.
Returns the values set in the most recent call to set-view!.
Returns in pixels the extra vertical distance to add around the widget.
Returns the value set by set-vscroll-increment!.
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.
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.
Returns the width of the widget in characters. If zero then the widget is determining its own size.
Returns the widget placed on the canvas in this sub-window.
Returns a symbol indicating how long lines are wrapped.
Returns a symbol indicating how long lines are wrapped, or #f if none.
Returns the wrap limit for the widget. See set-wrap-length!.
Returns the offset of this mark (in character positions) from the start the line.
Returns the distance of this mark (in lines) from the beginning of the text widget.
Withdraws the window from the display so that it is completely hidden. If unreachable, a toplevel may be collected while hidden.
Makes the canvas item invisible. Removes the widget from the screen. Due to the current order dependency of show the widget may not appear at the same place when subsequently redisplayed via show. This is soon to be changed.
Scrolls the view in the widget horizontally. If qualifier is fraction, then n indicates what fraction of the widget contents should be moved out of view to the left. Otherwise, n is an integer indicating how many pages or units to scroll (negative values scroll left, positive scroll right), and qualifier is either pages, or units (characters).
Scrolls the view in the widget horizontally. If qualifier is fraction, then n indicates what fraction of the widget contents should be moved out of view to the left. Otherwise, n is an integer indicating how many pages or units to scroll (negative values scroll left, positive scroll right), and qualifier is either pages, or units (pixels).
Removes the window from the display and shows it instead as an icon. The show method can be used to reverse the process. Note that iconify differs from hide in that the latter removes all traces of the window from the screen while the former leaves behind an icon.
When creating a polygon, at least six numbers must be given defining the vertices of the polygon. Additional coordinates specify additional vertices.
When creating a line, at least four numbers must be given defining the endpoints of the line. Additional coordinates specify endpoints of connecting line segments.
Initializes the instance.
To prevent widgets from being prematurely garbage-collected, this method must be called when a widget is first created. The create macro does this automatically. Classes derived from <tk-widget> can redefine init to add additional initialization code, but the subclass's init method should first call the base init method. To prevent widgets from being prematurely garbage-collected, this method must be called when a widget is first created. The create macro does this automatically. Classes derived from <tk-widget> can redefine init to add additional initialization code, but the subclass's init method should first call the base init method.
Initializes the instance.
Initializes the instance. Initializes the instance. Initializes the instance.
Initializes the instance.
Initializes the instance.
Two numbers must be given when creating an instance of this class.
When creating an instance of this class four numbers must be given defining the top-left and bottom-right coordinates of a rectangular region enclosing the figure.
Inserts the given strings just before the item at the position given by index.
Inserts the given character, string, or widget at the current cursor position, and ensures that the cursor is visible on-screen.
inserts the given character or string at the current position of the insertion cursor in the entry.
Inserts the string s just before the item at the position given by index.
Inserts given character, string, or widget just before index. (no attempt is made to ensure that the newly inserted text is visible)
inserts the given character or string at the position given by index.
Quick and dirty first stab at permitting embedded windows in a text widget. No idea yet how this will affect the event-case stuff.
Invokes the action bound to this widget.
Invokes the action (if any) associated with this widget by set-action! as if the widget had been pressed or clicked. (This also seems of limited use)
Invokes the menu action.
Invokes the menu action. Invokes the menu action.
Returns the total number of elements in the listbox.
A button executes its action when space or return is pressed.
Entries have the following default behaviors. When newline or return is pressed, the action specified by set-action! is performed. When shift-left or shift-right is pressed, the selection is extended in the direction indicated. When a key is pressed, this method notifies the widget that has input focus with a description of the key and any modifiers in effect at the time. key is either a Scheme character or symbol. modifiers describes the states of mouse-buttons and special keys when the event happened. For more details see the description of event-case.
this method is called to notify the markup that the specified key has been pressed with the modifiers mods while the mouse is over a range of text with this markup
This method notifies a widget that the given key has been released with modifiers in effect. (See key-press)
this method is called to notify the markup that the specified key has been released with the modifiers mods while the mouse is over a range of text with this markup
Returns a new pair scheme(column . line) that refers to the end of the line containing position pos. pos is either a pair or an instance of <fixed-mark> or <floating-mark>.
Returns the index of the end of the widget contents.
Returns a new pair scheme(column . line) that refers to the beginning of the line containing position pos. pos is either a pair or an instance of <fixed-mark> or <floating-mark>.
Returns zero, the index of the start of the line within the widget.
returns a list of all markups applied in the text widget
load-prefs fetches the global preferences stored under this tag and installs the 'prefs property which indicates that this widget is the root of the preference tree. Children of this widget delegate to this widget to manage their preferences.
Lowers this figure in the display list of the canvas.
Lowers a widget to the bottom of the Z-order so that any widgets overlapping it now obscure it.
Lowers this figure above the given figure in the display list of the canvas.
Ensures that the text at the given index is visible on screen
Scrolls the element given by index into view. Ensures that the text at the given index is visible on screen
Returns a list of positions describing ranges in the text where this markup is applied, or an empty list if none. If a non-empty list is returned, every pair of elements describes the start and end position of a range with this markup. The end positions indicate the place just after the last marked character in each range.
Lowers the given markup to the bottom of the markup stacking order. Stacking order determines which characteristics of markups obscure those of other markups covering the same range.
Raises the given markup to the top of the markup stacking order. Stacking order determines which characteristics of markups obscure those of other markups covering the same range.
returns a list of the markups at a given position
When the mouse enters a widget, this method is invoked with the x- and y-coordinates within the widget and the set of modifiers describing the state of the mouse buttons and keys such as shift and control. For more details see the description of event-case.
this method is called to notify the markup that the mouse has entered a range of text with this markup in the widget text at coordinates x, y, with modifiers mods.
This method is invoked with the x- and y-coordinates and the set of modifiers describing the state of the mouse-buttons and modifier keys when the mouse left the widget.
this method is called to notify the markup that the mouse has left a range of text with this markup in the widget text at coordinates x, y, with modifiers mods.
This method is invoked with the x- and y-coordinates of the mouse and the state of the modifiers whenever the mouse is moved within a widget.
this method is called to notify the markup that the mouse has moved over a range of text with this markup in the widget text at coordinates x, y, with modifiers mods.
Because the indicator provides visual feedback, we don't change the relief when a fancy button is pressed.
When a mouse button is pressed within a widget, this method is invoked with the x- and y-coordinates and the state of the modifier keys and mouse-buttons. (See event-case)
this method is called to notify the markup that a mouse button has been clicked over a range of text with this markup in the widget text at coordinates x, y, with modifiers mods.
When a mouse button is released in a widget, this method is invoked with the x- and y-coordinates and the state of the modifier keys and mouse-buttons. (See event-case)
this method is called to notify the markup that a mouse button has been released over a range of text with this markup in the widget text at coordinates x, y, with modifiers mods.
move the figure by the specified x and y amounts (positive or negative).
Advances the cursor offset characters, going to the next line if there are not enough characters to satisfy offset on the current line. Negative offsets are allowed.
Advances the cursor offset characters. If there are not enough characters to satisfy offset then the cursor is left at one end of the entry. Negative offsets are allowed.
Advances the cursor offset lines. The resulting cursor position is the minimum of the current character (col) position and the length of the line we end up on. Negative offsets are allowed.
Moves the cursor by disp lines. Negative displacements allowed.
scrolls the view in the widget horizontally so that the character at index is displayed at the left edge of the window.
scrolls the view in the widget horizontally so that the character at index is displayed at the left edge of the window. scrolls the view in the widget horizontally so that the character at index is displayed at the left edge of the window.
scrolls the view in the widget vertically so that the line containing index is displayed at the top edge of the window.
scrolls the view in the widget vertically so that the character at index is displayed at the top edge of the window.
Intended to advance the cursor offset words. A word is currently a sequence of letters, digits or underscores. Negative offsets move to the start of the current word (to left of cursor). Positive offsets move to the end of the current word (to right of cursor).
Adds thunk to a list of procedures to be invoked when the widget is actually destroyed. In particular, these procedures are not invoked if the destroy-request-handler returns #f.
Returns #t if position of index1 is less than or equal to the position of the insertion cursor, else returns #f.
Returns #t if position of index1 is less than or equal to the position of the insertion cursor, else returns #f.
Returns #t if position of index1 is less than or equal to index2, else returns #f.
Returns #t if position of index1 is less than or equal to index2, else returns #f.
Returns #t if position of index is between index1 and index2 (inclusive), else returns #f.
Returns #t if position of index1 is less than the position of the insertion cursor, else returns #f.
Returns #t if position of index1 is less than the position of the insertion cursor, else returns #f.
Returns #t if position of index1 is less than index2, else returns #f.
Returns #t if position of index1 is less than index2, else returns #f.
Returns #t if position of index1 is equal to the position of the insertion cursor, else returns #f.
Returns #t if position of index1 is equal to the position of the insertion cursor, else returns #f.
Returns #t if position of index1 is equal to index2, else returns #f.
Returns #t if position of index1 is equal to index2, else returns #f.
Returns #t if position of index1 is greater than or equal to the position of the insertion cursor, else returns #f.
Returns #t if position of index1 is greater than or equal to the position of the insertion cursor, else returns #f.
Returns #t if position of index1 is greater than or equal to index2, else returns #f.
Returns #t if position of index1 is greater than or equal to index2, else returns #f.
Returns #t if position of index1 is greater than the position of the insertion cursor, else returns #f.
Returns #t if position of index1 is greater than the position of the insertion cursor, else returns #f.
Returns #t if position of index1 is greater than index2, else returns #f.
Returns #t if position of index1 is greater than index2, else returns #f.
generate Encapsulated PostScript for the canvas
(This may be enriched in the future.)
Displays a printable representation of the instance to the current output port.
Displays a printable representation of the instance to the output port op.
Raises this figure in the display list of the canvas.
Raises a widget to the top of the Z-order so that it obscures any widgets it overlaps.
Raises this figure above the given figure in the display list of the canvas.
Removes the specified widget from the list of follower widgets.
removes the given markup from the range of text beginning at index1 and ending at index2 within the text widget txt.
Returns the blue component of the color.
Returns the green component of the color.
Returns the red component of the color.
Returns the red, green, and blue components of the color.
Saves the preferences associated with this tag.
Returns the canvas x-coordinate corresponding to the given screen x-coordinate.
Returns the canvas y-coordinate corresponding to the given screen y-coordinate.
Searches text for the given pattern starting at index. options is a possibly empty list of options modifying the search: regexp, forward, backward, case-insensitive. Returns the index of the position where pattern was found, otherwise #f.
Searches text for the given pattern between index1 and index2. options is a possibly empty list of options modifying the search: regexp, forward, backward, case-insensitive. Returns the index of the position where pattern was found, otherwise #f.
selects the widget.
Selects the item at the given index
selects only those characters in the text between start and end.
Selects the only items between index1 and index2 inclusive Selects the characters starting at start up to but not including the character before end. Characters already selected before this method was called remain selected only if they are in the new range.
Returns true if the item at the given index is selected, false otherwise.
returns true if anything in the entry is selected.
returns true if anything in the entry is selected.
Sets in pixels the amount of extra space to insert above each paragraph in the text.
Sets in pixels the amount of extra space to insert above each paragraph in the text. (#f cancels the extra space for this markup)
The boolean val determines wether or not this widget accepts focus when offered by the keyboard traversal mechanism. Keyboard traversal allows the user to move input focus between neighboring widgets by pressing Tab and Shift-Tab.
val specifies a procedure to be called when the value of the scale is changed. The procedure is passed two arguments: the instance and the current value of the scale.
val specifies a procedure to be called when the widget is activated by clicking or dragging the mouse or by pressing the arrow keys when the widget has keyboard focus.For instances of <scale> the procedure is passed two arguments: the instance and the current value of the scale.
For instances of <scrollbar> the procedure is passed the instance and two additional arguments matching the arguments of the hscroll and vscroll methods of the various scrollable widgets.
val specifies a procedure of no arguments to be called when the widget is activated by clicking the mouse or by pressing Return or Space when the widget has keyboard focus. val specifies a procedure of one argument (self) to be called when the left mouse button is released over this menu item or when Return or Space are pressed when this item has keyboard focus. Action procedures of toggles like radio-menu-items and check-menu-items should query the state of self, using the get-selected method, to determine how to proceed. The action procedure is invoked as notification that the state may have changed. The procedure should rely on the state within the menu item and not maintain its own state. This helps with the automatic preferences enabling code. val is a procedure of one argument (self) evaluated for effect when return or newline is pressed in an <entry>.
Sets the foreground color used when the mouse cursor is over the widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the background color used when the mouse cursor is over the widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the background color used when the mouse cursor is over the widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the background color used when the mouse cursor is over the widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the background color used when the mouse cursor is over the widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the foreground color used when the mouse cursor is over the widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the foreground color used when the mouse cursor is over the widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the foreground color used when the mouse cursor is over the widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the foreground color used when the mouse cursor is over the widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Determines where information in the widget is displayed. Legal values are n, s, e, w, ne, se, sw, nw, and center.
Determines where the figure is displayed relative to its coordinates. Legal values are n, s, e, w, ne, se, sw, nw, and center.
Sets the shape of the arrowheads drawn on the line. inner-length gives the distance along the line from the tip of the arrow head to its neck, outer-length gives the distance along the line to which the wide part of the arrowhead should extend, and flair describes how far out from the line the wide part of the arrowhead should extend.
Determines where the arrowheads are drawn. val is either none, first, last, or both.
Constrains the aspect ratio for this toplevel to lie between min and max which are both ratios of width to height. If min and max are both #f, then any existing contraint on the aspect ratios is cancelled.
Sets the default background color for the instance to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the default background color for the instance to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the background color for text with this markup to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt, an instance of <rgb>, or #f which cancels the effect of this markup on background color. Sets the background color for the bitmap to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the default background color for the instance to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets in pixels the amount of extra space to insert below each paragraph in the text.
Sets in pixels the amount of extra space to insert below each paragraph in the text. (#f cancels the extra space for this markup)
If val is a character, then the contents of the widget are displayed using only that character (e.g. for passwords). The default is #f indicating that the contents should be displayed without translation.
Sets the width in pixels of the border drawn around text with this markup, or cancels the border if #f.
Sets the width in pixels of the border drawn around the instance.
Determines how caps are drawn at the endpoints of the line. val is either butt, projecting, or round.
val determines how close the mouse cursor must be before it is considered to be inside an item.
val is a boolean that determines whether or not the canvas is prevented from scrolling the view of the canvas outside the region defined by set-scroll-region!.
Sets the coordinates of the polygon to x1, y1, x2, y2, x3, y3, etc.
Sets the coordinates for the line to x1, y1, x2, y2, etc.
Sets the coordinates of the anchor for this figure to x1, y1.
Sets the coordinates defining the figure to x1, y1, x2, y2.
Sets the insertion cursor position within the widget Note: the cursor position can't be set outside the bounds of the text in the widget. Attempts to do so place the cursor at the point in the text closest to the target index. For example, setting cursor position to line 7 char 4000 when line 7 doesn't have 4000 chars will put the cursor at line 8 char 0.
Positions the listbox cursor at the index pos (zero-based). sets the position of the insertion cursor within the widget. If index is outside the bounds of the text displayed in the widget, the cursor is placed at the point in the text closest to the target index.
Sets the bitmap data to be displayed by this <photo>. The string data should be base64-encoded GIF or PBM data. ( The swl:base64-encode procedure in the swl:base64 module can be used to encode the data for consumption by the underlying Tk library.)
Sets the bitmap data to be displayed by this <bitmap>. The string data should be in the format of an X11 bitmap file (a stylized C program).
Installs a new destroy request handler for this toplevel window. When a destroy request is received, proc is invoked and passed this toplevel as an argument. If proc returns #f, then the destroy request is refused. Otherwise the toplevel is destroyed.
Sets 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.
Sets the background color used when the widget is disabled to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the foreground color used when the widget is disabled to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the foreground color used when the widget is disabled to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the foreground color used when the widget is disabled to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the foreground color used when the widget is disabled to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
val is a boolean value determining whether or not the state of the widget is indicated by drawing a small square or diamond filled or not filled with the select color (see set-select-color!).
val is a boolean value determining whether or not the state of the item is indicated by drawing a small square or diamond filled or not filled with the select color (see set-select-color!).
val is a boolean that determines whether or not the outline of the figure is drawn as a spline.
val is a boolean value indicating whether or not the widget is enabled and responsive to user interaction.
val is a boolean value indicating whether or not the widget is enabled and responsive to user interaction. val is a boolean value indicating whether or not the widget is enabled and responsive to user interaction. val is a boolean value indicating whether or not the widget is enabled and responsive to user interaction.
val is a boolean value that determines whether or not selection in the widget should also be the X selection. When #t selecting in the widget deselects the current X selection and vice versa.
Sets the extent in degrees of the arc.
Unfortunately the Tk documentation is pretty sketchy about photo support, so it is only possible to specify image data via filename at present.
Set the image filename.
Sets the color with which the interior of the figure is filled. val is either the symbol transparent, a symbol naming a color in rgb.txt, or an instance of <rgb>.
Sets the color with which the interior of the figure is filled. val is either the symbol transparent, a symbol naming a color in rgb.txt, or an instance of <rgb>. Sets the color with which the interior of the figure is filled. val is either the symbol transparent, a symbol naming a color in rgb.txt, or an instance of <rgb>.
Gives this widget keyboard focus: all key-press / key-release events are directed to this widget until the focus is set to some other widget via the keyboard traversal mechanism or via the set-focus method.
Sets the default font for text displayed by the scale. val is an instance of <font> (see the description of the make-font macro). This affects the display of the scale's value.
Sets the font for text displayed in the widget. val is an instance of <font> (see the description of the make-font macro). Sets the font for text displayed in the widget. val is an instance of <font> (see the description of the make-font macro). Sets the font for text displayed in the widget. val is an instance of <font> (see the description of the make-font macro). Sets the font for text with this markup. val is an instance of <font> (see the description of the make-font macro) or #f which cancels the effect of this markup on font. Sets the font for the text displayed. val is an instance of <font> (see the description of the make-font macro).
Sets the default foreground color for the scale to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the foreground color for the instance to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the foreground color for the instance to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the foreground color for the instance to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. Sets the foreground color for text with this markup to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt, an instance of <rgb>, or #f which cancels the effect of this markup on foreground color. Sets the foreground color for the bitmap to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the geometry for this toplevel to the width, height, and/or screen position specified by the string geom which has the general form "widthxheight+x+y". Either width and height or x and y may be omitted. A + before x (y) designates x (y) as a pixel offset from the left (top) of the screen to the left (top) edge of the window. If x (y) is preceded by - instead of +, it indicates a pixel offset from the right (bottom) of the screen to the right (bottom) edge of the window. If geom is #f instead of a string, the geometry of the window reverts to the size requested internally by the widgets it contains.
val is a boolean determining 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. The default is #f.
val is a boolean determining whether or not the listbox should strive to keep its dimensions in even multiples of the dimensions of a character in its current font. The default is #f.
It is not presently possible to set the height of this widget in pixels. See set-height/char!.
Sets the height in pixels of the sub-window. Sets the height in pixels of the widget.
Sets the height of the widget in lines of text. The default is zero indicating the widget should size itself.
Specifies in pixels the extra horizontal distance to add around the widget.
Constrains horizontal scrolling so that the x-coordinate at the left edge of the widget is an even multiple of val pixels. The hscroll method will scroll by val pixels when scrolling by units. If val is zero, scrolling is unconstrained.
Specifies a procedure to be invoked when the horizontal view or content of the widget changes. The procedure is passed two numbers between 0 and 1 indicating what fraction of the widget's content is to the left of the first position in the widget, and what fraction is to the left of the end position of the widget. Thus, 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.
If val is #f, then the existing notify action is cancelled.
Specifies a procedure to be invoked when the horizontal view or content of the widget changes. The procedure is passed two numbers between 0 and 1 indicating what fraction of the widget's content is to the left of the first position in the widget, and what fraction is to the left of the end position of the widget. Thus, 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.If val is #f, then the existing notify action is cancelled.
Sets the text displayed by the toplevel when it is iconified to the string given by val.
Sets the image to display in this canvas item to val which should be an instance of <bitmap> or <photo>.
Sets the width in pixels of the 3-D border drawn around the insertion cursor for the widget.
Sets the color for the insertion cursor of the widget widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Specifies the number of milliseconds the insertion cursor for this widget will be hidden during each blink cycle.
Specifies the number of milliseconds the insertion cursor for this widget will be visible during each blink cycle.
Sets the width in pixels of the insertion cursor for the widget.
Determines how the articulations between line segments are drawn. val is either bevel, miter, or round. The difference is only appreciable for thick lines.
val is a boolean that determines whether or not the scrollbar waits until it is released before notifying the associated widget. The default is #f meaning that controlled widgets are continuously notified as the scrollbar is dragged.
Determines how lines are to be justified when multiple lines are displayed. Legal values are left, right, and center.
val must be left, right, or center. This determines where the the insertion cursor begins and how the text is displayed when it all fits in the widget. Determines how lines are to be justified when multiple lines are displayed. Legal values are left, right, and center.
specifies a procedure to be called when a key is pressed while the mouse is over a range of text with this markup. val is a procedure of four arguments: self, text, key, and mods. The first two correspond to the markup and the particular text that generated the event, and the latter two are suitable for use with event-case. Note that the text widget is also notified of the key-press event.
specifies a procedure to be called when a key is released while the mouse is over a range of text with this markup. val is a procedure of four arguments: self, text, key, and mods. The first two correspond to the markup and the particular text that generated the event, and the latter two are suitable for use with event-case. Note that the text widget is also notified of the key-release event.
Determines the left margin in pixels for text other than the first line of a paragraph with this markup. If val is #f, this markup will have no effect on left margin.
sets the length in pixels of the long dimension of the scale.
Sets in pixels the amount of extra space to insert between each line in the text.
Sets in pixels the amount of extra space to insert between each line in the text. (#f cancels the extra space for this markup)
Sets the thickness in pixels of the outline drawn around the figure.
Sets the thickness in pixels of the outline drawn around the figure.
Sets the mask bitmap for this <bitmap>. The string should be in the format of an X11 bitmap file (a stylized C program).
sets the high value of the range represented by the scale to the integer or floating point number val.
Sets the maximum size for this toplevel to width and height. See also 3.
Sets the menu to be posted when this item is chosen to menu which must be an instance of <menu>.
Sets the menu for this toplevel window.
Sets the list of menu items to ls. Menu contents can be manipulated with all the list-processing tools available in Scheme. It is undefined what happens when the list contains duplicates. The list must contain only menu items.
sets the low value of the range represented by the scale to the integer or floating point number val.
Sets the minimum size for this toplevel to width and height. See also 3.
Sets the mouse cursor to be displayed when the mouse pointer is in the widget. val is either a symbol naming a standard X cursor in cursorfont.h or a list of two or three items where the first is a symbol as before and the other items are colors specifying the foreground and (if present) background color for the cursor.
specifies a procedure to be called when the mouse enters a range of text with this markup. val is a procedure of five arguments: self, text, x, y, and mods. The first two correspond to the markup and the particular text that generated the event, x and y are the coordinates of the mouse within the text widget, and mods is suitable for use with event-case. Note that the text widget is also notified of the mouse-enter event. There seems to be an underlying Tk bug that makes the mouse button modifiers unavailable for mouse-enter and mouse-leave events. The keyboard modifiers are unaffected.
specifies a procedure to be called when the mouse leaves a range of text with this markup. val is a procedure of five arguments: self, text, x, y, and mods. The first two correspond to the markup and the particular text that generated the event, x and y are the coordinates of the mouse within the text widget, and mods is suitable for use with event-case. Note that the text widget is also notified of the leave event. There seems to be an underlying Tk bug that makes the mouse button modifiers unavailable for mouse-enter and mouse-leave events. The keyboard modifiers are unaffected.
specifies a procedure to be called when the mouse moves over a range of text with this markup. val is a procedure of five arguments: self, text, x, y, and mods. The first two correspond to the markup and the particular text that generated the event, x and y are the coordinates of the mouse within the text widget, and mods is suitable for use with event-case. Note that the text widget is also notified of the mouse-motion event.
specifies a procedure to be called when a mouse button is pressed over a range of text with this markup. val is a procedure of five arguments: self, text, x, y, and mods. The first two correspond to the markup and the particular text that generated the event, x and y are the coordinates of the mouse within the text widget, and mods is suitable for use with event-case. Note that the text widget is also notified of the mouse-press event.
specifies a procedure to be called when a mouse button is released over a range of text with this markup. val is a procedure of five arguments: self, text, x, y, and mods. The first two correspond to the markup and the particular text that generated the event, x and y are the coordinates of the mouse within the text widget, and mods is suitable for use with event-case. Note that the text widget is also notified of the mouse-release event.
ls is a list of strings or pairs whose car is a string and whose cdr is a procedure of no arguments
Specifies the desired orientation of the widget. val is either horizontal or vertical.
Sets the color in which the outline of the figure is drawn. val is either a symbol naming a color in rgb.txt or an instance of <rgb>.
Sets the color in which the outline of the figure is drawn. val is either a symbol naming a color in rgb.txt or an instance of <rgb>.
If set to true, this toplevel will be ignored by the window manager (ie. no decorative border will be drawn, etc.). Changes in this setting may not take effect until with toplevel is hidden and shown.
Determines whether or not text with this markup is overstricken.
Determines the left margin in pixels for the first line of a paragraph with this markup. If val is #f, this markup will have no effect on indent.
Associates the value val with preference key.
Sets the preferences key for this menu item. When set, the set-selected! method stores the current state in the preferences cache for the current application. When set, the applications preferences must already have been loaded (via load-prefs) before set-selected! is called. Saved preferences override settings installed by set-selected! until the menu item is actually installed in a menu that is attached to a window.
Load preferences identified by the given tag. This simply enables us to use the (prefs-tag: ...) syntax with the create macro. This must be set before we set the menu: option.
Determines how the border of the affected region of text is drawn. Legal values are flat, sunken, raised, ridge, groove, and #f which cancels the effect of this markup on relief. See also set-border-width!. Note: If the widget border width is set to zero, setting relief will have no visible effect.
Determines how the border of the widget is drawn. Legal values are flat, sunken, raised, ridge, groove. See also set-border-width!. If the widget border width is set to zero, setting relief will have no visible effect.
Sets the number of milliseconds a button or key must be held down before it begins to autorepeat.
Sets the number of milliseconds to delay between auto-repeats.
width and height are boolean values that determine whether the toplevel can be resized interactively along those dimensions. set-min-size! and set-max-size! have no effect on dimensions for which resizing has been prohibited.
sets the resolution of the scale's value to val. If greater than zero, the value of the scale will be rounded to an even multiple of val.
Determines the right margin in pixels for text with this markup. If val is #f, this markup will have no effect on right margin.
records the given string as the saved text to be restored by a yank.
The region defined by x1, y1, x2, and y2 is taken to be the boundary of the information on the canvas.
Sets the background color for selected items in the widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the width in pixels of the raised 3-D border drawn around selected items. Setting to zero effectively disables the 3-D effect.
Sets the color used to show when the widget is selected. If the indicator is drawn (see set-draw-indicator!) it is filled with this color when the widget is selected, otherwise this color is used as the background color for the widget when selected. val is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. The color is red.
Sets the color used to show when the item is selected. If the indicator is drawn (see set-draw-indicator!) it is filled with this color when the item is selected, otherwise this color is used as the background color for the item when selected. val is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. The color is red. Sets the color used to show when the item is selected. If the indicator is drawn (see set-draw-indicator!) it is filled with this color when the item is selected, otherwise this color is used as the background color for the item when selected. val is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>. The color is red.
Sets the foreground color for selected items in the widget to val, which is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the image to be displayed when this item is selected.
Sets the image to be displayed when this item is selected.
val is either single, browse, multiple, or extended determining how items in the listbox can be selected. When the select mode is single or browse at most one item can be selected at a time. Multiple items can be selected when the select mode is multiple or extended. In multiple mode, the selected state of an item is toggled. The selection can be dragged in browse and extended modes.
Marks this item selected so that its selector is drawn.
val is a boolean indicating whether or not the scale should show its current value beside the slider.
sets the size of the skips made when the scale is clicked on in a way that jumps.
sets the length of the slider along its long dimension to val pixels.
Sets the number of steps to use when drawing the spline. If zero the figure is not drawn as a spline otherwise a spline is drawn for every pair of line segments using val segments for every pair
Sets the position in degrees where the arc begins.
(unimplemented)
(currently unimplemented) (currently unimplemented)
Determines how the arc is displayed. val is either arc, chord, or pieslice.
This sets the default tab stops for this text widget to those supplied by the list of <tab-stop> instances. Four kinds of tabs are supported: left aligned, right aligned, centered, and numeric. (See the tab-stops macro.) Note that markups may be applied to alter tab stops within a particular region.
This sets the tab stops for regions of text bearing this markup to those supplied by the list of <tab-stop> instances, or cancels tab settings for this markup if #f. Four kinds of tabs are supported: left aligned, right aligned, centered, and numeric. (See the tab-stops macro.)
Sets the content displayed by the widget to the string, <bitmap>, or <photo> given by val.
Sets the text displayed by the menu item to the string or image supplied as val. If val is a pair, then the first element (a string or image) is displayed as the title and the second (a string) is displayed at the right side of the menu item (eg. to show a keyboard short-cut). If the title contains an underscore character, the following character is displayed with an underline. (There is no escape for this yet.) The underlined characters in the titles of menu items in a <toplevel> widget's menu bar indicate keys that can be pressed with the Alt key to post the corresponding menus. See the menu tutorial for an example. Sets the text displayed by the toplevel when it is not iconified to the string given by val. Sets the string displayed by the figure.
If master is another <toplevel>, then this toplevel becomes a transient serving master. Window managers often display transients with less decoration and manage them specially relative to the specified master. Setting master to #f cancels the transient status of the window.
Sets the color for the traversal highlight region when the widget does not have input focus. val is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the color for the traversal highlight region when the widget has input focus. val is either a symbol naming a color in /usr/lib/X11/rgb.txt or an instance of <rgb>.
Sets the width in pixels of the traversal highlight region.
Sets 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>.
Determines whether or not text with this markup is underlined.
val specifies the zero-based index of a character to be underline when the string is displayed. Set to #f to disable the underline.
sets the current value of the scale to value. The action procedure, if any, is invoked with the instance and the new value.
Sets the size and position of the scrollbar based on information from the controlled widget about what fraction of its content is out of view to the top (or left) and what fraction of its content is not out of view to the bottom or right.
Specifies in pixels the extra vertical distance to add around the widget.
Constrains vertical scrolling so that the y-coordinate at the top edge of the widget is an even multiple of val pixels. The vscroll method will scroll by val pixels when scrolling by units. If val is zero, scrolling is unconstrained.
Specifies a procedure to be invoked when the vertical view or content of the widget changes. The procedure is passed two numbers between 0 and 1 indicating what fraction of the widget's content is above the first position in the widget, and what fraction is above the end position of the widget. Thus, 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.
If val is #f, then the existing notify action is cancelled.
This method overrides the inherited method. The given value is not used for an <entry>, but is provided for compatibility with other scrollable widgets. Specifies a procedure to be invoked when the vertical view or content of the widget changes. The procedure is passed two numbers between 0 and 1 indicating what fraction of the widget's content is above the first position in the widget, and what fraction is above the end position of the widget. Thus, 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.If val is #f, then the existing notify action is cancelled.
Sets the width in pixels of the narrow dimension of the scrollbar or scale.
It is not presently possible to set the width of this widget in pixels. See set-width/char!. Sets the width in pixels of the sub-window. Lines longer than val characters will be wrapped onto the next line. If zero, lines break only where there are newline characters in the displayed string. Sets the width in pixels of the widget.
Sets the width of the widget in characters. The default is zero indicating the widget should size itself.
val is a widget to be placed on the canvas.
Determines how lines that are too long to be displayed will be wrapped. val can be either char for wrapping lines at character boundaries, word for wrapping lines a word boundaries, or none which prevents lines from being wrapped.
Determines how lines that are too long to be displayed will be wrapped. val can be either char for wrapping lines at character boundaries, word for wrapping lines a word boundaries, none which prevents lines from being wrapped, or #f which cancels the effect of this markup on text wrapping.
Lines longer than val pixels will be wrapped onto the next line. If zero, lines break only where there are newline characters in the displayed string.
Makes the toplevel visible in its usual size (deiconifies the window if necessary).
Makes the canvas item visible again after it has been hidden. Makes the widget visible in its parent. The order in which widgets are shown determines the order in which they appear in their parent.Planned revisions include eliminating this order dependency.
Returns the alignment (left, right, center, or numeric) for this tab stop.
Returns the position of this tab stop as an offset in pixels.
toggles the selection state of the button.
Returns #t if the widget is visible, #f otherwise.
Scrolls the view in the widget vertically. If qualifier is fraction, then n indicates what fraction of the widget contents should be moved out of view to the top. Otherwise, n is an integer indicating how many pages or units to scroll (negative values scroll up, positive scroll down), and qualifier is either pages, or units (characters).
Vertical scroll requests are ignored by <entry> widgets. Scrolls the view in the widget vertically. If qualifier is fraction, then n indicates what fraction of the widget contents should be moved out of view to the top. Otherwise, n is an integer indicating how many pages or units to scroll (negative values scroll up, positive scroll down), and qualifier is either pages, or units (pixels).
Returns a new pair scheme(column . line) that refers to the position of the last character of the word at position pos. pos is either a pair or an instance of <fixed-mark> or <floating-mark>.
Returns the index of the last character of the word at position pos within the widget.
Returns a new pair scheme(column . line) that refers to the position of the first character of the word at position pos. pos is either a pair or an instance of <fixed-mark> or <floating-mark>.
Returns the index of the first character of the word at position pos within the widget.
Returns the character index in the entry closest to the x-coordinate given by x.
Returns an index corresponding to the given x and y coordinate.
Returns the index of the listbox element displayed nearest to the given y-coordinate within the listbox window
Returns the menu item with this y-coordinate in the menu.