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.


My name is Hussam Elamin, though since childhood my friends have called me Sam.
I grew up in the UAE went to college in Malaysia and graduated from Leeds University with a Masters degree in Electrical and Electronics Engineering.
This site is a continuous work in progress, and with that, this page will be always expanding.
My main interest revolves mostly around technology and software . This mainly revolves around TDD, Continuous Delivery and the Software craftsmanship movement. I am an avid attender of conferences and I am always eager to learn new things.
I enjoy trying out new technologies. Here are just a few that I am interested in at the moment


|
tesseract
5.0.0-alpha-619-ge9db
|
Go to the source code of this file.
Functions | |
| void | create_fx_win () |
| void | clear_fx_win () |
| void | create_fxdebug_win () |
Variables | |
| char * | fx_debugfile = DEBUG_WIN_NAME |
| ScrollView * | fx_win |
| FILE * | fx_debug |
| void clear_fx_win | ( | ) |
Definition at line 60 of file drawfx.cpp.
| void create_fx_win | ( | ) |
Definition at line 48 of file drawfx.cpp.
| void create_fxdebug_win | ( | ) |
Definition at line 75 of file drawfx.cpp.
| FILE* fx_debug |
Definition at line 41 of file drawfx.cpp.
| char* fx_debugfile = DEBUG_WIN_NAME |
"Name of debugfile"
Definition at line 38 of file drawfx.cpp.
| ScrollView* fx_win |
Definition at line 40 of file drawfx.cpp.


Package io.permazen.core
Core classes for the Permazen Java persistence layer.
The classes in this package implement the Permazen core API. The core API layer can function
entirely independently from the annotation-based Permazen
Java object model layer;
the latter is implemented on top of these classes. In turn, the core API layer is implemented on top
of the key/value store
layer.
- See Also:
io.permazen
,io.permazen.kv
, The Permazen Project
-
Interface Summary Interface Description CreateListener Listener interface for notifications that an object has just been created.DeleteListener Listener interface for notifications that an object is about to be deleted.FieldSwitch<R> Visitor pattern interface forField
s.ListFieldChangeListener Listener interface for notifications of a change in value of aListField
.MapFieldChangeListener Listener interface for notifications of a change in value of aMapField
.SetFieldChangeListener Listener interface for notifications of a change in value of aSetField
.SimpleFieldChangeListener Listener interface for notifications of a change in value of aSimpleField
.Transaction.Callback Callback interface for notification of transaction completion events.VersionChangeListener Listener interface for notifications that an object's schema version has been changed to match the current transaction. -
Class Summary Class Description CollectionField<C extends Collection<E>,E> Superclass of fields with types assignable toCollection
.ComplexField<T> A complexField
, such as a collection or map field.CompositeIndex Represents a composite index on anObjType
.CoreIndex<V,T> Core APIIndex
implementation representing a index on a single field.CoreIndex2<V1,V2,T> Core APIIndex2
implementation representing a composite index on two fields.CoreIndex3<V1,V2,V3,T> Core APIIndex3
implementation representing a composite index on three fields.CoreIndex4<V1,V2,V3,V4,T> Core APIIndex4
implementation representing a composite index on four fields.CounterField Counter fields.Database Provides an object database abstraction on top of a key/value database.EnumArrayField A field that contains an array (having one or more dimensions) of values chosen from an ordered list of uniqueString
identifiers.EnumField A field that contains a value chosen from in an ordered list of uniqueString
identifiers.EnumValue Field<T> FieldSwitchAdapter<R> Adapter class forFieldSwitch
.FieldType<T> Defines the encoding, ordering, and range of possible values for aSimpleField
.FieldTypeRegistry A registry ofFieldType
s.Layout Constants and utility methods relating to the encoding and layout of aDatabase
in a key/value store.ListField<E> List field.MapField<K,V> Map field.ObjId Object IDs.ObjType Represents aDatabase
object type.ReferenceField A field that references anotherDatabase
object.Schema Contains information describing one schema version.SchemaItem Schemas Contains the set of allSchema
s of objects visible in aTransaction
.SetField<E> Set field.SimpleField<T> A simpleField
.SnapshotTransaction A "snapshot"Transaction
that persists indefinitely.Transaction A PermazenDatabase
transaction.Transaction.CallbackAdapter Adapter class forTransaction.Callback
.Transaction.ListenerSet A fixed collection of listeners (CreateListener
s,DeleteListener
s,VersionChangeListener
s,SimpleFieldChangeListener
s,SetFieldChangeListener
s,ListFieldChangeListener
s, andMapFieldChangeListener
s) that can be efficiently registered on aTransaction
all at once.Version Contains library version information. -
Enum Summary Enum Description DeleteAction Describes what action to take when an object that is still referred to by some other object is deleted. -
Exception Summary Exception Description DatabaseException Superclass of all unchecked exceptions thrown by aDatabase
.DeletedObjectException Thrown when an object is accessed but the object does not exist in its associated transaction.InconsistentDatabaseException Thrown when inconsistent content is detected in aDatabase
indicating a corrupted or invalid database, or a buggy underlying key-value store.InvalidObjectVersionException Thrown when an object is found to have an invalid schema version.InvalidReferenceException Thrown when attempting to set a reference field to a disallowed object type.InvalidSchemaException Thrown byDatabase.createTransaction(io.permazen.schema.SchemaModel, int, boolean)
when the provided schema is invalid.ReferencedObjectException Thrown on an attempt to delete an object which is still referenced by aReferenceField
configured forDeleteAction.EXCEPTION
.RollbackOnlyTransactionException Thrown on an attempt tocommit()
a transaction that has been marked rollback-only.SchemaMismatchException Thrown byDatabase.createTransaction(io.permazen.schema.SchemaModel, int, boolean)
when the given schema cannot be matched with the schema of the same version already recorded in the database, or cannot be added to the database because it is incompatible with one or more prior schema versions.StaleTransactionException Thrown when a transaction that has been committed, rolled back, or otherwise invalidated is accessed.TransactionException Superclass of exceptions associated with a specificTransaction
.TypeNotInSchemaVersionException Thrown when attempting to update a database object to a schema version in which the object's type is not defined.UnknownFieldException Thrown when an unknown field is accessed.UnknownIndexException Thrown when an unknown index is accessed.UnknownTypeException Thrown when attempting to access an unknown type.


