04-22-2013
Speaking for myself, I find your problem statement extremely vague and inadequate.
With regard to being user friendly, I don't see any problem with presenting a simple textual menu.
People often insist that GUIs are more user friendly (e.g. in OS installer reviews), without evidence. If in your case a GUI is actually needed, it would help if you described the use case.
If the only need is to select from among a list of alternatives, a GUI adds little value.
Regards,
Alister
Last edited by alister; 04-22-2013 at 10:29 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear friends;
I have Hp9000 series of Unix servers with s800 11.0 range
Can i make it GUI?
I heard that if you have xinit installed on the servers you can make the servers Graphical User Interface.
Is it possible to make this possible?
Plz. help me out...
Thanx in advance... (6 Replies)
Discussion started by: nileshjoshi
6 Replies
2. UNIX Desktop Questions & Answers
Does anyone know why Fonts and most Graphics in KDE and Gnome are rendered rather badly. There are some text editors in KDE where the font is just horrible as far as legible.
Any links or knowledge on this topic would be grealy appreciated.
A Huge Unix/Linux Fan
Gregg (2 Replies)
Discussion started by: gdboling
2 Replies
3. UNIX for Advanced & Expert Users
I am running the above compination ..my server is HP rp7410
my operating system Unix 11.0I and my DB oracle..
my problem i cant print through GUI or any application
only i can print through command line and text only ... where my problem to not print graphics is thier special config ot... (1 Reply)
Discussion started by: khalid99
1 Replies
4. UNIX Desktop Questions & Answers
Help a newbie!
Just wodnering if there is an application (emulator, etc...) that will be able to read UNIX commands and bring back responses on the screen in Windows-like environment. I am looking for an app that will reside on a workstation (PC) and will querry the AIX server. If anyone can help,... (1 Reply)
Discussion started by: leok
1 Replies
5. UNIX for Dummies Questions & Answers
Hello all,
1) I want to have a GUI application that will call Unix shell scripts,
2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix.
That is for example.
If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies
6. Solaris
hi, i'm a newbie in UNIX. i have a disk crash and re-install the unix. But the new installation does not boot the server automatically. Then i set the auto-boot to true, and it's ok. But now the system is booting in text mode.
Before this, when i type boot, the system is booting in GUI mode.... (2 Replies)
Discussion started by: lwll
2 Replies
7. UNIX for Dummies Questions & Answers
I have used FreeBSD for sometime now and i find it great lest its ACPI support
My Question is for a recent laptop
AMD TURION X2 2GHZ TL-60 Tyler
3GB RAM
8400M G
Are there any other GUIs that is great with these specs
I have been using GNOME lite
I hate KDE because of the K
What will i lose... (1 Reply)
Discussion started by: weinter
1 Replies
8. Shell Programming and Scripting
Hey guys
Do u guyz have any idea how to create a simple GUI for unix/awk/ scripts along with facilities of input files and output files.
I'm using new Macbook 10.6 macosx. I tried Xcode3(basically c++ based aslo can use python n ruby n bash) by importing shell scripts to it and connecting... (2 Replies)
Discussion started by: repinementer
2 Replies
9. UNIX for Dummies Questions & Answers
Hello guys,
I am new to Unix, because of low RAM, i want to install Unix terminal (command line) without the GUI. Basically, i want to install two Unix OS (without the GUI) on VMware and make a TCP connection between them. I have a total of 2GB RAM on the host computer running window 7, so i... (7 Replies)
Discussion started by: Omar_M
7 Replies
10. Programming
python gui or c++ gui or java gui?
and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies
LEARN ABOUT OSX
wx::thread
Wx::Thread(3) User Contributed Perl Documentation Wx::Thread(3)
NAME
Thread - using wxPerl with threads
SYNOPSIS
# the order of these use()s is important
use threads;
use threads::shared;
use Wx;
my $DONE_EVENT : shared = Wx::NewEventType;
my $worker = threads->create( &work );
# create frames, etc
my $frame = Wx::Frame->new( ... );
EVT_COMMAND( $frame, -1, $DONE_EVENT, &done );
$app->MainLoop;
sub done {
my( $frame, $event ) = @_;
print $event->GetData;
}
sub work {
# ... do stuff, create a shared $result value
my $threvent = new Wx::PlThreadEvent( -1, $DONE_EVENT, $result );
Wx::PostEvent( $frame, $threvent );
}
# event handler
sub OnCreateThread {
# @_ = () is necessary to avoid "Scalars leaked"
my( $self, $event ) = @_; @_ = ();
threads->create( ... );
}
DESCRIPTION
Threaded GUI application are somewhat different from non-GUI threaded applications in that the main thread (which runs the GUI) must never
block. Also, in wxWidgets, no thread other than the main thread can manipulate GUI objects. This leads to a hybrid model where worker
threads must send events to the main thread in order to change the GUI state or signal their termination.
Order of module loading
It's necessary for "use Wx" to happen after <use threads::shared>.
Sending events from worker threads
"Wx::PlThreadEvent" can be used to communicate between worker and GUI threads. The event can carry a shared value between threads.
my $DONE_EVENT : shared = Wx::NewEventType;
sub work {
# ... do some stuff
my $progress = new Wx::PlThreadEvent( -1, $DONE_EVENT, $progress );
Wx::PostEvent( $frame, $progress );
# ... do stuff, create a shared $result value
my $end = new Wx::PlThreadEvent( -1, $DONE_EVENT, $result );
Wx::PostEvent( $frame, $end );
}
The target of the event can be any "Wx::EvtHandler"
Receiving events from worker threads
"Wx::PlThreadEvent" is a command event and can be handled as such. The "->GetData" method can be used to retrieve the shared data
contained inside the event.
my $DONE_EVENT : shared = Wx::NewEventType;
EVT_COMMAND( $frame, -1, $DONE_EVENT, &done );
sub done {
my( $frame, $event ) = @_;
print $event->GetData;
}
Creating new threads
Creating new threads from event handlers works without problems except from a little snag. In order not to trigger a bug in the Perl
interpreter, all event handler that directly or indirectly cause a thread creation must clean @_ before starting the thread.
For example:
sub OnCreateThread {
my( $self, $event ) = @_; @_ = ();
threads->create( ... );
}
failure to do that will cause "scalars leaked" warnings from the Perl interpreter.
perl v5.10.0 2007-04-28 Wx::Thread(3)