Windows UI in pharo - pharo

I'm pretty green when it comes to Pharo, so I ask you apologies in advance for what might be a dumb question.
I would like to know if there is a way to configure Pharo with the look and feel of native desktop windows applications, or at least to move the minimize-maximize-close buttons to the right corner.
Thank you in advance.

No, it's not. There is work in progress (specifically OSWindow) but it will be some time before we make that transition.

Related

Getting a UI to be adaptive for iPhone and iPad

I'm working on a xamarin app and the goal is to have the UI be adaptive for both phone and tablet and so far it seems Android has a far easier way to achieve this. I'm reading this article on the matter and it honestly don't make a lick of sense.
All I want is to have everything grow in portion to the view as it gets bigger because of screen size (like android does), every time I try to do it it just anchors the control to the right and it just drags it to the right.
I mainly just need some a simple explanation on how I can have everything grow with the view.
I finally figured it out, After some deep breathing I saw what I was missing when I was reading the documentation.
for me, I wanted to use the autosize options, which let me anchor it how I wanted it to and it correctly scales for me now.

Pascal graphic unit

This is going to be an Object Pascal question again.
I know what you all will say now, "We've got 21st century and you are willing to make graphics in language older than the planet Earth !?".
Well.. yes, but just a simple one, becouse I have to.
I need it in a tiny little game that normal console window, with CRT, is not exacly what I need.
What I want to ask is You is what standard (! no custom extensions !) unit should I use.
Is Graph a good choice ? I've seen many posts about people complainig, is it safe to use ?
I have checked it already by myself and few things got my attention:
Is graph window name changeable ?
Is the main console hideable ?
Can you detect the manual graph close (easly) ?
Maybe you can suggest me some other (better?) graphics unit ?
Have a look at the demoes (fpctris,samegame) that come with Free Pascal. They demonstrate a games in a pure console version and a graph version.
Don't know
On Windows, yes, use "wingraph" instead of "graph"
no idea.

Gesture Recognition for my Grandma (Kinect) Linux

I'm looking into making a project with the Kinect to allow my Grandma to control her TV without being daunted by using the remote. So, I've been looking into basic gesture recognition. The aim will be to say turn the volume of the TV up by sending the right IR code to the TV when the program detects that the right hand is being "waved."
The problem is, no matter where I look, I can't seem to find a Linux based tutorial which shows how to do something as a result of a gesture. One other thing to note is that I don't need to have any GUI apart from the debug window as this will slow my program down a fair bit.
Does anybody know of something somewhere which will allow me to in a loop, constantly check for some hand gesture and when it does, I can control something, without the need of any GUI at all, and on Linux? :/
I'm happy to go for any language but my experience revolves around Python and C.
Any help will be accepted with great appreciation.
Thanks in advance
Matt
In principle, this concept is great, but the amount of features a remote offers is going to be hard to replicate using a number of gestures that an older person can memorize. They will probably be even less incentivized to do this (learning new things sucks) if they already have a solution (remote), even though they really love you. I'm just warning you.
I recommend you use OpenNI and NITE. Note that the current version of OpenNI (2) does not have Kinect support. You need to use OpenNI 1.5.4 and look for the SensorKinect093 driver. There should be some gesture code that works for that (googling OpenNI Gesture yields a ton of results). If you're using something that expects OpenNI 2, be warned that you may have to write some glue code.
The basic control set would be Volume +/-, Channel +/-, Power on/off. But that will be frustrating if she wants to go from Channel 03 to 50.
I don't know how low-level you want to go, but a really, REALLY simple gesture recognize could look at horizontal and vertical swipes of the right hand exceeding a velocity threshold (averaged). Be warned: detected skeletons can get really wonky when people are sitting (that's actually a bit of what my PhD is on).

Covering up an Ubuntu Desktop

I'm hoping someone can point me in the right direction.
I'm trying to modify an ubuntu 10.10 distro by hiding the entire desktop so that after the user boots it up all they see is a solid colour. The reason for this is that I am currently writing a glade application manager which will be the user's only interface with the OS and will sit on top of this background. I think I'm looking for a method to create a kiosk distro. I have looked and found no real good tutorials. I've not really messed with linux much in the past so if anyone any pointers/ideas it would be a real help.
Cheers in advance
Chris
It seems that you're not really ready for such a huge project...
Anyways, Ubuntu comes afaik with KDE or GNOME desktop environment. So if you don't need it, then don't launch it. Just start X11 with a solid background color. It really doesn't make sense to fire up KDE or GNOME and hide everything but a solid background color.
That's like "I want to have a seat and buy a jumbo jet and remove everything but one single seat".

How to pan in 3DTools:TrackBallDecorator

I want to pan a 3D object in 3DTools:TrackBallDecorator. It is possible rotating and zooming in 3DTools, but I don't know how to pan. I use VS 2008 C#. My project has XAML codes.
Please, help !...
Thanks
This might be a little late, but here is the answer anyway: Unfortunately, you can't pan in 3DTools. There is an "Enhanced" version which includes panning and it can be found here.
Unfortunately, this is outdated as well an you will need to do some work before it compiles, but it might be a starting point.

Resources