Unix and Linux Discussions Tagged with visual |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
23,180 |
What is on Your Mind? |
|
|
|
5 |
11,294 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,330 |
Software Releases - RSS News |
|
|
|
0 |
1,521 |
UNIX and Linux RSS News |
|
|
|
0 |
816 |
Software Releases - RSS News |
|
|
|
0 |
2,600 |
Oracle Updates (RSS) |
|
|
|
0 |
953 |
Software Releases - RSS News |
|
|
|
0 |
877 |
Software Releases - RSS News |
|
|
|
0 |
808 |
Software Releases - RSS News |
|
|
|
4 |
4,032 |
Infrastructure Monitoring |
|
|
|
0 |
1,928 |
Software Releases - RSS News |
|
|
|
0 |
1,073 |
Software Releases - RSS News |
|
|
|
0 |
786 |
Software Releases - RSS News |
|
|
|
0 |
1,186 |
Software Releases - RSS News |
|
|
|
0 |
2,135 |
Software Releases - RSS News |
|
|
|
0 |
1,389 |
Software Releases - RSS News |
|
|
|
0 |
1,191 |
Software Releases - RSS News |
|
|
|
0 |
1,214 |
Software Releases - RSS News |
|
|
|
0 |
1,060 |
Software Releases - RSS News |
|
|
|
0 |
1,964 |
UNIX and Linux RSS News |
|
|
|
1 |
1,845 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,996 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,220 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
5,086 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
78,966 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,355 |
Programming |
|
|
|
2 |
3,160 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
2 |
2,387 |
UNIX for Dummies Questions & Answers |
Tk_SetWindowVisual(3) Tk Library Procedures Tk_SetWindowVisual(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_SetWindowVisual - change visual characteristics of window
SYNOPSIS
#include <tk.h>
int
Tk_SetWindowVisual(tkwin, visual, depth, colormap)
ARGUMENTS
Tk_Window tkwin (in) Token for window.
Visual *visual (in) New visual type to use for tkwin.
int depth (in) Number of bits per pixel desired for tkwin.
Colormap colormap (in) New colormap for tkwin, which must be compatible with visual and depth.
_________________________________________________________________
DESCRIPTION
When Tk creates a new window it assigns it the default visual characteristics (visual, depth, and colormap) for its screen. Tk_SetWin-
dowVisual may be called to change them. Tk_SetWindowVisual must be called before the window has actually been created in X (e.g. before
Tk_MapWindow or Tk_MakeWindowExist has been invoked for the window). The safest thing is to call Tk_SetWindowVisual immediately after
calling Tk_CreateWindow. If tkwin has already been created before Tk_SetWindowVisual is called then it returns 0 and does not make any
changes; otherwise it returns 1 to signify that the operation completed successfully.
Note: Tk_SetWindowVisual should not be called if you just want to change a window's colormap without changing its visual or depth; call
Tk_SetWindowColormap instead.
KEYWORDS
colormap, depth, visual
Tk 4.0 Tk_SetWindowVisual(3)