[REBOL] arguments from/to request-font
From: d4marcus:dtek:chalmers:se at: 21-Dec-2000 21:44
I have started writing a request-font function for View, which I think
would go nicely with the other request-* functions. But I'm not sure about
the input and output. Currently it takes no arguments, and returns a font
object, or None if canceled. This is probably not very useful in most
situations, so I'd like to hear some opinions on this.
Consider for example a text-editor (area) for which you'd like to change
the font. If there's no previous formatting, you wouldn't need to pass an
argument, so the current function (which btw remembers the current state)
would work. This hardly seems like a good example though.
Then there's the issue if it's good to return a font object. Perhaps it
would be better to return a block like [name: "times" style: none ... ].
Marcus
------------------------------------
If you find that life spits on you
calm down and pretend it's raining