[Pharo-users] Re: Spec Gtk Applications - Implementing File open/save/(print?) dialogs

2021-06-17 Thread kmo
Wow! Thanks so much Esteban for taking all the time and trouble to provide this. I'll have a play with it. Ken -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Re: Spec Gtk Applications - Implementing File open/save/(print?) dialogs

2021-06-17 Thread kmo
Thanks Esteban. That's what I needed. I've got the dialog to open, like this - generateRoseButton action: [ (GtkFileChooserDialog newOpenFileTitle: 'Hello') showAll; run ] But how do you get the chosen filename back? Ken --

[Pharo-users] Spec Gtk Applications - Implementing File open/save/(print?) dialogs

2021-06-17 Thread kmo
Hi - When writing a Gtk app using Pharo Spec2 are there any facilities for standard system dialogs - open file / save file / etc - or do you have to create them from scratch yourself (perhaps using SpDialogPresenter) ? Thanks in advance for any clarification. Ken -- Sent from:

[Pharo-users] Re: How to get dimensions (extent) of a SpPresenter

2021-06-16 Thread kmo
Many thanks esteban - works fine now in Gtk -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Re: How to get dimensions (extent) of a SpPresenter

2021-06-16 Thread kmo
Hi Esteban Do you know when the fix for the extent problem under Gtk will be in the image? I downloaded the latest Pharo 9 image a couple of days ago and, though the fix was in for the extent problem in Morphic, it still didn't work in Gtk. Thanks. Ken -- Sent from:

[Pharo-users] Re: How to get dimensions (extent) of a SpPresenter

2021-05-27 Thread kmo
Many thanks Estaban -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Re: How to get dimensions (extent) of a SpPresenter

2021-05-25 Thread kmo
Here are details of X11, the Image and the VM X11 --- xdpyinfo | grep version version number:11.0 X.Org version: 1.20.9 Image - /home/kmp/Pharo/images/gtkRoses/gtkRoses.image Pharo9.0.0 Build information: Pharo-9.0.0+build.1399.sha.9ae8329dedfbad7915b7b2cdc4accc7ce8109ce0 (64 Bit)

[Pharo-users] Re: How to get dimensions (extent) of a SpPresenter

2021-05-25 Thread kmo
I'm running Xubuntu 20.04. I didn't install Gtk - it comes with the OS. I'm using the Nvidia video driver. Perhaps that has an effect. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Re: How to get dimensions (extent) of a SpPresenter

2021-05-25 Thread kmo
Hi Estaban. Thank you for your helpful and prompt replies to my problem. Unfortunately, your code does not work for me. I pasted your code into a playground. When it runs I get no errors but I get a completely blank window - no sign of the colour gradient. If I change the backend to #Morphic,

[Pharo-users] Re: How to get dimensions (extent) of a SpPresenter