Notebooks
Story: Habits of jackals
Habits of jackals
Title
Habits of jackals
Collection
Summary
An exhortation, to the Bushmen, to be careful of food in time of plenty, is followed by a description of the jackal’s doings with regard to food, etc. (L VIII.-16. 7449-7451, 7448 rev.-7450 rev., and 7452-7456). When food is plentiful (in times of abundant rainfall) the people say that they must put the food away properly so they will not be like the jackal, which is always going along looking for where it has put its food (its 'plenty').
Comments
1) p.7451v: |xam names for, and descriptions of, flowers found in Bushmanland and Mowbray (on and around 15 September 1878), 2) This story is found in Book VIII-16
Contributors
|han≠kass'o (Klein Jantje) (VIII)
Date
15 September 1878 (started on or around)
Categories
Custom and daily life, Plants and animals
Keywords
jackal (habits of) , jackal (speaks to its mates) , jackal (stores food) , jackal (runs about seeking its food) , jackal (resembles or behaves like a man) , jackal (its diet) , jackal (its behaviour with food) , jackal (its call) , jackal (goes smelling along) , jackal (runs against the wind) , jackal (what people say when they hear it call) , jackal (finds its buried food by smelling it in the wind) , jackal (its 'plenty') , food (the rain makes it plentiful) , food (the jackal's 'plenty') , food (and the jackal's actions with its) , food (taking care with, when it is plentiful) , food (the careful storing of) , food (must be put away properly) , wind (and the habits of jackals with food) , flowers (found in Bushmanland) , flowers (found at Mowbray in spring) , names (of flowers found in Bushmanland and Mowbray) , rain (food is plentiful in times of abundant rainfall) , rain (and the habits of jackals with food)
Story Pages
7448v-7450v, 7452-7456


