--- 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 ;-):
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 ---