BtMachineActions

BtMachineActions — shared machine released ui actions

Synopsis

#include "bt-edit.h"

void                bt_machine_action_about             (BtMachine *machine,
                                                         BtMainWindow *main_window);
void                bt_machine_action_help              (BtMachine *machine,
                                                         GtkWidget *widget);

Description

Shared UI actions for machines that can be invoked from several UI classes.

Details

bt_machine_action_about ()

void                bt_machine_action_about             (BtMachine *machine,
                                                         BtMainWindow *main_window);

Shows the about dialog for the given machine.

machine :

the machine

main_window :

the main window to use as parent

bt_machine_action_help ()

void                bt_machine_action_help              (BtMachine *machine,
                                                         GtkWidget *widget);

Show help for the given machine. Uses same screen as widget (default if widget is NULL).

machine :

the machine

widget :

widget that triggered the action