The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Packaging a Widgetry Application

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Packaging a Widgetry Application Posted: Apr 11, 2007 9:11 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Packaging a Widgetry Application
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

With the Swallow client deployed, I figured it might be worth mentioning two things I learned about deploying a Widgetry based application. I've brought them up before, but it's worth mentioning again, in one place. So - say you've built your Widgetry based UI, and you are using Runtime Packager to package it. Step one:

The important point here is "Action on last window close" - you want to set that to "Continue processing". Why? Well, RTP is not (at present) aware of Widgetry, so when your first window opens at startup, the runtime manager notices that there are no UIs open - and promptly quits. So - implement a method in your UI that does this:

ObjectMemory quit

When you need to quit. Second, your application will likely use Widgetry dialogs, with class DialogUserInterface. Well, when you confirm/cancel a dialog, the Runtime system again notices that there are no Windows present (again, it's not aware of Widgetry) - so it quits. What you need to do there is create a noWindowBlock:

WindowManager noWindowBlock: [:mgr | true].

That just tells the runtime system to move along and ignore the "no window" state. Mind you, as Widgetry moves into deployment, these issues will get fixed by our engineers. If you are doing "bleeding edge" development though, it's useful testing information.

Technorati Tags:

Read: Packaging a Widgetry Application

Topic: Smalltalk in Portland (Oregon) Previous Topic   Next Topic Topic: Smalltalk Daily 4/9/07: NTLM Proxy Edge Case

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use