def show_campaign_selection(self): """ Display the campaign selection dialog in a new :py:class:`.CampaignSelectionDialog` instance. :return: Whether or not a campaign was selected. :rtype: bool """ dialog = dialogs.CampaignSelectionDialog(self) return dialog.interact() == Gtk.ResponseType.APPLY
def show_campaign_selection(self): """ Display the campaign selection dialog in a new :py:class:`.CampaignSelectionDialog` instance. :return: The status of the dialog. :rtype: bool """ dialog = dialogs.CampaignSelectionDialog(self.config, self) return dialog.interact() == Gtk.ResponseType.APPLY