mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:40:37 +00:00
More implementation of NSGridView
This commit is contained in:
parent
31432274a6
commit
dbd46a5839
3 changed files with 33 additions and 11 deletions
|
@ -56,15 +56,18 @@ typedef NSInteger NSGridRowAlignment;
|
|||
|
||||
APPKIT_EXPORT const CGFloat NSGridViewSizeForContent;
|
||||
|
||||
@class NSGridColumn, NSGridRow, NSGridCell;
|
||||
@class NSGridColumn, NSGridRow, NSGridCell, NSArray, NSMutableArray;
|
||||
|
||||
@interface NSGridView : NSView
|
||||
|
||||
{
|
||||
NSMutableArray *_rows;
|
||||
}
|
||||
|
||||
- (instancetype) initWithFrame: (NSRect)frameRect;
|
||||
- (instancetype) initWithCoder: (NSCoder *)coder;
|
||||
|
||||
+ (instancetype) gridViewWithNumberOfColumns: (NSInteger)columnCount rows: (NSInteger)rowCount;
|
||||
+ (instancetype) gridViewWithViews: (NSArray *)rows; // an array containing an array of NSViews
|
||||
+ (instancetype) gridViewWithViews: (NSArray *)rows; // an NSArray containing an NSArray of NSViews
|
||||
|
||||
- (NSInteger) numberOfRows;
|
||||
- (NSInteger) numberOfColumns;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue