On Mon, 2 Mar 2009 06:06:17 pm Marc Carson wrote:
> I'm just starting to learn Gambas and I'd like to know how to make an
> image-button launch an executable or a Bash script. I'd like to make a
> grid of buttons that I can customize in this way, each button with its
> own icon, sort of like how launchers work on the GNOME panel.
>
> Is this doable? If so I'd love to hear any advice on how.
>
> Thanks.
Not sure what you want, but sounds like its probably the shell command, look 
it up in the help
Put under the click event

public sub mybutton_click()
        Shell "kcalc" would run a calculator etc.
end


Lots of options, I'm not expert and struggle with knowing when a process 
finishes, and intend to ask some questions on that myself soon, but you can 
at least do simple things to start.

Hope this is 'on topic' for you.

Richard


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to