startUp Application

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

startUp Application

pdigonzelli1
Hi, I want to know how to do in order a desktop application start with its custom menu without pharo panel.
I read something about to startUp method but i need more information.
Sorry for my english and TIA





Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA        
25 de Mayo 521
San Miguel de Tucumán
Email: [hidden email]
[hidden email]
Cel: 5493815982714
Reply | Threaded
Open this post in threaded view
|

Re: startUp Application

HilaireFernandes
Hi Pablo,

Concerning the World menu you first define your menu in a method, and
tag it with a dedicated pragma, for example in Dr. Geo I wrote:

worldMenu: aBuilder
<drgeoMenu>
(aBuilder item: 'New' translated)
        action: [DrGeo newFullScreen];
        icon: ThemeIcons current smallNewIcon;
        order: 0.
(aBuilder item: 'Open' translated)
        action: [DrGeo openFigureThumbnail: nil];
        icon: ThemeIcons current smallOpenIcon;
        order: 1.
(aBuilder item: 'Quit' translated) action: [DrGeo quit]; order: 999


Then you register this as your new world menu using the pragma name:

WorldState desktopMenuPragmaKeyword:  'drgeoMenu'.


Hilaire

Le 24/02/2017 à 02:24, Pablo R. Digonzelli a écrit :
> Hi, I want to know how to do in order a desktop application start with
> its custom menu without pharo panel.
> I read something about to startUp method but i need more information.
> Sorry for my english and TIA
>

--
Dr. Geo
http://drgeo.eu


Reply | Threaded
Open this post in threaded view
|

Re: startUp Application

Ben Coman
In reply to this post by pdigonzelli1
I haven't packaged any apps myself.  I just have fun hacking the Image.
I know of these Squeak related ones from a while ago.
YMMV but may give some ideas.

http://squeakvm.org/win32/custom.html

http://squeak.preeminent.org/tut2007/html/205.html

cheers -ben

On Fri, Feb 24, 2017 at 9:24 AM, Pablo R. Digonzelli
<[hidden email]> wrote:

> Hi, I want to know how to do in order a desktop application start with its
> custom menu without pharo panel.
> I read something about to startUp method but i need more information.
> Sorry for my english and TIA
>
>
>
>
> ________________________________
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Dividato SA
> 25 de Mayo 521
> San Miguel de Tucumán
> Email: [hidden email]
> [hidden email]
> Cel: 5493815982714

Reply | Threaded
Open this post in threaded view
|

Re: startUp Application

pdigonzelli1
Thanks all!
I have enought information to begin working with.
I will comment the results.




Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA
25 de Mayo 521
San Miguel de Tucumán
Email: [hidden email]
[hidden email]
Cel: 5493815982714

----- Mensaje original -----
De: "Ben Coman" <[hidden email]>
Para: "Any question about pharo is welcome" <[hidden email]>
Enviados: Sábado, 25 de Febrero 2017 9:45:22
Asunto: Re: [Pharo-users] startUp Application

I haven't packaged any apps myself.  I just have fun hacking the Image.
I know of these Squeak related ones from a while ago.
YMMV but may give some ideas.

http://squeakvm.org/win32/custom.html

http://squeak.preeminent.org/tut2007/html/205.html

cheers -ben

On Fri, Feb 24, 2017 at 9:24 AM, Pablo R. Digonzelli
<[hidden email]> wrote:

> Hi, I want to know how to do in order a desktop application start with its
> custom menu without pharo panel.
> I read something about to startUp method but i need more information.
> Sorry for my english and TIA
>
>
>
>
> ________________________________
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Dividato SA
> 25 de Mayo 521
> San Miguel de Tucumán
> Email: [hidden email]
> [hidden email]
> Cel: 5493815982714