gui help

I want to create a GUI that is basically a ton of buttons with different images, where each button runs a command who's name is based on the names of other scripts i have.

First, I don't know how to house all the buttons on a grid so that there is a scroll bar if need be.

Second, I want the buttons to be created depending on the files in my script folder. Each button will run a script in my script folder.

In summary, the buttons need to be generated, but I don't know how to procedurally create buttons, their names, and what they do (even though all that info is given by the title of the files in the script folder.)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

glad i'm help man. Just keep

glad i'm help man.
Just keep up
Cheers!

bga

barigazy's picture

You need to know what is the

You need to know what is the plugin class name
Do following:
Create tour plugin object
in listener type next line
classof $
If listener throw, let say eyeBolt
then try whit this
startObjectCreation eyeBolt

bga

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.