tk_chooseColor



tk_chooseColor

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
KEYWORDS

___________________________

NAME

tk_chooseColor − pops up a dialog box for the user to select a color.

SYNOPSIS

tk_chooseColor ?option value ...? ___________________________

DESCRIPTION

The procedure tk_chooseColor pops up a dialog box for the user to select a color. The following option−value pairs are possible as command line arguments:
−initialcolor
color

Specifies the color to display in the color dialog when it pops up. color must be in a form acceptable to the Tk_GetColor function.

−parent window

Makes window the logical parent of the color dialog. The color dialog is displayed on top of its parent window.

−title titleString

Specifies a string to display as the title of the dialog box. If this option is not specified, then a default title will be displayed.

If the user selects a color, tk_chooseColor will return the name of the color in a form acceptable to Tk_GetColor. If the user cancels the operation, both commands will return the empty string.

EXAMPLE

button .b −bg [tk_chooseColor −initialcolor gray −title "Choose color"]

KEYWORDS

color, color selection, dialog




More Linux Commands

manpages/URI::_punycode.3pm.html
URI::_punycode(3pm) - encodes Unicode string in Punycode....
URI::_punycode is a module to encode / decode Unicode strings into Punycode, an efficient encoding of Unicode for use with IDNA . This module requires Perl 5.6.

manpages/jpico.1.html
jpico(1) - Joe's Own Editor (Commands - Linux man page).....
JOE is a powerful ASCII-text screen editor. It has a mode-less user interface which is similar to many user-friendly PC editors. Users of Micro-Pros WordStar or

manpages/hwinfo.html
hwinfo.8 - 301 Moved Permanently.......................

manpages/FcStrDowncase.3.html
FcStrDowncase(3) - create a lower case translation of a stri
Allocates memory, copies s, converting upper case letters to lower case and returns the allocated buffer. VERSION Fontconfig version 2.8.0 FcStrDowncase.3 (Libr

manpages/pom_add_plugin.7.html
pom_add_plugin(7) add plugin invocation to POM file.........
This macro patches specified POM file adding plugin invocation of given groupId and artifactId. groupId and artifactId are identifiers of Maven plugin artifact

manpages/XkbSelectEventDetails.3.html
XkbSelectEventDetails(3) - Selects or deselects for a specif
XkbSelectEventDetails.3 - Xkb events are selected using an event mask, much the same as normal core X events are selected. However, unlike selecting core X even

manpages/rpmqpack.8.html
rpmqpack(8) - check for installed rpm packages (Man Page)...
rpmqpack checks if packages given as arguments are installed in the system. It prints each installed package to stdout. If no arguments are given all installed

manpages/DPMSQueryExtension.3.html
DPMSQueryExtension(3) - queries the X server to determine th
The DPMSQueryExtension function queries the X server to determine the availability of the Display Power Management Signaling (DPMS) Extension. If the extension

manpages/wcsncmp.3.html
wcsncmp(3) - compare two fixed-size wide-character strings
The wcsncmp() function is the wide-character equivalent of the strncmp(3) function. It compares the wide-character string pointed to by s1 and the wide-characte

manpages/ucs2any.1.html
ucs2any(1) - generate BDF fonts containing subsets of ISO 10
ucs2any allows one to generate from an ISO 10646-1 encoded BDF font other BDF fonts in any possible encoding. This way, one can derive from a single ISO 10646-1

manpages/gnutls_dtls_cookie_send.3.html
gnutls_dtls_cookie_send(3) - API function - Linux man page
This function can be used to prevent denial of service attacks to a DTLS server by requiring the client to reply using a cookie sent by this function. That way

manpages/form_post.3form.html
form_post(3form) - write or erase forms from associated subw
form_post.3form - The function post_form displays a form to its associated subwindow. To trigger physical display of the subwindow, use refresh or some equivale





We can't live, work or learn in freedom unless the software we use is free.