2021-05-24 Thread kmo
I should also point out that nothing works unless I also set a surfaceExtent when the presenter is set up - initializePresenters rosesAthensPresenter := RosesAthensPresenter new. rosesAthensPresenter surfaceExtent: 400 @ 400. rosesAthensPresenter drawBlock: [ :aCanvas |

[Pharo-users] Re: How to get dimensions (extent) of a SpPresenter

2021-05-24 Thread kmo
I'm afraid it still doesn't work for me. If I have a drawBlock like this: drawBlock ^ [ :aCanvas | | paint surface | surface := aCanvas surface. paint := surface createLinearGradient: { (0 ->

[Pharo-users] How to get dimensions (extent) of a SpPresenter

2021-05-24 Thread kmo
I'm porting a little Morphic geometry program from Morphic to a Spec 2 application using GTK. I need to draw a shape in an SpAthensPresenter but to draw it I need to know the current dimensions (extent) of the presenter so it can still work OK even when the window is resized. The old Morphic

[Pharo-users] Re: Creating an SDL (OSWindow) window without showing the pharo interface

2021-05-03 Thread kmo
Yes, pharo is the script that starts the headless VM without the IDE (pharo-ui is the script that starts the headless VM with the IDE). Pharo.image is the default Pharo 9 image - obviously you can use your own tailored image. I downloaded the headless VM and the latest Pharo like this - curl

[Pharo-users] Re: Creating an SDL (OSWindow) window without showing the pharo interface

2021-05-02 Thread kmo
Russ - The trick is to put the --no-quit after the eval not before it. I was putting it in the wrong place. This should work: ./pharo Pharo.image eval --no-quit "OSWindowWorldMorph new open" This works with the latest headless VM and Pharo 9. Hope this helps. Ken -- Sent from:

[Pharo-users] Re: Creating a Spec -GTK window without showing the pharo IDE

2021-05-02 Thread kmo
Many thanks Estaban. All OK now. I forgot to add in the --no-quit but I would have put it in the wrong place anyway. I never thought it had to go after the eval. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Creating a Spec -GTK window without showing the pharo IDE

2021-05-01 Thread kmo
After not lookng at it for I while, I tried the Gtk Spec bindings again on my Xubuntu desktop and - this time - they worked. I was able to open a new window using Spec-Gtk, the latest headless VM and the latest Pharo 9. (Many thanks to all concerned). But I've immediately hit the same issue as

[Pharo-users] Re: creating a subclass in system browser

2021-04-27 Thread kmo
/ a red circled exclamation point (hovering says 'Refactorings' - which has a menu for the +New subclass./ That sounds completely horrible. Surely that's never going to remain in the official release. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Re: creating a subclass in system browser

2021-04-27 Thread kmo
This shows the browser button for a subclass on Pharo 9 on Linux (not the very latest Version 9 by the way). It only appears when you have the class definition tab selected. I hope this shows up - I posted it earlier but it just hasn't appeared in the list - so I'm posting it again. With my luck

[Pharo-users] Re: creating a subclass in system browser

2021-04-27 Thread kmo
I've attached a screenshot. The button appears when you select the class definition tab in the browser. Press it and you get a dialog to enter a subclass name then the text template for that subclass appears in the browser class definition

[Pharo-users] Re: creating a subclass in system browser

2021-04-27 Thread kmo
Doing it by hand is fiddly and error-prone. I know - because that's the way I used to do it before I realised that the plus button at the top of the browser bottom panel did it for me. (I had no idea that there was also a menu option on the refactorings menu). I think you might find the button to

[Pharo-users] Re: creating a subclass in system browser

2021-04-27 Thread kmo
I'm not surprised you missed it. I think it's not very intuitive having it on the refactoring sub-menu - especially when you already have "new class" on the right click menu when you select a class. Why not have "create subclass" there as well? By the way, did you have trouble working out the

[Pharo-users] Re: Seaside disappearing under Windows

2021-04-22 Thread kmo
Hi - Firstly, have you tried asking on the Seaside forum? Might be worth doing. If it were me, I would try to see if it was a problem with my specific application or a a general seaside/windows problem. Does the Seaside demo app work? Can you write a simple Hello World seaside app. Does that

[Pharo-users] Creating an SDL (OSWindow) window without showing the pharo interface

2021-02-02 Thread kmo
Does anyone know how to get an OSWindow window to open from Pharo without showing the pharo IDE? I thought the headless VM might do this. So I downloaded the latest headless VM and Pharo 9. Then if I issue the command line / pharo-ui Pharo.image eval OSWindowWorldMorph new open/ I get an SDL

[Pharo-users] Headless VM crashing on viewing class side methods

2021-01-27 Thread kmo
I get an illegal instruction VM crash when trying to use the latest headless VM to view class side methods. I download the image and VM like this - curl https://get.pharo.org/64/90+vmHeadlessLatest | bash I open the image with ./pharo-ui Pharo.image I open a system browser and pick a class I

[Pharo-users] Re: Pharo Mars still not working on Ubuntu

2020-12-14 Thread kmo
The bug does not appear to be because I'm using an old version of Gtk. if I type dpkg -l libgtk2.0-0 libgtk-3-0 I get : +++-=---===> ii libgtk-3-0:amd64 3.24.20-0ubuntu1 amd64GTK graphical user interfac> ii

[Pharo-users] Re: Pharo Mars still not working on Ubuntu

2020-12-11 Thread kmo
But if it doesn't work on older machines (if that is the case) then that's still a bug, isn't it? -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Re: Pharo Mars still not working on Ubuntu

2020-12-10 Thread kmo
The Mars project page says use this image and vm: curl https://get.pharo.org/64/90+vmHeadlessLatest | bash To upload the crash.dmp file to the issue log you need to rename it to crash.txt first. Good luck. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Re: Pharo Mars still not working on Ubuntu

2020-12-08 Thread kmo
Mars will work on Ubuntu and its derivatives when Hell freezes over. I don't think anyone even looks a the Issues log. Sound has never worked on Linux. You used to be able to get it to work by copying files from a Squeak installation, but that's in the past now as far as I know. There's an

[Pharo-users] Re: Pharo Mars still not working on Ubuntu

2020-11-06 Thread kmo
Mars now loads on Ubuntu but crashes with illegal instruction when you attempt to use it. Back to where we were in late July. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Pharo Mars still not working on Ubuntu

2020-10-22 Thread kmo
I see that the Pharo-Mars code has recently been split into two projects. Unfortunately this has still not fixed the problem with Ubuntu. It is still totally impossible to run pharo mars on ubuntu. Now just loading the GTK-bindings package into ubuntu causes a segfault. This is actually going

Re: [Pharo-users] Pharo-Mars on Ubuntu

2020-08-03 Thread kmo
The library not found problem has been resolved. We are now back to a VM crash when GTK is used. Pharo-Mars is still not running on Ubuntu. For those who want the details - The library problem was caused by Ubuntu not creating a symbolic link libGtk-3.so. It only has a libGtk-3.so.0 link. When

Re: [Pharo-users] Want to create a text Field using SPEC2 to get Value from User

2020-07-30 Thread kmo
You need to do two things. Firstly, you need to create a label. Secondly, you need to add it to the layout. The first bit is easy. You create the label in the initializePresenters method just like you did the button and the text field. There's a method that creates a label. If you open a system

Re: [Pharo-users] Want to create a text Field using SPEC2 to get Value from User

2020-07-29 Thread kmo
Let's see: 'a.bat 10' works but 'a.bat', myTextField asString does NOT work. There's clearly something wrong with 'a.bat', myTextField asString - but what? As Tim says, you have to investigate. Tim has suggested a couple of ways you could investigate. Here's another - You have my code that

Re: [Pharo-users] Want to create a text Field using SPEC2 to get Value from User

2020-07-28 Thread kmo
This code should give you a clue of how to do what you want. You can file it in or type it in yourself. You can run it from the playground with the command - SimpleExample new openWithSpec. How it works - You need to subclass SpPresenter. You need to set up an instance method called

Re: [Pharo-users] Pharo-Mars on Ubuntu

2020-07-22 Thread kmo
Thanks for the suggestion but everything is 64 bit. I added this problem to the mars github issues list (there's an existing issue for linux problems) and Esteban is now looking at it, so we're getting somewhere. The problem was I had no libgit-3.so in the folder only a libgit.so.0.

[Pharo-users] Pharo-Mars on Ubuntu

2020-07-21 Thread kmo
I've just tried to get pharo-mars working on xubuntu 20.04. But it tells me it cannot find the GTK3 library. But the library is present here: /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 I thought this was supposed to be the correct place. Should I be putting a symbolic link somewhere? -- Sent

Re: [Pharo-users] Pharo on a chromebook?

2020-04-01 Thread kmo
Google have an official linux environment that you can switch on in ChromeOs Settings. Should allow you to switch easily betweeen ChromeOs and Linux. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Strange Spec2 SpDemo and Pharolauncher bug

2020-02-01 Thread kmo
Invoking /SpDemo open/ from the playground completely locks up Pharo 8. This is strange as SpDemo runs Ok when invoked from the Help menu (Spec2 Examples) and also runs Ok when you click on the green arrow against the method in Calypso and invoke it through the pragma. The culprit is

Re: [Pharo-users] separate native window of same Pharo image

2018-08-17 Thread kmo
Who knows whether OSWindow is maintained? Who knows if anybody cares that it doesn't work on Windows? OSWindow is like lots of things that suddenly appear in the Pharo standard image. There's no documentation. There's no plan. That's the Pharo way. Give it a year or two and it will be superseded

Re: [Pharo-users] separate native window of same Pharo image

2018-07-19 Thread kmo
I believe this is a known Windows issue. I have certainly seen it on my Windows machine at work. Doesn't happen on Linux. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] separate native window of same Pharo image

2018-07-19 Thread kmo
Here's a screenshot of two roses windows being run from a pharo image in another window -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] separate native window of same Pharo image

2018-07-19 Thread kmo
it is perfectly possible with OS-Window to create a morphic world and create your own morphic content for it, then display it in a completely different operating system window. This is how I created a simple application which displays geometric "roses" in a separate window to the pharo window.

Re: [Pharo-users] Calypso and Dark Theme

2018-03-31 Thread kmo
OK - thanks -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Calypso and Dark Theme

2018-03-31 Thread kmo
Is anything being done to make Calypso work better with the Pharo Dark Theme? The dark blue labels against a dark background are unreadable - see screenshot. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-21 Thread kmo
Have you left in that ui close statement that was in your first post? I tried you code and it worked fine - but if you issue a close you'll have nothing to see! -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Iceberg and resource files

2018-01-28 Thread kmo
These suggestions look really good. Thanks to everyone. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Iceberg and resource files

2018-01-27 Thread kmo
OK. I thought that this was more or less the case. Thanks. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Iceberg and resource files

2018-01-27 Thread kmo
I don't understand how iceberg handles resource files that you might also like to version along with the pharo code. Say I have an CSV file and a text file that my pharo application uses. How do I include these in the iceberg commit/push? How do I see changes made in these files from version to

Re: [Pharo-users] Breakpoints in Pharo

2017-12-27 Thread kmo
Just tried it in Pharo 6.1 on Linux 32 bit. Breakpoints work. So presumably this is a Pharo on Windows issue. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] ZnClient in Pharo 6.1 not working for Https on Windows

2017-10-06 Thread kmo
Thanks. I re-extracted SqueakSSL.dll from the zip file and now it works! -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] [Ann] PharoLauncher v1.0.1 released!

2017-10-06 Thread kmo
This is great. Absolutely love it. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] ZnClient in Pharo 6.1 not working for Https on Windows

2017-10-06 Thread kmo
I was trying to Soup on Windows 7 and found I could not access https sites On windows 7 and 10 the following code fails: ZnEasy get:'https://genius.com/Alice-nuvole-lyrics'. This works fine in Pharo 5 on Windows. Also works fine with Pharo 6.1 (32 bit) on Linux. The problem is Pharo 6.1 on

Re: [Pharo-users] Roasssal not working on Windows with Pharo 6.1

2017-10-02 Thread kmo
The problem is fixed now. I loaded up pharo at lunchtime and all the roassal images worked perfectly. No problems at all. But I had done nothing. No changes at all. The only thing I can think of is that I may have rebooted since the last time I ran pharo. But I'm not sure. So it's all still a

Re: [Pharo-users] Roasssal not working on Windows with Pharo 6.1

2017-10-01 Thread kmo
Roassal is working Ok on my Wndows 10 laptop now. But on my 32-bit Windows 7 PC at work it still does not work. Here's the steps to reproduce: ) Download whole Pharo 6.1 Windows package from http://files.pharo.org/platform/Pharo6.1-win.zip 2) Unzip it and open it by running Pharo.exe (not the

Re: [Pharo-users] Roasssal not working on Windows with Pharo 6.1

2017-09-24 Thread kmo
Many thanks. I tried this and it worked fine and Roassal installs and runs. I then typed the same gofer command into my original Pharo 6.1 directory and I got an error - #withSqueakLineEndings was sent to nil. Perhaps that's a clue to what was going wrong. -- Sent from:

Re: [Pharo-users] Roasssal not working on Windows with Pharo 6.1

2017-09-23 Thread kmo
All looks OK to me. No font issues. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Roasssal not working on Windows with Pharo 6.1

2017-09-23 Thread kmo
No luck. I cannot say whether this fixes the problem on Windows 7 because I'm not at work. But roassal will not install on my Windows 10 laptop. Other items from the Catalog Browser install OK. So it's a problem with Roassal in particular. -- Sent from:

[Pharo-users] Roasssal not working on Windows with Pharo 6.1

2017-09-23 Thread kmo
Is it just me or my systems but is there a major problem with Roassal on Pharo 6.1 on Windows? At work on my Windows 7 machine, Roassal installs from the catalog browser but the examples will not run. I get an error - External module not found. it seems to be looking for the Surface dll which is

Re: [Pharo-users] Usability issues with Calypso

2017-09-15 Thread kmo
You say The current behaviour is trying to be close to single source pane behaviour of old browsers. I think that's a bit of the problem. For me, nautilus is a single source pane browser and it looks like a single source pane browser. Calypso looks like something else - it looks like a typical

Re: [Pharo-users] Usability issues with Calypso

2017-09-08 Thread kmo
If Tim had not posted this comment - "I love the fact you can move to a new method with unsaved changes and no nag prompt".- I would never have known that it was possible to do this. Since I always save my methods before moving on I had never experienced this behaviour. I think this is an another

Re: [Pharo-users] Usability issues with Calypso

2017-09-02 Thread kmo
Thanks for the information. I'm sure Calypso is going to be brilliant. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Usability issues with Calypso

2017-09-01 Thread kmo
I have been keen to use Calypso (I love the way it shows inherited methods) as my browser but I am finding some usability issues. It may be just me but some things I find off-putting. I don't really like the way that adding a new class is done by a new tab that appears now and then in the editing

Re: [Pharo-users] Is it possible to change the Pharo application title bar?

2017-07-23 Thread kmo
DisplayScreen hostWindowTitle: 'your title' works on Windows and Mac (I think) but does NOT work on Linux. This is a sore point with me as I reported the bug (12231) ages ago and someone very kindly wrote a fix - but it was never applied because no one knew how to apply it!!! So the bug was

Re: [Pharo-users] In Praise of the Very Best Programming Language

2017-07-21 Thread kmo
You've done a great job in promoting smalltalk and pharo. -- View this message in context: http://forum.world.st/In-Praise-of-the-Very-Best-Programming-Language-tp4955487p4956078.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] VoyageMongo not working in Pharo 6?

2017-07-14 Thread kmo
Thanks -- View this message in context: http://forum.world.st/VoyageMongo-not-working-in-Pharo-6-tp4954843p4954893.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] VoyageMongo not working in Pharo 6?

2017-07-14 Thread kmo
Is this what you wanted? ConfigurationOfVoyageMongo>>stable: stable: spec spec for: #'common' version: '1.4'. spec for: #'pharo1.4.x' version: '1.1.1'. spec for: #'pharo2.0.x' version: '1.2.7'. spec for: #'pharo3.x' version: '1.3.1'. spec for:

[Pharo-users] VoyageMongo not working in Pharo 6?

2017-07-14 Thread kmo
I just had a quick tryout of VoyageMongo in Pharo 6 and VOMongoRepository>>save:anObject fails because UUIDGenerator does not have the method makeSeed. UUIDGenerator >> makeSeed was present in pharo 5. It's not there in pharo 6. I installed from the Catalog browser where VoyageMongo is listed as

Re: [Pharo-users] Regression with PNGReaderWriter in P6

2017-06-18 Thread kmo
Just to confirm - I've tried it - works fine in Linux 32 bit VM - but fails with the 64 bit VM -- View this message in context: http://forum.world.st/Regression-with-PNGReaderWriter-in-P6-tp4951796p4951803.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Phobos and printing

2017-02-01 Thread kmo
Great news! Ken Pavel Krivanek-3 wrote > So I tried to run Phobos on Pharo 6 and it is able to run fine with the > old > Json package. It only needed two simple patches. To convert Phobos to > NeoJSON will require some extra effort. In next days I will put the code > on > the Git repository. >

Re: [Pharo-users] Phobos and printing

2017-01-31 Thread kmo
I'm afraid not. But I did start experimenting with Phobos and thought it was a very capable framework. Then I was put off a bit when it stopped being compatible with later versions of pharo. Ken HilaireFernandes wrote > Hi Ken, > Did you have former experience using Phobos for real desktop

Re: [Pharo-users] Phobos and printing

2017-01-30 Thread kmo
I think Phobos is really good. It would be great to have Pharo 6 version. It's a pity about XULRunner being abandoned but all is not lost. There is a fork of Firefox that is committed to keeping XULRunner support - Pale Moon - https://www.palemoon.org/ Ken Pavel Krivanek-3 wrote > Hi Hilaire, >

Re: [Pharo-users] Launching OSWindow windows when in headless mode

2016-12-26 Thread kmo
By the way your command line : ./pharo -headless Pharo6.image eval --no-quit "OSWindowWorldMorph new open" works fine. So it must be something to do with how my window is opened. I have a method that is called from the eval command line |a| a:= AppMorph new. a extent:1000@580. a color: (Color

Re: [Pharo-users] Launching OSWindow windows when in headless mode

2016-12-26 Thread kmo
It's strange - if I run: ./pharo -headless Pharo6App.image eval "MyApp run" then I get the error: /libSDL2-2.0.so.0: cannot open shared object file: No such file or directory/ But the main pharo window opens up followed by my OS WIndow. So that works fine despite the seeming error, But if I

[Pharo-users] Launching OSWindow windows when in headless mode

2016-12-26 Thread kmo
I would like to launch my application main morph in an OS Window from a pharo image run in headless mode from the command line. But this just gives me a libSDL2 not found error. I'm using pharo 6 on linux. Is it possible to use OSWindow to open windows from a headless image? I want my main

Re: [Pharo-users] NeoJSON with Rest

2016-11-19 Thread kmo
This works for me: Say you have a class called MyObject and you want a JSON representation of it. On the *class *side of MyObject add this method: neoJsonMapping: mapper "For inheritance mapping to work, the schema/classname must be self, but the instance variables have to be

Re: [Pharo-users] standalone/runtime executable

2016-08-23 Thread kmo
<> Only if you think deployment means shipping your entire development environment to users and telling them to get on with it. Pharo is absolutely the worst language for deployment in the world. This is why, after all these years, there have only ever been three desktop applications written in

Re: [Pharo-users] Styling a Pharo UI application

2016-06-25 Thread kmo
Why would anyone think that a developer would/ not /want to be able to change the font size? -- View this message in context: http://forum.world.st/Styling-a-Pharo-UI-application-tp4902498p4903255.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Turning off Growl notifications

2016-04-30 Thread kmo
I have raised an issue for this: https://pharo.fogbugz.com/f/cases/18144/Easy-way-to-turn-off-Growl-Notifications-required The issue description includes some sample code for setting up an app and disabling growl the hard way. -- View this message in context:

Re: [Pharo-users] UserManager class missing in Pharo 5

2016-04-24 Thread kmo
I'm sure the new permissions design will be great. Pharo moves on. I'll rewrite my start up script not to use UserManager. It's not a big deal. -- View this message in context: http://forum.world.st/UserManager-class-missing-in-Pharo-5-tp4891617p4891724.html Sent from the Pharo Smalltalk

[Pharo-users] UserManager class missing in Pharo 5

2016-04-23 Thread kmo
The UserManager class has disappeared in Pharo 5. I was using it as a convenient way to restrict what a user can do with a delivered application: UserManager currentUser permissions isRoot: false. Is the class gone for good? Is there a equivalent in Pharo 5? -- View this message in context:

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread kmo
Well, my reply was rather tongue-in-cheek. I was mocking my own laziness and the laziness of developers like me. But really I have no problem in doing these things for myself. And I hope that soon I will be in a position to contribute to pharo myself. But overriding the close event is something

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread kmo
/Pharo is yours, so you can add it. :)/ Yes, but I don't want to add it. I expect it to be there out of the box. I think it's quite enough work for me to add my own code on window close. I don't want to have to write the framework for doing it as well. -- View this message in context:

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread kmo
The Dolphin approach was described by Estaban earlier in this thread. I've never used Dolphin myself so cannot expand on it. -- View this message in context: http://forum.world.st/Trapping-the-Pharo-window-close-event-tp4890079p4890281.html Sent from the Pharo Smalltalk Users mailing list

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread kmo
As a developer you need to be able to control the program shut down. That is a given. I think I was expecting something like the Dolphin approach but it doesn't exist in pharo. Having to overwrite an existing method is not elegant but it works. A similar issue exists with Growl notifications - I

Re: [Pharo-users] Turning off Growl notifications

2016-04-16 Thread kmo
Thanks for taking a look. It's not good that there is no easy way. If you are deploying an application to a user you will almost certainly want to run some kind of startup script - and you will want to suppress any messages. Looking at the code I think I can probably overwrite an inform method

[Pharo-users] Turning off Growl notifications

2016-04-15 Thread kmo
Is there an easy way to turn off the Growl notification Information - EvaluateCommandLineHandler successfully finished that comes up when an expression is evaluated on the command line? -- View this message in context: http://forum.world.st/Turning-off-Growl-notifications-tp4890227.html

[Pharo-users] Setting the pharo window title from command line

2016-04-15 Thread kmo
I want to change the title of the pharo window to "My Example Application' but the -title command line option does not seem to allow spaces in the title string. I have tried single quotes and double quotes but I always get an error if I try to set the title to more than a singe word. I have been

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-14 Thread kmo
Many thanks for that helpful and amazingly fast answer! -- View this message in context: http://forum.world.st/Trapping-the-Pharo-window-close-event-tp4890079p4890092.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

[Pharo-users] Trapping the Pharo window close event

2016-04-14 Thread kmo
How do you get rid of that "Quit Pharo without saving message" that comes up when you try to close the Pharo window? I want to just let the user exit without any message or perhaps replace the message with one of my own. -- View this message in context:

[Pharo-users] Phobos: Using open and save dialogs

2014-08-25 Thread kmo
Does anyone know how you use the XULRunner /open/ and/ save/ dialogs from Phobos? I need to get a filename back from the user interface into the pharo/phobos image. -- View this message in context: http://forum.world.st/Phobos-Using-open-and-save-dialogs-tp4774528.html Sent from the Pharo

Re: [Pharo-users] Phobos: Using open and save dialogs

2014-08-25 Thread kmo
It's Ok I think I've got it. You can add a method like this to your main.js: function doFileOpen() { /* See: http://developer.mozilla.org/en/docs/XUL_Tutorial:Open_and_Save_Dialogs */ var nsIFilePicker = Components.interfaces.nsIFilePicker; var fp =

Re: [Pharo-users] Phobos: Using open and save dialogs

2014-08-25 Thread kmo
Thanks, that's great. (I'm only thinking of running with client and server on the same machine at the moment). -- View this message in context: http://forum.world.st/Phobos-Using-open-and-save-dialogs-tp4774528p4774580.html Sent from the Pharo Smalltalk Users mailing list archive at

[Pharo-users] Two suggestions for the new pharo website

2014-05-26 Thread kmo
I think the new pharo website could be improved by the addition of two new pages. Firstly, the site badly needs a Success Stories page. The old web site had one of these so presumably that can be added easily. You have to show newcomers that pharo can be used for something real. Look at the/

Re: [Pharo-users] [ANN] Pharo3 Dark Theme is available

2014-05-02 Thread kmo
/So, will we start the longtime postponed effort of effectively replace current Morphic?/ If it breaks the current one window restriction then please please yes. -- View this message in context: http://forum.world.st/ANN-Pharo3-Dark-Theme-is-available-tp4757420p4757549.html Sent from the

[Pharo-users] Bug in Nautilus - Add Class versus Add Full Class

2014-05-02 Thread kmo
Nautilus gives you two options to create a class: /Add Class/ and /Add Full Class/. But both options give you exactly the same template to fill in. There is no difference between them. This is because the class methods /AbstractTooldefineFullClassTemplate / and /AbstractTooldefineClassTemplate

Re: [Pharo-users] Pharo 3.0 Released!

2014-05-01 Thread kmo
A brilliant achievement and the new website is great too! -- View this message in context: http://forum.world.st/Pharo-3-0-Released-tp4757227p4757398.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Dynamic example for spec

2014-04-27 Thread kmo
No one has replied to this post, so I thought I would add my two cents of wit. Many thanks for the example - any addition to the Spec documentation is really useful and I've certainly learned some stuff from your code. But I think if you are aiming to help people learn Spec, then you should add

Re: [Pharo-users] Dynamic example for spec

2014-04-27 Thread kmo
/It was suggested that it would be good to have other examples, so I decided to try building a more business-application related one. / Stephan - That's exactly what is needed. It's pet peeve of mine that so many of the Spec examples tend to be browsers. If Pharo wants to position itself as a

[Pharo-users] Spec problem creating dynamci UIs

2014-03-01 Thread kmo
I'm probably doing this all wrong, but I have a problem creating a dynamic UI with Spec. I want a small window which shows more information when a /Show more details/ button is clicked. Here's an example. http://forum.world.st/file/n4747139/PharoScreenshot.6.png when I click /Show More/ I

Re: [Pharo-users] Spec problem creating dynamci UIs

2014-03-01 Thread kmo
/self extent:/ and /self window extent:/ do not work. First thing i tried. -- View this message in context: http://forum.world.st/Spec-problem-creating-dynamci-UIs-tp4747139p4747205.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

  1   2   >