/usr/include/xview/wmgr.h is in xviewg-dev 3.2p1.4-28.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | /* @(#)wmgr.h 20.24 93/06/28 SMI */
#ifndef xview_wmgr_DEFINED
#define xview_wmgr_DEFINED 1
#include <xview/xv_c_types.h>
#include <xview/frame.h>
/*
* (c) Copyright 1989 Sun Microsystems, Inc. Sun design patents
* pending in the U.S. and foreign countries. See LEGAL_NOTICE
* file for terms of the license.
*/
/*
* This header file describes the interface to a window management mechanism.
* A menu interface to these functions is also provided.
* Typically, a tool window is responsible for window management.
*/
#define WMGR_ICONIC WUF_WMGR1 /* Indicates window is iconic
in user flags of window */
#define WMGR_SUBFRAME WUF_WMGR3 /* Indicates window is a sub-frame
in user flags of window */
#define WMGR_SETPOS -1 /* Indicates "use default" in
wmgr_figure*rect calls */
/* for XGetProperty call, indicate no deleting the existing property after
* a get
*/
#define WMGR_NO_DELETE FALSE
typedef enum {
WM_None, WM_N, WM_NE, WM_E, WM_SE, WM_S, WM_SW, WM_W, WM_NW
} WM_Direction;
/*
* Basic window management operations.
* Move and stretch require user interaction.
*/
EXTERN_FUNCTION (void wmgr_open, (Frame frame_public));
EXTERN_FUNCTION (void wmgr_close, (Frame frame_public));
EXTERN_FUNCTION (void wmgr_top, (Frame frame));
EXTERN_FUNCTION (void wmgr_bottom, (Frame frame));
/*
* Exported by wmgr_rect.c:
*/
EXTERN_FUNCTION (void wmgr_completechangerect, (Xv_opaque window, Rect *newrect, Rect *origrect, int parentprleft, int parentprtop));
EXTERN_FUNCTION (void wmgr_refreshwindow, (Xv_opaque window));
/*
* Exported by wmgr_state.c:
*/
EXTERN_FUNCTION (void wmgr_changelevel, (Xv_object window, int parent, int top));
/*
* Fork programname with otherargs. Place its normal rect at normalrect.
* Place its icon rect at iconrect. Iconicflag indicates the original
* state of the tool. Positioning/state information are only hints.
* The tool can ignore them.
*
* NOTE: This function prototype exists only for backwards compatibility reasons.
* In wmgr_menu.c, it is marked Pkg_private. It's use is highly discouraged.
*/
EXTERN_FUNCTION (int wmgr_forktool, (char *programname, char *otherargs, Rect *rectnormal, Rect *recticon, int iconic));
#endif
|