mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 18:21:08 +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 NSString;
|
||||||
@class NSEvent;
|
@class NSEvent;
|
||||||
|
|
||||||
@interface NSButton : NSControl <NSCoding>
|
@interface NSButton : NSControl
|
||||||
{
|
{
|
||||||
// Attributes
|
// Attributes
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Initializing the NSButton Factory
|
|
||||||
//
|
|
||||||
+ (Class)cellClass;
|
|
||||||
+ (void)setCellClass:(Class)classId;
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Setting the Button Type
|
// Setting the Button Type
|
||||||
//
|
//
|
||||||
|
@ -57,8 +51,8 @@
|
||||||
//
|
//
|
||||||
- (void)setState:(int)value;
|
- (void)setState:(int)value;
|
||||||
- (int)state;
|
- (int)state;
|
||||||
- (BOOL) allowsMixedState;
|
- (BOOL)allowsMixedState;
|
||||||
- (void) setAllowsMixedState: (BOOL)flag;
|
- (void)setAllowsMixedState: (BOOL)flag;
|
||||||
- (void)setNextState;
|
- (void)setNextState;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -76,6 +70,13 @@
|
||||||
- (void)setAlternateTitle:(NSString *)aString;
|
- (void)setAlternateTitle:(NSString *)aString;
|
||||||
- (void)setTitle:(NSString *)aString;
|
- (void)setTitle:(NSString *)aString;
|
||||||
- (NSString *)title;
|
- (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
|
// Setting the Images
|
||||||
|
@ -94,6 +95,12 @@
|
||||||
- (BOOL)isTransparent;
|
- (BOOL)isTransparent;
|
||||||
- (void)setBordered:(BOOL)flag;
|
- (void)setBordered:(BOOL)flag;
|
||||||
- (void)setTransparent:(BOOL)flag;
|
- (void)setTransparent:(BOOL)flag;
|
||||||
|
#ifndef STRICT_OPENSTEP
|
||||||
|
- (NSBezelStyle)bezelStyle;
|
||||||
|
- (void)setBezelStyle:(NSBezelStyle)bezelStyle;
|
||||||
|
- (void)setShowsBorderOnlyWhileMouseInside:(BOOL)show;
|
||||||
|
- (BOOL)showsBorderOnlyWhileMouseInside;
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Displaying
|
// Displaying
|
||||||
|
@ -115,10 +122,12 @@
|
||||||
- (BOOL)performKeyEquivalent:(NSEvent *)anEvent;
|
- (BOOL)performKeyEquivalent:(NSEvent *)anEvent;
|
||||||
|
|
||||||
//
|
//
|
||||||
// NSCoding protocol
|
// Sound
|
||||||
//
|
//
|
||||||
- (void)encodeWithCoder:aCoder;
|
#ifndef STRICT_OPENSTEP
|
||||||
- initWithCoder:aDecoder;
|
- (void)setSound:(NSSound *)aSound;
|
||||||
|
- (NSSound *)sound;
|
||||||
|
#endif
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue