Re: Problem with Renaissance and InstanceOf
Quoting Chris Meredith [EMAIL PROTECTED]: Greetings. I'm trying to use GNUstep Renaissance as a means of designing user interfaces for Mac OS X applications (because Interface Builder's lack of support for assistive technology for the blind is driving me up a wall 'cause, well, I'm blind, and because Apple has decided that blind people are more likely to want to use iTunes than Interface Builder (how could they *THINK* such things!), because candor compells me to admit that Apple's probably right on that one, and because waiting for Apple to add support for Interface Builder to their screen reader for OS X is not an option (because I only have so much lifespan)). At any rate, I'm trying to figure out how to instantiate, say, a NSProgressIndicator object (which I'm presuming is specific to OS X), with code such as the following: gsmarkup objects window title=foo/ vbox ... view instanceOf=NSProgressIndicator height=12/ ... /vbox /window /objects /gsmarkup I can't instantiate ANYTHING, by the looks of things, using the instanceOf attribute either with the instance or view tag (I also attempted to instantiate an NSButton object per one of the examples). No joy. Just an empty window. NSProgressIndicator isn't specific to Apple - the old OpenStep specification (from which both Cocoa and GNUstep are derived) had it too. About the code: I'm not sure whether it's just a typo in the code you pasted, but the window specification should be like this: window title=foo vbox view instanceOf=NSProgressIndicator height=12/ /vbox /window (without the trailing slash in the window opening tag, and the height attribute value quoted) Anyways, in the case of the view tag you should define both the width and height attributes (or in some form tell the view it's width). That's because Renaissance can't figure out the correct size of the view to fit it's contents. Maybe something like the following will help: window title=foo vbox view instanceOf=NSProgressIndicator halign=expand height=12/ /vbox /window Also, in an attempt to compile Renaissance from source, which led to an attempt to get GNUstep Make, which led to an attempt to get GNUstep Startup, I got an error telling me that the system couldn't use my Objective-C compiler to make binaries. Is the Apple gcc incompatible with building GNUstep and, if I completely replaced it with the FSF compiler, would it break Apple's toolchain? I was under the strange impression that they were equivalent. -C- ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep Apple has a specically modified derivate of GCC. Replacing the Apple GCC with the GNU GCC would therefore most likely not be a very good idea. But this is only my guess - I never tried it myself. Regards Saso ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep
Re: Problem with Renaissance and InstanceOf
Someones already answered the bit above, but I wanted to anser this before I vanish for ten days... Also, in an attempt to compile Renaissance from source, which led to an attempt to get GNUstep Make, which led to an attempt to get GNUstep Startup, I got an error telling me that the system couldn't use my Objective-C compiler to make binaries. Is the Apple gcc incompatible with building GNUstep and, if I completely replaced it with the FSF compiler, would it break Apple's toolchain? I was under the strange impression that they were equivalent. This should work fine. We use renaissance here as a way to build tools for both FreeBSD and OSX from the same source. We havent tried under Tiger, but earlier releases you simply install GNUstep make and then build Renaissance and it works fine. The Apple gcc works well with this, and we use this all the time. I know that doesnt answer your question, but it might give you a bit of confidence that what you are trying to do atually works and is used in practice. I handed off all this development work to my colleague a while ago, and I've asked him to drop in on this list and see if he's got anything useful to contribute possibly. Personally, Renaisssance was about the most important thing which happened to GNUstep for me. It's cerrtainly the one thing which changed it from being a bit of a novelty into something useful for writing applications again. I wish I had more free time to put into it. -bat. ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep
Re: Problem with Renaissance and InstanceOf
On Aug 5, 2005, at 2:07 AM, Sašo Kiselkov wrote:NSProgressIndicator isn't specific to Apple - the old OpenStep specification(from which both Cocoa and GNUstep are derived) had it too.About the code: I'm not sure whether it's just a typo in the code you pasted,but the window specification should be like this:window title="foo" vbox view instanceOf="NSProgressIndicator" height="12"/ /vbox/window(without the trailing slash in the window opening tag, and the "height"attribute value quoted)Anyways, in the case of the "view" tag you should define both the width andheight attributes (or in some form tell the view it's width). That's becauseRenaissance can't figure out the correct size of the view to fit it's contents.Maybe something like the following will help:window title="foo" vbox view instanceOf="NSProgressIndicator" halign="expand" height="12"/ /vbox/windowThat turned the trick nicely to get the actual progress indicator to show up. Now, a different problem seems to have come up, in that I can't set the progress indicator's style or the fact that the progress indicator is not indeterminate. I know Cocoa provides both a setStyle and a setIndeterminate method, and I was left under the perhaps mistaken impression that including "style" and "indeterminate" attributes would have called those methods--although, in retrospect, this sort of thing may have only worked when setting up outlets. Short of putting code in a delegate object to set up the progress indicator, is there a way of setting its style such that it doesn't automagically default to the spinning barber pole when what I'm looking for is the rectangular progress indicator?-C-___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep
Problem with Renaissance and InstanceOf
Greetings. I'm trying to use GNUstep Renaissance as a means of designing user interfaces for Mac OS X applications (because Interface Builder's lack of support for assistive technology for the blind is driving me up a wall 'cause, well, I'm blind, and because Apple has decided that blind people are more likely to want to use iTunes than Interface Builder (how could they *THINK* such things!), because candor compells me to admit that Apple's probably right on that one, and because waiting for Apple to add support for Interface Builder to their screen reader for OS X is not an option (because I only have so much lifespan)). At any rate, I'm trying to figure out how to instantiate, say, a NSProgressIndicator object (which I'm presuming is specific to OS X), with code such as the following: gsmarkup objects window title=foo/ vbox ... view instanceOf=NSProgressIndicator height=12/ ... /vbox /window /objects /gsmarkup I can't instantiate ANYTHING, by the looks of things, using the instanceOf attribute either with the instance or view tag (I also attempted to instantiate an NSButton object per one of the examples). No joy. Just an empty window. Also, in an attempt to compile Renaissance from source, which led to an attempt to get GNUstep Make, which led to an attempt to get GNUstep Startup, I got an error telling me that the system couldn't use my Objective-C compiler to make binaries. Is the Apple gcc incompatible with building GNUstep and, if I completely replaced it with the FSF compiler, would it break Apple's toolchain? I was under the strange impression that they were equivalent. -C- ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep
Re: Problem with Renaissance and InstanceOf
just out of curiosity are you completely blind? I'm just amazed to see that blind people could be advanced computer users - Original Message - From: Chris Meredith [EMAIL PROTECTED] To: discuss-gnustep@gnu.org Sent: Friday, August 05, 2005 1:18 PM Subject: Problem with Renaissance and InstanceOf Greetings. I'm trying to use GNUstep Renaissance as a means of designing user interfaces for Mac OS X applications (because Interface Builder's lack of support for assistive technology for the blind is driving me up a wall 'cause, well, I'm blind, and because Apple has decided that blind people are more likely to want to use iTunes than Interface Builder (how could they *THINK* such things!), because candor compells me to admit that Apple's probably right on that one, and because waiting for Apple to add support for Interface Builder to their screen reader for OS X is not an option (because I only have so much lifespan)). At any rate, I'm trying to figure out how to instantiate, say, a NSProgressIndicator object (which I'm presuming is specific to OS X), with code such as the following: gsmarkup objects window title=foo/ vbox ... view instanceOf=NSProgressIndicator height=12/ ... /vbox /window /objects /gsmarkup I can't instantiate ANYTHING, by the looks of things, using the instanceOf attribute either with the instance or view tag (I also attempted to instantiate an NSButton object per one of the examples). No joy. Just an empty window. Also, in an attempt to compile Renaissance from source, which led to an attempt to get GNUstep Make, which led to an attempt to get GNUstep Startup, I got an error telling me that the system couldn't use my Objective-C compiler to make binaries. Is the Apple gcc incompatible with building GNUstep and, if I completely replaced it with the FSF compiler, would it break Apple's toolchain? I was under the strange impression that they were equivalent. -C- ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep