In my Python application I have some GtkMenuItems (associated with the main GtkMenuBar), and some GtkMenuToolButtons inside my GtkToolbar.
- gtkMenuBar1
- gtkMenuItem1
- gtkMenuItem2
- gtkMenuItem3
- gtkToolbar1
- gtkMenuToolButton1
By default, gtkMenuToolButton1 is obviously empty. I want to do something like
self.ui.gtkMenuToolButton1.set_menu(self.ui.gtkMenuItem1)
But if I do that (inside finish_initializing() of my window), nothing changes. I'm new to Python and Gtk3. What am I doing wrong?