[Sugar-devel] Add a button to ActivityToolbarButton

Walter Bender walter.bender at gmail.com
Sun Sep 29 05:08:14 EDT 2013


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.
>
>
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org


More information about the Sugar-devel mailing list