To be a leading player in 3 wheeler transportation with a Pan India and International Presence focusing on Rider Benefits leveraging technology and delivering Quality & Cost effective solution to the last mile transportation needs
Read moreIn 2015 a new State of the Art Factory was built in Toopran, near Hyderabad spread over 25 acres, with investments of nearly a billion rupees to manufacture high quality autos. Design centers created at Toopran & Pune to create vehicles keeping customer focus
Read more


Lift allows you to create model objects that map themselves to and from the database. Here's an example of a "User" model object.
/** * The singleton that has methods for accessing the database */ object User extends User with MetaMapper[User] { protected override def internalTableName_$ = "users" // define the DB table name // define the order fields will appear in forms and output override def sws_fieldOrder = id :: firstName :: lastName :: email :: password :: textArea :: Nil } /** * An O-R mapped "User" class that includes first name, last name, password... */ class User extends ProtoUser[User] { def getSingleton = User // what's the "meta" server // define an additional field for a personal essay val textArea = new MappedTextarea(this) { override def textareaRows = 10 override def textareaCols = 50 override def displayName = "Personal Essay" } }
For this little bit of work, we get a complete user with first name, last name, password, email, and a personal essay. Each of the fields knows how to validate itself. The User (and any other "Mapped" class) knows how to Create, Update, Read, and Delete itself from the database. It knows how to convert itself to a string, to XML, and even generate HTML forms for itself.


India vs Bangladesh, Pink Ball Test: Team India arrives in Kolkata
by IANSKOLKATA: The Indian team has arrived in Kolkata for the second Test against Bangladesh, which will be the first time ever that they will be playing a day-night Test match.
The match will be played from November 22 to 26.
The BCCI on Tuesday tweeted a video of the players exiting the team coach. India had won the first Test within three days and used the extra time they got for practicing with the pink ball at the Holkar Stadium in Indore.
It was earlier reported that the coaches of the two teams, Ravi Shastri and Russell Domingo, are likely to visit Eden Gardens after landing in the city.
"The coaches can go. They are scheduled to head to the Eden directly from the airport," local India team manager Samrat Bhowmick told IANS.
Skipper Virat Kohli and vice-captain Ajinkya Rahane touched down at around 9.40 a.m. before the rest of the players and headed straight to the team hotel. There was the usual fanfare at the Netaji Subhas Chandra Bose International Airport as many fans sported pink t-shirts to celebrate the occasion.


Sooner or Later
Exclusive Coming Soon Template For You!
WE ARE WORKING HARD TO LAUNCH IT
New look, new features and a faster interface!
WEEKS
DAYS
HOURS
MINUTES
SECONDS
Follow us for updates


This component represents a customizable container.
A card is broken up into multiple optional sections specified via an HTML template
element.
A card can be used as a simple list or a simple menu.
A card can be conditionally collapsible.
The following may be specified as an attribute on a template
element:
card-header
: The card header, which may also be "clickable" if enabled.card-image
: An image that spans across the card, immediately below the header.card-list-top
: A list displayed above the body section.card-title
: The card title, as the first sub-section within the body section.card-subtitle
: The card sub-title, immediately below the title within the body section.card-text
: The main content of the card, below the title and sub-title within the body section.card-buttons
: Buttons made availble on the card, the last sub-section within the body section.card-list-bottom
: A list displayed below the body section.card-footer
: The card footer, at the very bottom.The following attributes are available:
collapsed
: One of click
or none
(auto-updated and can be watched).collapse-method
: One of click
or none
.selector-prefix
: A name representing the prefix to select.start-collapsed
: One of true
or false
.text-center
: One of true
or false
.theme-variant
: The name of a theme variant to use on the button.panel-format
: One of solid
, outlined
, or mixed
.tl-card
component.
tl-card
component implemented as a bootstrap 3 style panel.
tl-card
component implemented as collapsible and is collapsed by default.


---
layout: page
title: andFHEM
subtitle: Control your home
bigimg: /images/index.jpg
---
AndFHEM is an Android frontend to control devices using a FHEM home
automation server.
The application can be found within the Google PlayStore. The
current APK can be downloaded here.
Please note that andFHEM is deprecated and will not receive big updates anymore. Also see the respective post in the FHEM forum.
Main Features
- Cache FHEM data on your device. No need to load all the data on every request.
- Manage your devices in rooms. Create favorites to get a status summary.
- View devices aggregated by functionality, not by device type.
- Control and switch your devices, incl. heating, dimming, ...
- View your FileLog data in zoomable plots.
- Switch between an arbitrary amount of FHEM servers (Premium only)
- View and switch directly from your home screen.
- Create timers without having to write Perl code within the FHEM config.
- Switch devices based on Tasker
/
Locale
and/or Llama
events. This is especially useful for location aware switching.
- Receive push notifications using Firebase Cloud Messaging (FCM).
- View FCM notification history (premium only)
Contact
You have found a bug or a problem and cannot solve it using the FAQ pages? Got
an idea for a new cool feature? Missing a device type? Write a mail to<EMAIL_ADDRESS>(German or English).
License
The application is licensed using GPLv3.
Contributing
Pull requests and feature ideas are very welcome. See Github
for details.


Introduction
IFIP Working Group 2.4 was founded in 1974. Since
then it has met roughly every 9 to 12 months. There are many Working Groups
under
the aegis of IFIP (The International Federation for Information Processing).
Nine working groups in areas related to software comprise IFIP Technical
Committee
2.
The Group's Purpose
When originally created, the mandate of the group was
to investigate System Implementation Languages. Over time, the interests of
the group have evolved while the original focus now appears less important.
Consequently, the group decided at its Banff meeting, held in September 1999,
to change its name to
Software Implementation Technology.
The more generic title includes, but is not limited to, the following areas of concern:
WG 2.4 Meetings
The working group meets about every 9 to 12 months,
normally alternating between venues in North America and Europe. Usually,
about
25 to 40 members and observers attend a meeting. The meetings are held in an
informal conference format: participants are asked to give presentations of
their actual work on topics within the scope of WG 2.4.
Note: Attendance at meetings is by invitation only. If you are interested in
participating as an observer in a future meeting, you may make a request to
attend through your IFIP TC-2 national representative, or you may contact any
member of WG 2.4.


{% extends "base.html" %} {% block content %}
The probability that this insurance claim is fraudulent is {{ probability }}%.


|
Contiki 2.5
|
Local continuations form the basis for implementing protothreads. More...
Files | |
| file | lc-addrlabels.h |
Implementation of local continuations based on the "Labels as values" feature of gcc. | |
| file | lc-switch.h |
Implementation of local continuations based on switch() statement. | |
Defines | |
| #define | LC_INIT(lc) |
| Initialize a local continuation. | |
| #define | LC_SET(lc) |
| Set a local continuation. | |
| #define | LC_RESUME(lc) |
| Resume a local continuation. | |
| #define | LC_END(lc) |
| Mark the end of local continuation usage. | |
Typedefs | |
| typedef void * | lc_t |
| The local continuation type. |
Local continuations form the basis for implementing protothreads.
A local continuation can be set in a specific function to capture the state of the function. After a local continuation has been set can be resumed in order to restore the state of the function at the point where the local continuation was set.
| #define LC_END | ( | lc | ) |
| #define LC_INIT | ( | lc | ) |
| #define LC_RESUME | ( | lc | ) |
Resume a local continuation.
The resume operation resumes a previously set local continuation, thus restoring the state in which the function was when the local continuation was set. If the local continuation has not been previously set, the resume operation does nothing.
| #define LC_SET | ( | lc | ) |
Set a local continuation.
The set operation saves the state of the function at the point where the operation is executed. As far as the set operation is concerned, the state of the function does not include the call-stack or local (automatic) variables, but only the program counter and such CPU registers that needs to be saved.