Quoting Chris Meredith <[EMAIL PROTECTED]>: > > That 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-
Unfortunatelly, Renaissance's capabilities of figuring out which method to invoke when you present it with an attribute are very limited. It can do so with key-value coding (e.g. someOutlet="#targetObjectID") in any object, but in order for it to be able to set more specific attributes of controls (such as enabled="NO" or color="red") it _must_ support that control type itself. Unfortunatelly, it doesn't support NSProgressIndicator (and the use of <view instanceOf="NSProgressIndicator"/> is just a hack to get around this limitation), so your best bet is to implement it in code yourself. I'd suggest you make use of the "-awakeFromGSMarkup" method (simmilar to "-awakeFromNib"). Saso _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
