mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 18:30:56 +00:00
Added some missing methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8441 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
465686e5f9
commit
f91e14c4f2
1 changed files with 21 additions and 12 deletions
|
@ -36,17 +36,11 @@
|
|||
@class NSString;
|
||||
@class NSEvent;
|
||||
|
||||
@interface NSButton : NSControl <NSCoding>
|
||||
@interface NSButton : NSControl
|
||||
{
|
||||
// Attributes
|
||||
}
|
||||
|
||||
//
|
||||
// Initializing the NSButton Factory
|
||||
//
|
||||
+ (Class)cellClass;
|
||||
+ (void)setCellClass:(Class)classId;
|
||||
|
||||
//
|
||||
// Setting the Button Type
|
||||
//
|
||||
|
@ -76,6 +70,13 @@
|
|||
- (void)setAlternateTitle:(NSString *)aString;
|
||||
- (void)setTitle:(NSString *)aString;
|
||||
- (NSString *)title;
|
||||
#ifndef STRICT_OPENSTEP
|
||||
- (NSAttributedString *)attributedAlternateTitle;
|
||||
- (NSAttributedString *)attributedTitle;
|
||||
- (void)setAttributedAlternateTitle:(NSAttributedString *)aString;
|
||||
- (void)setAttributedTitle:(NSAttributedString *)aString;
|
||||
- (void)setTitleWithMnemonic:(NSString *)aString;
|
||||
#endif
|
||||
|
||||
//
|
||||
// Setting the Images
|
||||
|
@ -94,6 +95,12 @@
|
|||
- (BOOL)isTransparent;
|
||||
- (void)setBordered:(BOOL)flag;
|
||||
- (void)setTransparent:(BOOL)flag;
|
||||
#ifndef STRICT_OPENSTEP
|
||||
- (NSBezelStyle)bezelStyle;
|
||||
- (void)setBezelStyle:(NSBezelStyle)bezelStyle;
|
||||
- (void)setShowsBorderOnlyWhileMouseInside:(BOOL)show;
|
||||
- (BOOL)showsBorderOnlyWhileMouseInside;
|
||||
#endif
|
||||
|
||||
//
|
||||
// Displaying
|
||||
|
@ -115,10 +122,12 @@
|
|||
- (BOOL)performKeyEquivalent:(NSEvent *)anEvent;
|
||||
|
||||
//
|
||||
// NSCoding protocol
|
||||
// Sound
|
||||
//
|
||||
- (void)encodeWithCoder:aCoder;
|
||||
- initWithCoder:aDecoder;
|
||||
#ifndef STRICT_OPENSTEP
|
||||
- (void)setSound:(NSSound *)aSound;
|
||||
- (NSSound *)sound;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue