My aim is to improve a little text editor as an exercise. It is running fine after the HeaderBar was added, however I can\'t find a way to pack buttons in i
You are trying to call pack_start on the button, not on the headerbar:
pack_start
// Add everything to the toolbar open_button.pack_start ()
The correct code is:
headerbar.pack_start (open_button)