From: Pierre Baillet Date: 2003-03-20T09:09:41+09:00 Subject: Re: [FXRUBY] FXProgressBar and SEL_COMMAND Hello, Thanks for all the tips Lyle, your answers are, as always, perfect :) On Wed, Mar 19, 2003, Lyle Johnson wrote: > > This doesn't sound like something that warrants instantiating a whole > new main window object, but of course I guess it depends on how the > application is structured. For the dialog box (or whatever it is) that > the user interacts with to select a new image, is it that you're trying > to provide some kind of "preview" of the image to be loaded? Can't you > just embed an FXImageView widget in there somehow? Please take a look at > the imageview.rb example program for an idea of how to use the > FXImageView widget, it's pretty easy. > just to add some precision to what i'm doing. This is an image browser which allows you to select an image for any folder. So you're browsing your pictures and then you say "hey i'd like to put a picture _on_ this folder", click on a button and a new image browser (which lets you choose one of the picture inside this folder) enables you to choose a picture for your folder. You select your picture, click on a button and this second browser disapear. Hence the second instantiation. Hope my english is good enough to explain this :) -- Pierre Baillet Je pompe donc je suis. Devise Shadok