discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about NSCell and NSMatrix


From: Nicola Pero
Subject: Re: Question about NSCell and NSMatrix
Date: Wed, 24 Oct 2001 10:58:36 +0100 (BST)

> I have downloaded appkit methods from apple site (thanks to you :-) ).
> 
> Well, I'm working on an application for which the main panel would display a
> matrix of objects. 
> First, I ve tried to init an NSMatrix object  like that :
> 
> NSMatrix matrice = [[NSMatrix alloc] initWithFrame:
> rect:NSTrackModeMatrix:classcell:5:1]

 NSMatrix *matrice = [[NSMatrix alloc] initWithFrame: ...];


> Secondly, I'd like to display objects in this matrix. I've read the
> documentation concerning NSCell and it seems that we only can display text
> and images into.
> So, Does anyone know how I could display for exemple a button or a
> checkbutton in an NSCell object ?
> I think the better for me is to have sources of an application that use
> these collection of objects. Is there actually such an application among the
> Gnustep apps ?

Have a look into examples/gui/, you should find example code for most
objects there.

You might want to try out Gorm ... that should allow you to create a
matrix of buttons without having to write any code.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]