Add buttons to toolbar in menu

Hi,
Can you add a toolbar button dynamically to the toolbar, just like adding menu items to the menu?

Best regards,
Martin