FLTK logo

Re: [fltk.general] fluid question

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: fluid question Gaurav Saxena May 01, 2006  
  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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.