Hi Mark,

Are you asking which toplevel widget you should use? Use a simple td or lr widget for that.
Canvas widgets are for drawing.

You will find lots of useful examples in the prototyper, just do:

declare
[Prototyper]={Module.link ["x-oz://system/wp/Prototyper.ozf"]}
{Prototyper.run}


cheers,
Fred.

On 14 Jul 2008, at 00:46, mark richardson wrote:

Hi,

I'm trying to develop a QTk app that will have a number of panels. The first panel will show a list of files in a user-selected directory, each one followed by a number of radiobuttons to select various actions on each file - one of them being to edit the file in the second panel. The user will also be able to add files to the directory.

I'm fairly confident that I can get to grips with dynamically creating handles for widgets where necessary but I'm not sure of the best way to approach dynamically creating the widgets themselves.

Some of my questions are:-
Would I use a canvas widget, then add QTk widgets to it? (At least I think you can do that!) If I used placeholder widgets, would I need a 'dummy' number of them created initially, to be populated as required?
Or something completely different?

If it wasn't for the requirement to be able to add files at runtime, the problem would be a lot simpler I think.

Any help would be really appreciated.

Regards
Mark


--
Mark Richardson
Final Year Undergraduate
University of Teesside, UK


_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users


_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to