Re: GUI Objects on the fly
Re: GUI Objects on the fly
- Subject: Re: GUI Objects on the fly
- From: Brian Ganninger <email@hidden>
- Date: Sat, 22 Mar 2003 18:34:28 -0600
I have a question in a similar vein to the subject of this one so I thought
I'd field it to the list in hopes that someone can easily point me to a
solution.
I've designed a custom view that I'd like to use in a list-style display
(such that it would basically be a tableview with each row being the custom
view) Is there a way to do such a thing? (custom view as a tablerow's
contents) Or is there another solution to creating this (like an NSMatrix)?
(the rows would be created when the app is launched inside a while loop)
Thanks for your help.
- Brian Ganninger
----
" An Apple a day keeps the PC away."
" Ever notice that Apples fall from the sky while computers get thrown out
Windows?"
On 3/22/03 3:21 PM, "j o a r" <email@hidden> wrote:
Of course. But you need to ask a more direct question for us to be able
to give you any other answer.
I take it that you wonder if you can create GUI elements
programatically, and not only in Interface Builder? The answer to that
question is of course also yes. IB is only a (very helpful) tool to do
what you could have done all in code using the GUI classes, ie.
NSWindow, NSButton, NSTextField, etc.
It's easy, bordering on trivial, to read a plist into a NSDictionary.
You can then parse the contents of this dictionary to populate your pop
up buttons, create additional controls, etc. at runtime.
j o a r
On Saturday, Mar 22, 2003, at 22:10 Europe/Stockholm, Jason Kenney
wrote:
>
Is it possible for a NSPopupButton or a TextField to only appear if a
>
plist specifies it.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.