XtWindow() XtWindow()
Name
XtWindow - return the window of the specified widget.
Synopsis
Window XtWindow(w)
Widget w;
Inputs
w Specifies the widget. Must be of class Core or any subclass thereof.
Returns
The window of w.
Description
XtWindow() returns the window of the specified widget. Note that the window is obtained from the Core window field, which may be NULL if
the widget has not yet been realized.
Usage
XtWindow() is implemented as a function when called from application code, but is replaced by a more efficient macro when called from wid-
get code that includes the file <X11/IntrinsicP.h>.
Use XtWindowOfObject() to return the window of a widget or the nearest widget ancestor of a non-widget object.
See AlsoXtDisplay(1), XtScreen(1), XtWindowOfObject(1), XtWindowToWidget(1).
Xt - Object Information XtWindow()
Check Out this Related Man Page
DtEditorGetSizeHints(library call) DtEditorGetSizeHints(library call)
NAME
DtEditorGetSizeHints -- retrieve sizing information from a DtEditor widget
SYNOPSIS
#include <Dt/Editor.h>
void DtEditorGetSizeHints(
Widget widget,
XSizeHints *pHints);
DESCRIPTION
The DtEditorGetSizeHints function retrieves the current sizing information from a DtEditor widget, allowing the application to compute
appropriate size hints for the window manager.
The widget argument specifies the DtEditor widget ID.
The pHints argument is a pointer to an XSizeHints structure into which the current sizing information is placed. The fields in this struc-
ture do not have to contain any values when it is passed in.
Upon successful completion, the DtEditorGetSizeHints function fills in the following fields of the XSizeHints structure: minimum width (
min_width) and height ( min_height); width ( width_inc) and height ( height_inc) increment; and base width ( base_width) and height (
base_height); otherwise, the structure is unchanged. The Flags field is set to:
PMinSize | PResizeInc | PBaseSize
RETURN VALUE
The DtEditorGetSizeHints function returns no value.
EXAMPLES
The following code segment sets the resize increment and minimum window size properties for the application.
Widget editor,
application_shell;
Display display;
XSizeHints size_hints;
long supplied_return;
XGetWMSizeHints(display, XtWindow(application_shell),
&size_hints, &supplied_return, XA_WM_NORMAL_HINTS);
DtEditorGetSizeHints(editor, &size_hints);
XSetWMSizeHints(display, XtWindow(application_shell),
&size_hints, XA_WM_NORMAL_HINTS);
SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3).
DtEditorGetSizeHints(library call)
I have a problem witch my fluxbox, I can't configurie my keys.
I wrote :
Mod1 Tab :NextWindow
Mod1 F1 :Workspace 1
Mod1 F2 :Workspace 2
Mod1 F3 :Workspace 3
Mod1 F4 :Workspace 4
and I can't use F1 , F2 ...
any suggestion ??
thx
cU (2 Replies)
I have a Motif Application created with XtVaAppInitialize. I have two field widgets, created with XmCreateTextField. Now when I programmatically change the data in any of the two fields, the widgets don't get refreshed, only after a mouse over.
I have tried anything, from including the "xrefresh"... (4 Replies)
For keybinds, have used bbkeys with blackbox. Now, I can not compile it on debian 10, so I try to use xbindkeys
It work OK with commands, but not with blackbox actions, such as Alt+F4 to "close window", or Alt+Tab to "switch tasks", and so. I have searched the internet but I can't find data about... (1 Reply)