Unix and Linux Discussions Tagged with application |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
7,375 |
Web Development |
|
|
|
2 |
39,899 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
25,134 |
Infrastructure Monitoring |
|
|
|
2 |
3,733 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,055 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
4,238 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
6,023 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
12,813 |
Linux |
|
|
|
1 |
1,470 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
2,596 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
1,376 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,112 |
Programming |
|
|
|
6 |
2,957 |
Shell Programming and Scripting |
|
|
|
8 |
6,979 |
Shell Programming and Scripting |
|
|
|
0 |
1,577 |
Solaris |
|
|
|
1 |
2,720 |
Linux |
|
|
|
5 |
9,879 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,992 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,136 |
Software Releases - RSS News |
|
|
|
0 |
1,276 |
Software Releases - RSS News |
|
|
|
0 |
1,032 |
Software Releases - RSS News |
|
|
|
0 |
1,507 |
Software Releases - RSS News |
|
|
|
0 |
1,129 |
Software Releases - RSS News |
|
|
|
0 |
1,247 |
Solaris BigAdmin RSS |
|
|
|
3 |
4,912 |
OS X (Apple) |
|
|
|
0 |
969 |
Software Releases - RSS News |
|
|
|
0 |
964 |
Software Releases - RSS News |
|
|
|
0 |
1,771 |
Solaris BigAdmin RSS |
|
|
|
2 |
3,256 |
Solaris |
|
|
|
0 |
2,762 |
Solaris BigAdmin RSS |
|
|
|
1 |
3,626 |
SuSE |
|
|
|
1 |
2,649 |
Linux |
|
|
|
0 |
942 |
Software Releases - RSS News |
|
|
|
0 |
890 |
Software Releases - RSS News |
|
|
|
0 |
789 |
Software Releases - RSS News |
|
|
|
0 |
896 |
Software Releases - RSS News |
|
|
|
0 |
2,860 |
UNIX and Linux RSS News |
|
|
|
0 |
1,716 |
Complex Event Processing RSS News |
|
|
|
0 |
1,595 |
UNIX and Linux RSS News |
|
|
|
1 |
5,726 |
Debian |
Tk_SetAppName(3) Tk Library Procedures Tk_SetAppName(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_SetAppName - Set the name of an application for 'send' commands
SYNOPSIS
#include <tk.h>
const char *
Tk_SetAppName(tkwin, name)
ARGUMENTS
Tk_Window tkwin (in) Token for window in application. Used only to select a particular application.
const char *name (in) Name under which to register the application.
_________________________________________________________________
DESCRIPTION
Tk_SetAppName associates a name with a given application and records that association on the display containing with the application's main
window. After this procedure has been invoked, other applications on the display will be able to use the send command to invoke operations
in the application. If name is already in use by some other application on the display, then a new name will be generated by appending "
#2" to name; if this name is also in use, the number will be incremented until an unused name is found. The return value from the proce-
dure is a pointer to the name actually used.
If the application already has a name when Tk_SetAppName is called, then the new name replaces the old name.
Tk_SetAppName also adds a send command to the application's interpreter, which can be used to send commands from this application to others
on any of the displays where the application has windows.
The application's name registration persists until the interpreter is deleted or the send command is deleted from interp, at which point
the name is automatically unregistered and the application becomes inaccessible via send. The application can be made accessible again by
calling Tk_SetAppName.
Tk_SetAppName is called automatically by Tk_Init, so applications do not normally need to call it explicitly.
The command tk appname provides Tcl-level access to the functionality of Tk_SetAppName.
KEYWORDS
application, name, register, send command
Tk 4.0 Tk_SetAppName(3)