discuss-gnustep
[Top][All Lists]
Advanced

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

Question about NSCell and NSMatrix


From: Peron, Stéphane
Subject: Question about NSCell and NSMatrix
Date: Wed, 24 Oct 2001 09:51:41 +0200

Hi all,

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]

where rect is a rectangle defined just before as NSRect

So , it does'nt seem to work. The compiler tell me it can't allocate memory
for this object.
Does anyone know how to init such an object ? 

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 ?

Thanks a lot for your help

Stephane

PS :
Sorry for my bad english :-) 


Ce message contient des informations confidentielles ou appartenant au
Crédit Lyonnais et est établi à l'intention exclusive de ses
destinataires. Toute divulgation, utilisation, diffusion ou reproduction
(totale ou partielle) de ce message, ou des informations qu'il contient,
doit être préalablement autorisée. Tout message électronique est
susceptible d'altération et son intégrité ne peut être assurée.
Le Crédit Lyonnais décline toute responsabilité au titre de ce
message s'il a été modifié ou falsifié. Si vous n'êtes pas
destinataire de ce message, merci de le détruire immédiatement et
d'avertir l'expéditeur de l'erreur de distribution et de la destruction
du message.

This e-mail contains confidential information or information belonging
to Crédit Lyonnais and is intended solely for the addressees.
The unauthorised disclosure, use, dissemination or copying (either whole
or partial) of this e-mail, or any information it contains, is prohibited.
E-mails are susceptible to alteration and their integrity cannot be guaranteed.
Crédit Lyonnais shall not be liable for this e-mail if modified or falsified.
If you are not the intended recipient of this e-mail, please delete it
immediately from your system and notify the sender of the wrong delivery
and the mail deletion.

reply via email to

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