Re: Adding A button on the toolbar
Emmanuel Briot <[email protected]> Wed, 09 Aug 2006 09:33:53 +0200
| Newsgroups | gmane.comp.ide.gps.user |
|---|---|
| Message-ID | <[email protected]> |
Anh Vo wrote:
> I would like to add a button, for example for doing the same
> functionality as Build -> Compile File, on the toolbar. Even after
> reading the document, I still do not know how to do it. Could some one
> show me an example. Thank you in advance.
Create the file $HOME/.gps/plug-ins/button.xml with:
<?xml version="1.0"?>
<GPS>
<button action="/Build/Compile File">
<title>Compile File</title>
</button>
</GPS>
This example comes more or less straight from the documentation, section
"Adding tool bar buttons"
regards
Emmanuel