|
|
So I tried Greg's tutorial, and I have run into another 'sort of' a
problem. In the video, the shortcut alt+g is explained on a windows
system, where cmd basically creates another shell.
I'm making a UI in linux because of another api, and tried the same
steps. I observed that when the shell command window is launched, and I
run the program (I use ./test; ./main where test is:
[gsaxena@caladan project]$ more test
#!/bin/bash
gnome-terminal -x make
sleep 5
#if make; then
# echo "Done";
#else
# sleep 5;
#fi
to get the same behavior as:
cmd /k "nmake hello && hello && exit || pause && exit"
)
I don't get the response after hitting the callback button instantly,
but only when the program exits. Here's a sample of what I get:
./test; ./main
Button Callback
Button Callback
Button Callback
Button Callback
Button Callback
Button Callback
Go Callback
Go Callback
Go Callback
Go Callback
Go Callback
Quit Callback
... END SHELL COMMAND ...
So, my question is, is there a better way of doing what I attempted to do?
Typing into the *show* source code window was absurd on my part, pardon
me, but I was *not* able to save changes hehe.
For a brief period I assumed that it served like an adaptive editor
where any changes made (in typing) might show up in the main fluid
window, I suppose I was getting too excited :) although it could be a
great feature in the future.
Greg, I couldn't find the advanced tutorial for classes in fluid. I
couldn't find it on seriss either. Could you let me know the link for it
? It would be of great help.
As a request to all, if anyone has a recommendation for a book which
talks about seperation of GUI from the main application, or any links
please let me know since my application is of that nature.
Thanks, and best,
Gaurav
matthiasm wrote:
On Apr 28, 2006, at 1:14 AM, Gaurav Saxena wrote:
Hi Matthias,
When I followed your instructions, I could type into the 'show source
code' window, but I couldn't save my changes. I just tried to add a
comment, closed the window and did a CTRL-S. Can we make changes
directly into the source code window ?
Gaurav
Nonono, the Source View is exactly that, a View only. Don't type into
it (I am surprised you were able to!).
I suggest you try Greg's tutorial. His stuff is really great!
----
http://robowerk.com/
[ Direct Link to Message ] | |
|
| |