pkg://Xarm-1.2.7.tar.gz:255173/
Xarm-1.2.7/
include/
Xarm/BulletinB.h
downloads
/* $Id: BulletinB.h,v 1.2 1997/04/07 15:33:17 glgay Exp $ */
/*
Copyright (C) 1993, 1994 Jettero Heller
Copyright (C) 1994, 1995 Peter Williams
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License
version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING. If not,
write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA.
*/
#if !defined(_XARM_BULLETINB_H_)
#define _XARM_BULLETINB_H_
/* ======================================================================= */
/* Include(s): */
#include <Xarm/Manager.h>
class BulletinBoardClass : public ManagerClass {
protected:
BulletinBoardClass() {} /* only a derived class can make this */
virtual WidgetClass classPointer() { return xmBulletinBoardWidgetClass; }
virtual _XtString className() { return (_XtString) "XmBulletinBoard"; }
public:
/* callbacks */
void focusCallback(XtCallbackProc fp, XtPointer udata = NULL);
void mapCallback(XtCallbackProc fp, XtPointer udata = NULL);
void unmapCallback(XtCallbackProc fp, XtPointer udata = NULL);
/* resources */
void allowOverlap(Boolean);
Boolean allowOverlap();
Boolean autoUnmanage();
void buttonFontList(XmFontList);
XmFontList buttonFontList();
void cancelButton(Widget);
Widget cancelButton();
void defaultButton(Widget);
Widget defaultButton();
void defaultPosition(Boolean);
Boolean defaultPosition();
void dialogStyle(unsigned char);
unsigned char dialogStyle();
void dialogTitle(char *str);
char *dialogTitle();
void labelFontList(XmFontList);
XmFontList labelFontList();
void marginHeight(Dimension);
Dimension marginHeight();
void marginWidth(Dimension);
Dimension marginWidth();
void noResize(Boolean);
Boolean noResize();
void resizePolicy(unsigned char);
unsigned char resizePolicy();
void shadowType(unsigned char);
unsigned char shadowType();
void textFontList(XmFontList);
XmFontList textFontList();
};
class BulletinBoard : public BulletinBoardClass {
public:
BulletinBoard(Widget p,
ArgList arglist = NULL,
Cardinal cnt = 0,
_XtString name = NULL);
BulletinBoard(_XtString name, Widget p);
BulletinBoard(Widget w_parent, XarmArg &args, _XtString name);
};
#endif