1
/* This software is subject to the terms of the Common Public License
2
You must accept the terms of this license to use this software.
4
Copyright (C) 2002, International Business Machines Corporation
5
and others. All Rights Reserved.
7
Further information about Common Public License Version 0.5 is obtained
8
from url http://oss.software.ibm.com/developer/opensource/license-cpl.html */
10
/* $TOG: Iterm.h /main/7 1998/02/06 12:50:56 kaleb $ */
14
Copyright 1987, 1998 The Open Group
18
The above copyright notice and this permission notice shall be included in
19
all copies or substantial portions of the Software.
21
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
25
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
26
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
Except as contained in this notice, the name of The Open Group shall not be
29
used in advertising or otherwise to promote the sale, use or other dealings
30
in this Software without prior written authorization from The Open Group.
33
/* $XFree86: xc/lib/Xaw/Template.h,v 1.4 1998/10/03 08:42:23 dawes Exp $ */
40
Name Class RepType Default Value
41
---- ----- ------- -------------
42
background Background Pixel XtDefaultBackground
43
border BorderColor Pixel XtDefaultForeground
44
borderWidth BorderWidth Dimension 1
45
destroyCallback Callback Pointer NULL
46
height Height Dimension 0
47
mappedWhenManaged MappedWhenManaged Boolean True
48
sensitive Sensitive Boolean True
49
width Width Dimension 0
55
/* define any special resource names here that are not in <X11/StringDefs.h> */
56
#define XtNbaseSizeChange "baseSizeChange"
57
#define XtNcellSizeChange "cellSizeChange"
59
#define XtNscrollBarLeft "scrollBarLeft"
60
#define XtCScrollBarLeft "ScrollBarLeft"
62
#define XtNconnectionClosed "connectionClosed"
63
#define XtCConnectionClosed "ConnectionClosed"
65
#define XtNvideoChanged "videoChanged"
66
#define XtCvideoChanged "VideoChanged"
68
/* declare specific ItermWidget class and instance datatypes */
69
typedef struct _ItermClassRec *ItermWidgetClass;
70
typedef struct _ItermRec *ItermWidget;
72
/* declare the class constant */
73
extern WidgetClass itermWidgetClass;
76
int ItermGetBaseWidth(Widget w);
77
int ItermGetBaseHeight(Widget w);
78
int ItermGetCellWidth(Widget w);
79
int ItermGetCellHeight(Widget w);
80
void ItermSelectFont(Widget w, int font_num);
81
void ItermSetScrollbar(Widget w, Boolean on);
82
void ItermSetScrollbarLeft(Widget w, Boolean on);
83
Boolean ItermIsScrollbarOn(Widget w);
84
Boolean ItermIsScrollbarLeft(Widget w);
85
void ItermSetVisualBell(Widget w, Boolean on);
86
Boolean ItermIsVisualBell(Widget w);
87
void ItermSetReverseVideo(Widget w, Boolean on);
88
Boolean ItermIsReverseVideo(Widget w);