Cheers!
In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not?
To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
I have javascript that I want to use to build up a dynamic array: the user clicks on one or more images and when clicking the Show button, the list of image names is displayed that the user clicked.
<script type="text/javascript">
var images = ;
images =... (0 Replies)
Hi,
I am trying to write a python program which changes background color on click of button. However i am stuck up. Instead of changing the color currently it is creating a new frame every time.
please look at the code and let me know how to correct it
#!/usr/bin/env python
from Tkinter... (0 Replies)
Hello guys, please help me
I want to use TCl to move the lines with line number as odd number to a new file source_odd.txt, and move the lines with character 'a' to another file source_a.txt.
I also want to create a tcl function to list all the file names in a appointed directory. (1 Reply)
Here's a question I have for anyone that might be able to help me:
I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Hello
I am a TCL beginer, so please answer accordingly
here are my question:
1. variable scope
I built a text widget and gave it a textvariable: cmd_entry, I
I sent it to a procedure where I declare it as “global cmd_entry” and give it a value
The problem is that in the main program... (0 Replies)
ttk::button(n) Tk Themed Widget ttk::button(n)
__________________________________________________________________________________________________________________________________________________NAME
ttk::button - Widget that issues a command when pressed
SYNOPSIS
ttk::button pathName ?options?
_________________________________________________________________DESCRIPTION
A ttk::button widget displays a textual label and/or image, and evaluates a command when pressed.
STANDARD OPTIONS -class-compound-cursor
-image-state-style
-takefocus-text-textvariable
-underline-width
See the ttk_widget manual entry for details on the standard options.
WIDGET-SPECIFIC OPTIONS
[-command command] A script to evaluate when the widget is invoked. [-default default] May be set to one of normal, active, or disabled.
In a dialog box, one button may be designated the "default" button (meaning, roughly, "the one that gets invoked when the user presses
<Enter>"). active indicates that this is currently the default button; normal means that it may become the default button, and disabled
means that it is not defaultable. The default is normal.
Depending on the theme, the default button may be displayed with an extra highlight ring, or with a different border color.
[-width width] If greater than zero, specifies how much space, in character widths, to allocate for the text label. If less than zero,
specifies a minimum width. If zero or unspecified, the natural width of the text label is used. Note that some themes may specify a non-
zero -width in the style.
WIDGET COMMAND
In addition to the standard cget, configure, identify, instate, and state commands, buttons support the following additional widget com-
mands:
pathName invoke
Invokes the command associated with the button.
COMPATIBILITY OPTIONS
[-state state] May be set to normal or disabled to control the disabled state bit. This is a "write-only" option: setting it changes the
widget state, but the state widget command does not affect the state option.
SEE ALSO
ttk::widget(n), button(n)
KEYWORDS
widget, button, default, command
Tk 8.5 ttk::button(n)