[Vm-dev] [Pharo-dev] Change Pharo window icon

Eliot Miranda eliot.miranda at gmail.com
Sat Apr 14 00:30:04 UTC 2018


On Fri, Apr 13, 2018 at 4:45 PM, <Vincent.Blondeau at lamresearch.com> wrote:

> 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?
>

OK, you're now added to the committer list using your source.squeak.org
credentials.


>
>
> Thanks in advance,
>
> Vincent
>
>
>
> *From:* Blondeau, Vincent
> *Sent:* Tuesday, February 6, 2018 18:36
> *To:* Pharo Development List <pharo-dev at 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 at lists.pharo.org
> <pharo-dev-bounces at lists.pharo.org>] *On Behalf Of *Aliaksei Syrel
> *Sent:* Saturday, February 3, 2018 8:09
> *To:* Pharo Development List <pharo-dev at 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 at gmail.com>
> wrote:
>
> Hi Aliaksei,
>
> On Feb 3, 2018, at 4:30 AM, Aliaksei Syrel <alex.syrel at gmail.com> wrote:
>
> Hi
>
>
>
> Since Pharo uses sdl2 (or should use)
>
> https://wiki.libsdl.org/SDL_SetWindowIcon
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.libsdl.org_SDL-5FSetWindowIcon&d=DwMFaQ&c=RWI7EqL8K9lqtga8KxgfzvOYoob76EZWE0yAO85PVMQ&r=kIZIYXBAA3fhM7P5HOuTC5w6mnEApTfXPTq3lR34ZiY&m=l_zmsWuiNTZnwaqnFoVWP5ND2EpDg5f0AKqxxWuemDc&s=BquvgGPDy_24-w_Ilvxs0hadxiqEJ341IaRCJSoJPNM&e=>
>
>
>
> 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
>
>
>
>
>



-- 
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180413/b5516c81/attachment.html>


More information about the Vm-dev mailing list