XSetWMHints(3X11)XSetWMHints(3X11)Name
XSetWMHints, XGetWMHints - set or get window manager hints
Syntax
XSetWMHints(display, w, wmhints)
Display *display;
Window w;
XWMHints *wmhints;
XWMHints *XGetWMHints(display, w)
Display *display;
Window w;
Arguments
display Specifies the connection to the X server.
w Specifies the window.
wmhints Specifies a pointer to the window manager hints.
Description
The function sets the window manager hints that include icon information and location, the initial state of the window, and whether the
application relies on the window manager to get keyboard input.
can generate and errors.
The function reads the window manager hints and returns NULL if no WM_HINTS property was set on the window or a pointer to a structure if
it succeeds. When finished with the data, free the space used for it by calling
can generate a error.
Property
WM_HINTS
Diagnostics
The server failed to allocate the requested resource or server memory.
A value for a Window argument does not name a defined Window.
See AlsoXSetClassHint(3X11), XSetCommand(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetNormalHints(3X11), XSetSizeHints(3X11), XSetStan-
dardProperties(3X11), XSetTransientForHint(3X11), XSetZoomHints(3X11), XStoreName(3X11)
Guide to the Xlib Library
XSetWMHints(3X11)
Check Out this Related Man Page
XSetClassHint(3X11)XSetClassHint(3X11)Name
XSetClassHint, XGetClassHint - set or get class hint
Syntax
XSetClassHint(display, w, class_hints)
Display *display;
Window w;
XClassHint *class_hints;
Status XGetClassHint(display, w, class_hints_return)
Display *display;
Window w;
XClassHint *class_hints_return;
Arguments
class_hints
Specifies a pointer to a structure that is to be used.
class_hints_return
Returns the structure.
display Specifies the connection to the X server.
w Specifies the window.
Description
The function sets the class hint for the specified window.
can generate and errors.
The function returns the class of the specified window. To free res_name and res_class when finished with the strings, use
can generate a error.
Property
WM_CLASS
Diagnostics
The server failed to allocate the requested resource or server memory.
A value for a Window argument does not name a defined Window.
See AlsoXSetCommand(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetNormalHints(3X11), XSetSizeHints(3X11), XSetStandardProperties(3X11),
XSetTransientForHint(3X11), XSetWMHints(3X11), XSetZoomHints(3X11), XStoreName(3X11)
Guide to the Xlib Library
XSetClassHint(3X11)
Hi UNIX guys,
I occasionally meet such problem when I am using my X Window:
The machine suddenly hangs up. Mouse pointer doesn't move, Ctrl+Alt+Del doesn't work, Ctrl+Alt+Backspace doesn't work either. I have to turn the power off to reboot.
My machine is like following,
- OS: Red Hat... (2 Replies)
Dear all !
When I use X-manager 1.3.9 to connect with server in HP -Unix .It's okey
But when I use it to connect with Sun Solaris 8 .It can't display
So can you help me to solve this (4 Replies)
An interesting puzzle. I run character based compiled C-Programs in a Unix environment on PCs in a Window. I want to be able to call up and display in a separate window a picture of a product called by a Unix shell script from within my Unix program.
Ideally I would like to have a script that... (4 Replies)
Hi there,
Anything will help.
I have running server on computer and want to connect from some clients.
Server:
memset(&hints, 0, sizeof(hints));
hints.ai_family = domain;
hints.ai_socktype = SOCK_STREAM;
error = getaddrinfo("localhost", "8300", &hints, &res0);
if (error)
{
... (1 Reply)