Updating all the browser

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Updating all the browser

Offray
Hi,

Reading the list, I remember some mail about a message to update the
whole browser, but I can't find it again. Which message I have to send
for that?

Cheers,

Offray
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Updating all the browser

Tudor Girba-2
update :)

Doru

On Wed, Jan 7, 2015 at 9:59 PM, Offray Vladimir Luna Cárdenas <[hidden email]> wrote:
Hi,

Reading the list, I remember some mail about a message to update the whole browser, but I can't find it again. Which message I have to send for that?

Cheers,

Offray
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Updating all the browser

Offray
Thanks :-)

So, if I have the following code in a message:

============================================
saveToFile
        "Saves the current tree to a file"

        | file writeStream markdownFile |
       
        file := UITheme builder
                fileSave: 'Guardar archivo como...'
                extensions: #('ston')
                path: nil.
               
        file ifNil: [ self inform: 'Exportación cancelada'. ^ self ].
                       
        writeStream := file writeStream.
        workingFile := writeStream name asFileReference.
        markdownFile := (workingFile parent) / (workingFile
basenameWithoutExtension, '.markdown').
        [ self exportAsSton: mainTree on: writeStream.
                self exportAsMarkdown: mainTree on: markdownFile ]
                ensure: [ writeStream ifNotNil: #close ].
        browser update.

============================================

and I use the saveToFile message to rename the current file, and that
name is showed in the title of a GT browser window, the name should
change with the last line (browser update)?

If that is not intended behaviour, how can I change the title of a GT
browser window if this is taken from a file name that is saved (inside
Moose) with a different name?

Cheers,

Offray

El 07/01/15 a las 16:00, Tudor Girba escribió:

> update :)
>
> Doru
>
> On Wed, Jan 7, 2015 at 9:59 PM, Offray Vladimir Luna Cárdenas <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>      Hi,
>
>      Reading the list, I remember some mail about a message to update the whole
>      browser, but I can't find it again. Which message I have to send for that?
>
>      Cheers,
>
>      Offray
>      _________________________________________________
>      Moose-dev mailing list
>      [hidden email] <mailto:[hidden email]>
>      https://www.iam.unibe.ch/__mailman/listinfo/moose-dev
>      <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
>
>
>
>
> --
> www.tudorgirba.com <http://www.tudorgirba.com>
>
> "Every thing has its own flow"
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev