Re: Re: [view] changing window title. -- vid 1.3 -- I think that the new 'set-face accessor can do this job on a window.
lay: layout/size [ btn "Title 1" [set-face lay "Bye everybody !"] 300x100 btn "Title 2" [set-face lay "Ok I stay here"] ] lay/access: make lay/access [ set-face*: func [face value] [ face/text: value face/changes: 'text ] ] view/title lay "Hello world" It will be better that the 'view func set the accessor for us (like it does with the feel). DideC > Gabriele Santilli wrote: > > >Hi Petr, > > > >On Friday, January 23, 2004, 5:00:21 PM, you wrote: > > > >PK> but it still seems to me as quick hack done quickly at some point. Why > >PK> should similar functionalities, which are not platform dependant, being > >PK> done that way? Why it is not handled via normal event flow? It is imo > >PK> far from being intuitive to do various things that way ... > > > >How would you do it? > > > > > win: view layout [blabla] > > later on: > > win/text: "new title" show win .... > > I know that it would cause refresh of whole display probably, but you > don't change window title so often, right? > > -pekr- > > > >Regards, > > Gabriele. > > > > > > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.