XtConfigureWidget
NAMESYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO
NAME
XtConfigureWidget, XtMoveWidget, XtResizeWidget − move and resize widgets
SYNTAX
void XtConfigureWidget(Widget w, Position x, Position y, Dimension width, Dimension height, Dimension border_width); | |
void XtMoveWidget(Widget w, Position x, Position y); | |
void XtResizeWidget(Widget w, Dimension width, Dimension height, Dimension border_width); | |
void XtResizeWindow(Widget w); |
ARGUMENTS
width |
||
height |
border_width
Specify the new widget size.
w |
Specifies the widget. |
|||
x |
||||
y |
Specify the new widget x and y coordinates. |
DESCRIPTION
The XtConfigureWidget function returns immediately if the specified geometry fields are the same as the old values. Otherwise, XtConfigureWidget writes the new x, y, width, height, and border_width values into the widget and, if the widget is realized, makes an Xlib XConfigureWindow call on the widget’s window.
If either the new width or height is different from its old value, XtConfigureWidget calls the widget’s resize procedure to notify it of the size change; otherwise, it simply returns.
The XtMoveWidget function returns immediately if the specified geometry fields are the same as the old values. Otherwise, XtMoveWidget writes the new x and y values into the widget and, if the widget is realized, issues an Xlib XMoveWindow call on the widget’s window.
The XtResizeWidget function returns immediately if the specified geometry fields are the same as the old values. Otherwise, XtResizeWidget writes the new width, height, and border_width values into the widget and, if the widget is realized, issues an XConfigureWindow call on the widget’s window.
If the new width or height are different from the old values, XtResizeWidget calls the widget’s resize procedure to notify it of the size change.
The XtResizeWindow function calls the XConfigureWindow Xlib function to make the window of the specified widget match its width, height, and border width. This request is done unconditionally because there is no way to tell if these values match the current values. Note that the widget’s resize procedure is not called.
There are very few times to use XtResizeWindow; instead, you should use XtResizeWidget.
SEE ALSO
XtMakeGeometryRequest(3Xt),
XtQueryGeometry(3Xt)
X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface
More Linux Commands
manpages/XwcTextExtents.3.html
XwcTextExtents(3) - compute text extents - Linux man page...
The XmbTextExtents, XwcTextExtents and Xutf8TextExtents functions set the components of the specified overall_ink_return and overall_logical_return arguments to
manpages/key_gendes.3.html
key_gendes(3) - interfaces to rpc keyserver daemon (ManPage)
The functions here are used within the RPCs secure authentication mechanism (AUTH_DES). There should be no need for user programs to use this functions. The fun
manpages/pgmtopbm.1.html
pgmtopbm(1) - convert a PGM image to PBM - Linux man page...
This program is part of Netpbm(1) This program is obsolete since Netpbm 10.23 (July 2004). Use pamditherbw(1) to do what this program used to do. pgmtopbm never
manpages/idmap_adex.8.html
idmap_adex(8) - Samba's idmap_adex Backend for Winbind......
The idmap_adex plugin provides a way for Winbind to read id mappings from an AD server that uses RFC2307 schema extensions. This module implements both the idma
manpages/__malloc_initialize_hook.3.html
__malloc_initialize_hook(3) malloc debugging variables......
The GNU C library lets you modify the behavior of malloc(3), realloc(3), and free(3) by specifying appropriate hook functions. You can use these hooks to help y
manpages/systemd-modules-load.service.8.html
systemd-modules-load.service(8) Configure kernel modules to
systemd-modules-load.service is an early-boot service that loads kernel modules from static configuration. See modules-load.d(5) for information about the confi
manpages/utime.2.html
utime(2) - change file last access and modification times...
Note: modern applications may prefer to use the interfaces described in utimensat(2). The utime() system call changes the access and modification times of the i
manpages/glIndexf.3gl.html
glIndexf(3gl) - set the current color index - Linux man page
glIndex updates the current (single-valued) color index. It takes one argument, the new value for the current color index. The current index is stored as a floa
manpages/acyclic.1.html
acyclic(1) - make directed graph acyclic - Linux man page...
acyclic is a filter that takes a directed graph as input and outputs a copy of the graph with sufficient edges reversed to make the graph acyclic. The reversed
manpages/pvremove.8.html
pvremove(8) - remove a physical volume - Linux manual page
pvremove wipes the label on a device so that LVM will no longer recognise it as a physical volume. OPTIONS See lvm(8) for common options. -ff, --force --force F
manpages/arping.8.html
arping(8) - send ARP REQUEST to a neighbour host (Man Page)
Ping destination on device interface by ARP packets, using source address source. OPTIONS -A The same as -U, but ARP REPLY packets used instead of ARP REQUEST.
manpages/nisdomainname.8.html
nisdomainname(8) - set or display name of current NIS(YP) do
Without an argument, domainname displays the name of the current NIS domainname of the system. domainname uses the getdomainname(2) function for getting the dom
