Hi,

 

In the way to change dynamically the icon of the main window, I am adding a primitive in the HostWindow VM Plugin.

So, I implemented the primitive call on Pharo side: https://github.com/pharo-project/pharo/pull/1198

Modified the C plugin file: https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/248 (only the windows version for now)

And implemented the binding in VMMaker, and I would commit this last one.

However, I do not have the write access to http://source.squeak.org/VMMaker. Could someone grant me to it?

 

Thanks in advance,

Vincent

 

From: Blondeau, Vincent
Sent: Tuesday, February 6, 2018 18:36
To: Pharo Development List <pharo-dev@lists.pharo.org>
Subject: RE: [Pharo-dev] Change Pharo window icon

 

Hi,

 

The fact that he mentioned an ability to change window's title from inside of the running image suggested me that he actually wants to change an icon at runtime too.

 

Indeed, that is what I would like to do.

 

Cheers,

Vincent

 

From: Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] On Behalf Of Aliaksei Syrel
Sent: Saturday, February 3, 2018 8:09
To: Pharo Development List <
pharo-dev@lists.pharo.org>
Subject: Re: [Pharo-dev] Change Pharo window icon

 

Hi Eliot,

 

I thought Vincent wants to change Pharo main window icon (image).

I would like to know how to change the main Pharo window icon.

 

The fact that he mentioned an ability to change window's title from inside of the running image suggested me that he actually wants to change an icon at runtime too.

DisplayScreen class  >> primitiveWindowTitle:string:

 

I may be wrong :) But in any case it would be nice to be able to change window icon from the image.


Cheers,

Alex

 

On 3 February 2018 at 17:01, Eliot Miranda <eliot.miranda@gmail.com> wrote:

Hi Aliaksei,

On Feb 3, 2018, at 4:30 AM, Aliaksei Syrel <alex.syrel@gmail.com> wrote:

Hi

 

Since Pharo uses sdl2 (or should use)

 

Hang on.  Changing a window's icon is not at all the same as changing the VM's icon.  Which are we talking about here?  I thought we were talking about changing the VM icon.

 

 

Alex