Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ GrvtyNotify(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

GravityNotify — X GravityNotify Event

WHEN GENERATED

A GravityNotify event reports when a window is moved because of a change in the size of its parent.  This happens when the win_gravity attribute of the child window is something other than StaticGravity or UnmapGravity. 

SELECT WITH

This event is selected for a single window by specifying the window ID of that window with StructureNotifyMask.  To receive notification of movement due to gravity for a group of siblings, specify the parent window ID with SubstructureNotifyMask. 

XEVENT STRUCTURE NAME

typedef union _XEvent { ... XGravityEvent xgravity; ... } XEvent;

EVENT STRUCTURE

typedef struct { int type;  unsigned long serial; /∗ # of last request processed by server ∗/  Bool send_event; /∗ True if this came from SendEvent request ∗/  Display ∗display; /∗ Display the event was read from ∗/  Window event;  Window window;  int x, y; } XGravityEvent;

EVENT STRUCTURE MEMBERS

eventThe window that selected the event. 

windowThe window that was moved. 

x, yThe new coordinates of the window relative to its parent. 

Xlib Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026