class Handler:
def onDeleteWindow(self, *args):
Gtk.main_quit(*args)
+ def on_imagemenuitemAbout_activate(self, *args):
+ about = builder.get_object("aboutdialog")
+ about.run()
+ about.hide()
builder = Gtk.Builder()
builder.add_from_file("sigrok-meter.glade")
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child internal-child="action_area">
- <object class="GtkButtonBox" id="aboutdialog-action_area1">
+ <object class="GtkButtonBox" id="aboutdialogButtonBox">
<property name="can_focus">False</property>
<property name="layout_style">end</property>
</object>
<property name="can_focus">False</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
+ <signal name="activate" handler="on_imagemenuitemAbout_activate" swapped="no"/>
</object>
</child>
</object>