discuss-gnustep
[Top][All Lists]
Advanced

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

[gnu.gnustep.discuss] Gorm controls addition - help?


From: Shellac
Subject: [gnu.gnustep.discuss] Gorm controls addition - help?
Date: 11 Jul 2001 16:44:04 +0100
User-agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Academic Rigor)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I posted this to the newsgroup, but didn't get any response. Any ideas
here?

Shellac

--- Begin Message --- Subject: Gorm controls addition - help? Date: 10 Jul 2001 17:12:38 +0100 User-agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Academic Rigor)
Hi,

Forgive my ignorance in what follows, but I've only recently started
tinkering with GnuStep. Now ProjectCentre and Gorm are working
together I've really become interested.

I wanted to add a table (with scrollbars) to an application I've been
playing with (just a learning exercise). Working on the fish/rod
principle I thought that I'd try to add such a control to Gorm. I wasn't
hopeful, but Gorm wasn't as daunting as I thought it would be. I added
the control to Gorm/Palettes/2Controls/main.m (an NSScrollView with an
NSTableView as its contents, populated with a couple of example
columns).

In what must be counted as a shock, it worked (i.e. I could see it and
drag it to a window). However when added to a window it seems (?) to
lose its content (ie the table), eg dragging an outlet to the content
of the ScrollView shows ((nil)) in the connection.

So simple question - is this easy to fix? And what else do I need to
do to make this a useful addition? IIRC MacOS X IB lets you rename the
columns, add, and delete them amongst other useful things. I just
wanted to get to the point where I could reference the table with an
outlet.

Thanks,

Shellac

Lame change follows (be kind ;-):

Attachment: gorm.diff
Description: silly patch



- -- 
Key fingerprint = FC31 23CA 3EBA E30D 2F20 D7EA 8C8F BB0A 49CA 5201
I use and endorse MkLinux, MacOS, GnuPG, Xemacs, Alpha (text
processor), wwwoffle, w3m, Gnus, Leafnode, Cherry Coke, PG Tips. They
do not sponsor me. Despite endless requests.

--- End Message ---

- -- 
Key fingerprint = FC31 23CA 3EBA E30D 2F20 D7EA 8C8F BB0A 49CA 5201
I use and endorse MkLinux, MacOS, GnuPG, Xemacs, Alpha (text
processor), wwwoffle, w3m, Gnus, Leafnode, Cherry Coke, PG Tips. They
do not sponsor me. Despite endless requests.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard 
<http://www.gnupg.org/>

iD8DBQE7THRDjI+7CknKUgERAt5EAKCZTtPPKPynK2KeRNoa+kkU57CzMwCfcY20
fYBpKWpWI0FSyOQBL5CeV4k=
=FZpI
-----END PGP SIGNATURE-----

reply via email to

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