Re: Adding buttons to the toolbar



Hi,

Le samedi 04 novembre 2006 à 22:12 -0500, Diego Escalante a écrit :
> So my question is: How do I add a custom button to the toolbar that is
> marked as unique so there can only be one copy of it and, of course,
> it's not listed in the editor when it's already in the toolbar?

You add it to the toolbars model available actions, by loading a xml
file like this into the model:

<?xml version="1.0"?>
<toolbars version="1.0">
  <available>
    <toolitem name="MyItem" />
  </available>
</toolbars>

Regards,
	Christian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]