mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-28 22:20:50 +00:00
81 lines
2.4 KiB
C
81 lines
2.4 KiB
C
|
/*
|
||
|
GSInfoPanel.h
|
||
|
|
||
|
Standard GNUstep info panel
|
||
|
|
||
|
Copyright (C) 2000 Free Software Foundation, Inc.
|
||
|
|
||
|
Author: Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
Date: January 2000
|
||
|
|
||
|
This file is part of the GNUstep GUI Library.
|
||
|
|
||
|
This library is free software; you can redistribute it and/or
|
||
|
modify it under the terms of the GNU Library General Public
|
||
|
License as published by the Free Software Foundation; either
|
||
|
version 2 of the License, or (at your option) any later version.
|
||
|
|
||
|
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.LIB.
|
||
|
If not, write to the Free Software Foundation,
|
||
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||
|
*/
|
||
|
#ifndef _GNUstep_H_GSInfoPanel
|
||
|
#define _GNUstep_H_GSInfoPanel
|
||
|
|
||
|
#include <AppKit/NSPanel.h>
|
||
|
|
||
|
/* If you need an Info Panel, the simpler thing to do is to use
|
||
|
* NSApplication -orderFrontStandardInfoPanel: and
|
||
|
* NSApplication -orderFrontStandardInfoPanelWithOptions:.
|
||
|
* They automatically manage an infoPanel for you.
|
||
|
*/
|
||
|
|
||
|
@interface GSInfoPanel:NSPanel
|
||
|
{
|
||
|
}
|
||
|
/*
|
||
|
* Instance Methods
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
* The designated initializer
|
||
|
*
|
||
|
* Useful keys (with example values) for the dictionary are:
|
||
|
*
|
||
|
* ApplicationName = @"Gorm"
|
||
|
*
|
||
|
* ApplicationDescription = @"GNUstep Graphics Object Relationship Modeller"
|
||
|
*
|
||
|
* ApplicationIcon = an image
|
||
|
*
|
||
|
* ApplicationRelease = @"Gorm 0"
|
||
|
* (ApplicationVersion in place of ApplicationRelease is also accepted for macosx compatibility)
|
||
|
*
|
||
|
* FullVersionID = @"0.0.1 1999"
|
||
|
* (Version also accepted for macosx compatibility)
|
||
|
*
|
||
|
* Authors = an array of (NSString*)s, each one probably similar to the following
|
||
|
* @"Richard Frith-Macdonald <richard@brainstorm.co.uk>"
|
||
|
*
|
||
|
* URL = @"See http://www.gnustep.org"
|
||
|
* (still to fix/improve position of this thing so perhaps you don't want to use it)
|
||
|
*
|
||
|
* Copyright = @"Copyright (C) 1999, 2000 The Free Software Foundation, Inc."
|
||
|
*
|
||
|
* CopyrightDescription = @"Released under the GNU General Public License 2.0"
|
||
|
*
|
||
|
*/
|
||
|
-(id) initWithDictionary: (NSDictionary *)dictionary;
|
||
|
/*
|
||
|
* NB: Once initialized, a GSInfoPanel is immutable.
|
||
|
*/
|
||
|
@end
|
||
|
|
||
|
#endif /* _GNUstep_H_GSInfoPanel */
|