* (eul-associate ((canvas <tk-canvas>) (scroll <tk-scrollbar>) 'horizontal)) * (eul-associate ((canvas <tk-canvas>) (scroll <tk-scrollbar>) 'vertical)) * (eul-associate ((listbox <tk-listbox>) (scroll <tk-scrollbar>) 'horizontal)) * (eul-associate ((listbox <tk-listbox>) (scroll <tk-scrollbar>) 'vertical)) * (eul-associate ((text <tk-text>) (scroll <tk-scrollbar>) 'horizontal)) * (eul-associate ((text <tk-text>) (scroll <tk-scrollbar>) 'vertical)) * (eul-associate ((entry <tk-entry>) (scroll <tk-scrollbar>) 'horizontal))
tk_class.em
This special function allows the user to avoid the tedious callback system that the scrollbars associated to widge require. (See general information about How to manage Scrolls for more detail.)
() or t depending on the success or the failure of the operation.
N/A
N/A
N/A
* (Tcl_DoOneEvent 0) * (Tcl_DoOneEvent 1)
tk_general.em
This function dispatches one event. The user can decide if the function will block or not. 0 Wait until one event is served. 1 Do not wait. If there is an event waiting, then it is served. If there is no event, then return without doing nothing. (See general information about Event-Driven Applications for more detail.)
1 whether an event has been served. 0 otherwise.
N/A
Tcl_DoOneEvent(int flags)
(tk library)
* (tk-add-arc-canvas ((canvas <tk-canvas>) (x1 <int>) (y1 <int>) (x2 <int>) (y2 <int>) options)) * (tk-add-bitmap-canvas ((canvas <tk-canvas>) (x <int>) (y <int>) options)) * (tk-add-image-canvas ((canvas <tk-canvas>) (x <int>) (y <int>) options)) * (tk-add-line-canvas ((canvas <tk-canvas>)(x1 <int>) (y1 <int>) ... (xn <int>) (yn <int>) options)) * (tk-add-oval-canvas ((canvas <tk-canvas>) (x1 <int>) (y1 <int>) (x2 <int>) (y2 <int>) options)) * (tk-add-polygon-canvas ((canvas <tk-canvas>) (x1 <int>) (y1 <int>) (x2 <int>) (y2 <int>) ... (xn <int>) (yn <int>) options)) * (tk-add-rectangle-canvas ((canvas <tk-canvas>) (x1 <int>) (y1 <int>) (x2 <int>) (y2 <int>) options)) * (tk-add-text-canvas ((canvas <tk-canvas>) (x <int>) (y <int>) options)) (tk-add-window-canvas ((canvas <tk-canvas>) (x <int>) (y <int>) options))
tk_class2.em
The options argument represents a succession of pairs {accessor: value}*. The accessor: represents the tcl/tk option, and value is the value. The value in that case has always to be a number or a string. Options argument is optional. The three dots wants to say that the function can receive an unlimited number of coordinates. It is useful for cases like lines and polygons. The quantity of coordinates has to be even.
() Failure in the creation of the item.
<tk-item-canvas> The new created item for the canvas.
pathname create arc x1 y1 x2 y2 ?option value option value....? pathname create bitmap x y ?option value option value....? pathname create image x y ?option value option value....? pathname create line x1 y1 ... xn yn ?option value option value....? pathname create oval x1 y1 x2 y2 ?option value option value....? pathname create polygon x1 y1 x2 y2 ... xn yn ?option value option value....? pathname create rectangle x1 y1 x2 y2 ?option value option value....? pathname create text x y ?option value option value....? pathname create window x y ?option value option value....?
eul_create_item_canvas (char* type, char* nameWidget, Command* cmdPtr, LispRef options) where type says the kind of item canvas that is going to be created.
FnCwidgets.c
* (tk-bind ((widget <tk-object>) (event <string>) (function <simple-function>))) * (tk-bind ((widget <tk-object>) (event <string>) (function <simple-function>) (list-accessors <cons>)))
tk_commands.em
list-accessors is a list of event information parameters that the function
will receive. It also can have infomation about the possible normal parameters
that the callback function will be expecting.
The notation has been adapted to EuLisp world.
(See general information about
How to manage callbacks for more detail.)
() or t depending on the success or the failure of the operation.
bind tag sequence script
eul_tk_bind (char* nameWidget, char* event, char* fn_key, LispRef args)
FnCcommands.c
* (tk-bind-item-canvas ((canvas <tk-canvas>) (tag <string>) (event <string>) (function <simple-function>))) * (tk-bind-item-canvas ((canvas <tk-canvas>) (tag <string>) (event <string>) (function <simple-function>) (list-accessors <cons>))) * (tk-bind-item-canvas ((item <tk-item-canvas>) (tag <string>) (event <string>) (function <simple-function>))) * (tk-bind-item-canvas ((item <tk-item-canvas>) (event <string>) (function <simple-function>) (list-accessors <cons>)))
tk_class2.em
list-accessors is a list of event information parameters that the function
will receive. It also can have infomation about the possible normal parameters
that the callback function will be expecting.
The notation has been adapted to EuLisp world.
(See general information about How to manage callbacks for more detail.)
() or t depending on the success or the failure of the operation.
pathname tagOrId ?sequence? ?command? where pathname refers to a canvas widget.
eul_tk_bind_element (char* nameWidget, Command* cmdPtr, char* id_or_tag, char* event, char* fn_key, LispRef,args) where the last argument will conatin the list of parameters that the function will receive.
FnCwidgets.c
* (tk-bind-tag-text ((text <tk-text>) (tag <string>) (event <string>) (tag <string>) (function <simple-function>))) * (tk-bind-tag-text ((text <tk-text>) (tag <string>) (event <string>) (tag <string>) (function <simple-function>) (list-accessors <cons>)))
tk_class2.em
list-accessors is a list of event information parameters that the function
will receive. It also can have infomation about the possible normal parameters
that the callback function will be expecting.
The notation has been adapted to EuLisp world.
(See general information about How to manage callbacks for more detail.)
() or t depending on the success or the failure of the operation.
pathname tag bind tagName sequence script where pathname points to a text widget.
eul_tk_bind_element (char* nameWidget, Command* cmdPtr, char *type, char* id_or_tag, char* event, char* fn_key, LispRef,args)
FnCwidgets.c
* (tk-button-flash (button <tk-button>))
tk_class.em
() or t depending on the success or the failure of the operation.
pathname flash where pathname represents the button widget that is going to be flashed.
eul_tk_button_flash (char* name, Command* cmdPtr)
FnCwidgets.c
* (tk-conf-item-canvas ((canvas <tk-canvas>) (tag <string>) options)) (tk-conf-item-canvas ((item <tk-item-canvas>) options))
tk_class2.em
The options argument represents a succession of pairs {accessor: value}*. The accessor: represents the tcl/tk option, and value is the value. The value in that case has always to be a number or a string. Options argument is optional.
() or t depending on the success or the failure of the operation.
pathname itemconfigure tagOrId ?option value? ?option value....? where pathname should represent a widget canvas.
eul_tk_cmd_item_canvas (char* nameWidget, Command* cmdPtr, char* id_or_tag, LispRef args, char* nameCommand) where the nameCommand is "itemconfigure"
FnCwidgets.c
* (tk-conf-tag-text ((text <tk-text>) (tag <string>) options))
tk_class2.em
The options argument represents a succession of pairs {accessor: value}*. The accessor: represents the tcl/tk option, and value is the value. The value in that case has always to be a number or a string. Options argument is optional.
() or t depending on the success or the failure of the operation.
pathname tag configure tagName ?option? ?value? ?option value...? where pathname represents a text widget.
eul_tk_cmd_text (char* name, Command* cmdPtr, char* command, LispRef args) where the command will be "tag" and the specification of the "configure" type will be given in the last argument, as part of a list.
FnCwidgets.c
* (tk-conf-widget ((x <tk-object>) options))
tk_class.em
The options argument represents a succession of pairs {accessor: value}*. The accessor: represents the tcl/tk option, and value is the value. The value in that case has always to be a number or a string. Options argument is optional.
() or t depending on the success or the failure of the operation.
pathname configure ?option? ?value option value ...?
eul_tk_conf_widget (char* name, Command* cmdPtr, LispRef listArgs)
FnCwidgets.c
(tk-coords-item-canvas ((canvas <tk-canvas>) (tag <string>))) (tk-coords-item-canvas ((canvas <tk-canvas>) (tag <string>) (x1 <int>) (y1 <int>) ... (xn <int>) (yn <int>))) * (tk-coords-item-canvas ((item <tk-item-canvas>)) * (tk-coords-item-canvas ((item <tk-item-canvas>) (x1 <int>) (y1 <int>) ... (xn <int>) (yn <int>)))
tk_class2.em
Call without coordinates acts as a consultant. It returns: a list of strings with the coordinates for the specfied item: (<string> ... <string>) Call with coordinates will return () or t depending on the failure or success of the Lisp function.
pathname coords tagOrId ?x0 y0 ...? where pathname correponds to a canvas widget.
eul_tk_cmd_item_canvas (char* nameWidget, Command* cmdPtr, char* id_or_tag, LispRef args, char* nameCommand) where the nameCommand is "coords"
FnCwidgets.c
* (tk-create-image 'bitmap options) * (tk-create-image 'photo options)
tk_images.em
The options argument represents a succession of pairs {accessor: value}*. The accessor: represents the tcl/tk option, and value is the value. The value in that case has always to be a number or a string. Options argument is optional.
The name of the image in a string.
image create type ?name ?option value ...?
eul_tk_image_cmd (char* nameImage, char* command, LispRef args)
FnCimages.c
* (tk-delete ((entry <tk-entry>) (first <string>))) * (tk-delete ((entry <tk-entry>) (first <string>) (last <string>))) * (tk-delete ((listbox <tk-listbox>) (first <string>))) * (tk-delete ((listbox <tk-listbox>) (first <string>) (last <string>))) * (tk-delete ((text <tk-listbox>) (first <string>))) * (tk-delete ((text <tk-listbox>) (first <string>) (last <string>)))
tk_class.em
first and last are indexes. If the last index is not specified, then a single character is deleted (the first one).
() or t depending on the success or the failure of the operation.
pathname delete first ?last? where pathname could represent either an entry, a listbox or a text widget.
eul_delete_command (char* nameWidget, Command* cmdPtr, char* first, LispRef,last)
FnCwidgets.c
* (tk-delete-image ((image <string>))) * (tk-delete-image ((image1 <string>) ... (imagen <string>)))
tk_images.em
() or t depending on the success or the failure of the operation.
image delete ?name name ...?
eul_tk_image_cmd (char* nameImage, char* command, LispRef args)
FnCimages.c
* (tk-delete-item-canvas ((canvas <tk-canvas>) item-or-tag1 ... item-or-tagn))
tk_class2.em
list-or-tag arguments could be either a tag, that is, an string, or a <tk-item-canvas-object>.
() or t depending on the success or the failure of the operation.
pathname delete tagOrId ... tagOrId where pathname represents the canvas.
eul_tk_cmd_item_canvas (char* nameWidget, Command* cmdPtr, char* id_or_tag, LispRef args, char* nameCommand)
FnCwidgets.c
* (tk-destroy ((widget1 <tk-object>) ... (widgetn <tk-object>)))
tk_commands.em
This command could receive one or more widgets. All of them will be destroyed
() or t depending on the success or the failure of the operation.
detroy ?window window...?
eul_tk_destroy(char * nameWidget, LispRef moreObjects)
FnCcommands.c
* (tk-exit)
tk_commands.em
This command destroys the root window.
() or t depending on the success or the failure of the operation.
exit
eul_tk_exit ()
FnCcommands.c
(tk-find-canvas-above ((canvas <tk-canvas>) (tag <string>))) (tk-find-canvas-above ((item <tk-item-canvas>))) * (tk-find-canvas-all ((canvas <tk-canvas>))) (tk-find-canvas-below ((canvas <tk-canvas>) (tag <string>))) (tk-find-canvas-below ((item <tk-item-canvas>))) * (tk-find-canvas-enclosed ((canvas <tk-canvas>) (x1 <int>) (y1 <int>) (x2 <int>) (y2 <int>))) * (tk-find-canvas-overlapping ((canvas <tk-canvas>)(x1 <int>) (y1 <int>) (x2 <int>) (y2 <int>))) * (tk-find-canvas-withtag ((canvas <tk-canvas>) (tag <string>))) * (tk-find-canvas-withtag ((item <tk-item-canvas>)))
tk_class2.em
List with the identifiers of the selected items. The identifiers are strings.
pathname find above tagOrId pathname find all pathname find below tagOrId pathname find enclosed x1 y1 x2 y2 pathname find overlapping x1 y1 x2 y2 pathname withtag tagOrId where pathname refers to a canvas widget.
eul_tk_find_canvas (char* nameWidget, Command* cmdPtr, char* search_cmd, LispRef args) where search_cmd could be above, all, below, enclosed, overlapping or withtag.
FnCwidgets.c
* (tk-focus) * (tk-focus ()) * (tk-focus ((item-canvas <tk-item-canvas>))) * (tk-focus ((widget <tk-object>)))
tk_commands.em
The first one allows the user to know which widow is having the focus. The other ones are use to get the focus.
String with the window containing the focus, in the first case. () or t depending on the success or the failure of the operation.
focus focus window
eul_tk_focus (char* name, char* id)
FnCcommands.c
* (tk-get-result)
tk_commands.em
It is usefull to consult the tcl/tk messages.
String containing tcl/tk message.
N/A
eul_tk_get_result()
FnCcommands.c
* (tk-get-value-widget ((entry <tk-entry>))) * (tk-get-value-widget ((scale <tk-scale>))) * (tk-get-value-widget ((text <tk-text>) (index1 <string>))) * (tk-get-value-widget ((text <tk-text>) (index1 <string>) (index2 <string>)))
tk_class.em
Value of the specified widget. In the case of the text, there are two possibilities. - If one index is given , the result is the character represented by this index is given - If both indexes are given, the result is the string of characters between the two indexes.
pathname get where pathname is either a scale or an entry pathname get index1 ?index2? where pathname is representing a text widget.
eul_tk_get_value_widget (char* name, Command* cmdPtr, LispRef indexs)
FnCwidgets.c
* (tk-get-variable ((tcl-variable <string>)))
tk_commands.em
At the moment only integer varibles can be consulted.
An extension to string values can be easily done.
<int> containing the value of the tcl variable.
set varName
eul_tk_get_variable (char* nameVar)
FnCcommands.em
* (tk-grab-set ((toplevel <tk-toplevel>)))
tk_commands.em
This function is only permitted if the received widget is a top-level widget.
Only local grab will be set. No global grabs are possible.
() or t depending on the success or the failure of the operation.
grab set window
eul_tk_grab_set (char* name)
FnCcommands.c
* (tk-handler ((widget <tk-object>)))
tk_general.em
The use of this command makes sense when a foreign function is going to be called.
Pointer reference to the C structure storing the information of this widget.
N/A
N/A
N/A
* (tk-height-image ((image <string>)))
tk_images.em
String containig the height of the specified image.
image height name
eul_tk_image_cmd (char* nameImage, char* command, LispRef args)
FnCimages.c
* (tk-insert ((entry <tk-entry>) (index <string>) (text <string>))) * (tk-insert ((listbox <tk-listbox>) (index <string>) (text <string>))) * (tk-insert ((listbox <tk-listbox>) (index <string>) (num <int>))) * (tk-insert ((text <tk-text>) (index <string>) (text <string>)))
tk_class.em
() or t depending on the success or the failure of the operation.
pathname insert index string where pathname could represent either an entry, a listbox or a text widget.
eul_insert_command (char* nameWidget, Command* cmdPtr, char* type, char* text)
FnCwidgets.c
(tk-listbox-curselection ((listbox <tk-listbox>)))
tk_class.em
String containing the numerical indices of all the elements selected in the listbox.
pathname curselection
eul_tk_listbox_command (char* name, Command* cmdPtr, char* command)
FnCwidgets.c
(tk-lower-item-canvas ((canvas <tk-canvas>) (tag <string>))) (tk-lower-item-canvas ((canvas <tk-canvas>) (tag <string>) (belowThis <string>))) (tk-lower-item-canvas ((canvas <tk-canvas>) (tag <string>) (belowThis <tk-item-canvas>))) * (tk-lower-item-canvas ((<item <tk-item-canvas>))) (tk-lower-item-canvas ((item <tk-item-canvas>) (belowThis <string>))) (tk-lower-item-canvas ((item <tk-item-canvas>) (belowThis <tk-item-canvas>)))
tk_class2.em
This function can receive either a <tk-canvas>, specifying the tag or an <tk-item-canvas>. The belowThis argument can be either tag or and specific item in the canvas.
() or t depending on the failure or the success of the operation.
pathname lower tagOrId ?belowThis? where pathname should correspond to a canvas widget.
eul_tk_cmd_item_canvas (char* nameWidget, Command* cmdPtr, char* id_or_tag, LispRef args, char* nameCommand) where nameCommand represents the name of the Tcl/Tk command to be executed. In that case we will use "lower" as the name of the command.
FnCwidgets.c
* (Tk_MainLoop)
tk_general.em
This command loops dispatching tcl/tk events. It finishes when all the widgets are destroyed. (See general information about Event-Driven Applications for more detail.)
N/A
TK_MainLoop()
(tk library)
tk-make-button tk-make-label tk-make-frame tk-make-canvas tk-make-checkbutton tk-make-entry tk-make-listbox tk-make-menu tk-make-menubutton tk-make-message tk-make-radiobutton tk-make-scale tk-make-scrollbar tk-make-text tk-make-toplevel
* (tk-make-button (parent options)) * (tk-make-label (parent options)) * (tk-make-frame (parent options)) * (tk-make-canvas (parent options)) * (tk-make-checkbutton (parent options)) * (tk-make-entry (parent options)) * (tk-make-listbox (parent options)) * (tk-make-menu (parent options)) * (tk-make-menubutton (parent options)) * (tk-make-message (parent options)) * (tk-make-radiobutton (parent options)) * (tk-make-scale (parent options)) * (tk-make-scrollbar (parent options)) * (tk-make-text (parent options))
tk_class.em
The parent could be either a <tk-object> or (). The empty list represents the root widget (or window) The options argument represents a succession of pairs {accessor: value}*. The accessor: represents the tcl/tk option, and value is the value. The value in that case has always to be a number or a string. Options argument is optional.
() or t depending on the success or the failure of the operation.
button pathname options label pathname options frame pathname options canvas pathname options checkbutton pathname options listbox pathname options menubutton pathname options message pathname options radiobutton pathname options scale pathname options scrollbar pathname options text pathname options toplevel pathname options
eul_tk_create_widget(char* type, char* name, LispRef listArgs)
FnCwidgets.c
* (tk-map-widget ()) * (tk-map-widget ((widget <tk-object>)))
tk_commands.em
The first one maps the root window. That is, the main widget. THe second one maps the specified widget.
() or t depending on the success or the failure of the operation.
N/A
eul_tk_map_widget (char* name)
FnCcommands.c
* (tk-menu-add ((menu <tk-menu>) 'command options)) * (tk-menu-add ((menu <tk-menu>) 'checkbutton options)) * (tk-menu-add ((menu <tk-menu>) 'radiobutton options)) * (tk-menu-add ((menu <tk-menu>) 'separator options)) * (tk-menu-add ((menu <tk-menu>) 'cascade options))
tk_class.em
The options argument represents a succession of pairs {accessor: value}*. The accessor: represents the tcl/tk option, and value is the value. The value in that case has always to be a number or a string. Options argument is optional.
() or t depending on the success or the failure of the operation.
pathname add command ?option value option value...? pathname add checkbutton ?option value option value...? pathname add radiobutton ?option value option value...? pathname add separator ?option value option value...? pathname add cascade ?option value option value...?
eul_add_menu_command (char* nameMenu, Command* cmdPtr, LispRef listArgs)
FnCwidgets.c
(tk-move-item-canvas ((canvas <tk-canvas>) (tag <string>) (x-incr <int>) (y-incr <int>))) * (tk-move-item-canvas ((item <tk-item-canvas>) (x-incr <int>) (y-incr <int>)))
tk_class2.em
() or t depending on the success or the failure of the operation.
pathname move tagOrId xAmount yAmount where pathname should correspont to a canvas widget
eul_tk_cmd_item_canvas (char* nameWidget, Command* cmdPtr, char* id_or_tag,
FnCwidgets.c
* (tk-name ((widget <tk-object>)))
tk_general.em
The string containing the internal name of the widget.
N/A
N/A
N/A
* (tk-names-image)
tk_images.em
List of strings with the names of the current images.
image names
eul_tk_image_cmd (char* nameImage, char* command, LispRef args)
FnCimages.c
* (tk-object-p x) * (tk-button-p x) * (tk-canvas-p x) * (tk-entry-p x) * (tk-listbox-p x) * (tk-scrollbar-p x) * (tk-text-p x) * (tk-toplevel-p x) * (tk-item-canvas-p x)
tk_general.em
Gives () or t depending whether or not the object corresponts to the specific class.
N/A
N/A
N/A
* (tk-pack ((widget1 <tk-object>) ... (widgetn <tk-object>) options))
tk_commands.em
THis function can pack more than one object at a time. The options argument represents a succession of pairs {accessor: value}*. The accessor: represents the tcl/tk option, and value is the value. The value in that case has always to be a number or a string. Options argument is optional.
() or t depending on the success or the failure of the operation.
pack window ... ?window option value option value...?
eul_tk_pack (char* name, LispRef options)
FnCcommands.c
* (tk-scroll-set ((scroll <tk-scrollbar>) (first-entry <string>) (last-entry <string>)))
tk_class.em
The last two arguments, that is, first-entry, last-entry, are added automatically by tcl/tk when the callback function, set with xscollcommand: or yscrollcommand: in the widget creation or configuration, is invoked. The user do not have to worry about it. The callback function associated to the widget will be the responsible of calling tk-scroll-set. (See general information about How to manage Scrolls for more detail.)
() or t depending on the success or the failure of the operation.
pathname set first last where pathname is the name of the scrollbar widget.
eul_set_scrollbar_command (char* nameWidget, Command* cmdPtr, char* first_entry, char* last_entry)
FnCwidgets.c
* (tk-selection-get) * (tk-selection-get ((option <string>)))
tk_commands.em
option could be one of the representations formats, like: "STRING","ATOM","INTEGER"...
Information of the selected element.
selection get
eul_tk_selection_get (LispRef option)
FnCcommands.c
* (tk-set-variable ((tcl-variable <string>) (value <string>)))
tk_commands.em
() or t depending on the success or the failure of the operation.
set varName value
eul_tk_set_variable (char* nameVar,char* value)
FnCcommands.c
* (tk-text-index ((text <tk-text>) (index <string>)))
tk_class2.em
Returns the string with the information of the index in the form "line.char"
pathname index index where pathname represents the text widget.
eul_tk_cmd_text (char* name, Command* cmdPtr, char* command, LispRef args)
FnCwidgets.c
(tk-text-mark ((text <tk-text>) 'set (mark <string>) (index <string>))) (tk-text-mark ((text <tk-text>) 'unset (mark <string>)))
tk_class2.em
() or t depending on the success or the failure of the operation.
pathname mark set markName index pathname mark unset markName where pathname represents the text widget.
eul_tk_cmd_text (char* name, Command* cmdPtr, char* command, LispRef args)
FnCwidgets.c
* (tk-text-tag-add ((text <tk-text>) (tag <string>) (index1 <string>) ... (index2 <string>)))
tk_class2.em
This commanmd could receive an even number of indexes. The tag is added to all the characters between the first and the last index of every pair of indexes.
() or t depending on the success or the failure of the operation.
pathname tag add tagName index1 ?index2 index1 index2 ...? where pathname represents the text widget.
eul_tk_cmd_text (char* name, Command* cmdPtr, char* command, LispRef args) where the command will be "tag" and the specification of the "add" type will be given in the last argument, as part of a list.
FnCwidgets.c
* (tk-type-image ((image <string>)))
tk_images.em
String stroing the type of the image: bitmap or photo.
image type name
eul_tk_image_cmd (char* nameImage, char* command, LispRef args)
FnCimages.c
* (tk-types-image)
tk_images.em
List of strings containing the information of the supported image types.
image types
eul_tk_image_cmd (char* nameImage, char* command, LispRef args)
FnCimages.c
* (tk-unmap-widget ()) * (tk-unmap-widget ((widget <tk-object>)))
tk_commands.em
The first one unmaps the main widget. The second one unmaps the specified widget.
() or t depending on the success or the failure of the operation.
N/A
eul_tk_unmap_widget (char* name)
FnCcommands.c
* (tk-width-image ((image <string>)))
tk_images.em
String containing the width of the specified image.
image width name
eul_tk_image_cmd (char* nameImage, char* command, LispRef args)
FnCimages.c
* (tk-wm ((operation <string>) () options)) * (tk-wm ((operation <string>) (widget <tk-object>) options))
tk_commands.em
This method permits to call the widow manager. The user will be able to arrange some aspects of the general window.
options argument could be a list of arguments, accepted by wm
tk command.
() or t depending on the success or the failure of the operation.
wm option window ?args?
eul_tk_wm (char* operation, LispRef listArgs)
FnCcommands.c
* (tk-xview ((listbox <tk-listbox>) (type <string>) (entry <string>) units)) * (tk-yview ((listbox <tk-listbox>) (type <string>) (entry <string>) units)) * (tk-xview ((text <tk-text>) (type <string>) (entry <string>) units)) * (tk-yview ((text <tk-text>) (type <string>) (entry <string>) units)) * (tk-xview ((entryWidget <tk-entry>) (type <string>) (entry <string>) units))
tk_class.em
The last three arguments, that is, type entry units, are added automatically by tcl/tk when the callabck function associated to the scrollbar widget is invoked. The user do not have to worry about it. The callback function associated to the scrollbar widget will be the responsible of calling tk-xview or tk-yview. (See general information about How to manage Scrolls for more detail.)
() or t depending on the success or the failure of the operation.
pathname xview pathname yview
eul_xview_command (char* nameWidget, Command* cmdPtr, char* type, char* entry, LispRef units) eul_yview_command (char* nameWidget, Command* cmdPtr, char* type, char* entry, LispRef units)
FnCwidgets.c