[Sugar-devel] Add a button to ActivityToolbarButton

Lionel Laské lionel at olpc-france.org
Sun Sep 29 10:45:14 EDT 2013


Yes ! It was the property that miss to me !
It works now.

Thanks Walter.

           Lionel.



2013/9/29 Walter Bender <walter.bender at gmail.com>

> Maybe something like this:
>
>         activity_button = ActivityToolbarButton(self)
>         activity_button_toolbar = activity_button.page
>
>         activity_button_toolbar.insert(your_custom_button, -1)
>
> -walter
>
> On Sun, Sep 29, 2013 at 3:41 AM, Lionel Laské <lionel at olpc-france.org>
> wrote:
> >
> > Hi all,
> >
> > I'm porting an activity to Gtk3.
> > I can't find a way to add a new ToolButton to customize the
> > ActivityToolbarButton.
> > No way to find where I shoud call the insert method, I'm lost in
> > ToolbarBox/Gtk.Toolbar :-(
> >
> > Any help or any pointer to suggest to me ?
> >
> > Thanks in advance for your help.
> >
> > Best regards.
> >
> >               Lionel.
> >
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130929/54175803/attachment.html>


More information about the Sugar-devel mailing list