AgsMachineSelector

AgsMachineSelector — machine radio buttons

Synopsis

#include <ags/X/editor/ags_machine_selector.h>

struct              AgsMachineSelector;
struct              AgsMachineSelectorClass;
void                ags_machine_selector_changed        (AgsMachineSelector *machine_selector,
                                                         AgsMachine *machine);
AgsMachineSelector * ags_machine_selector_new           ();
GtkMenu *           ags_machine_selector_popup_new      (AgsMachineSelector *machine_selector);

Description

The AgsMachineSelector enables you make choice of an AgsMachine.

Details

struct AgsMachineSelector

struct AgsMachineSelector {
  GtkVBox vbox;

  GtkMenu *popup;
};

struct AgsMachineSelectorClass

struct AgsMachineSelectorClass {
  GtkVBoxClass vbox;

  void (*changed)(AgsMachineSelector *machine_selector, AgsMachine *machine);
};

ags_machine_selector_changed ()

void                ags_machine_selector_changed        (AgsMachineSelector *machine_selector,
                                                         AgsMachine *machine);

Emitted as AgsMachineSelector modified.

Since 0.4


ags_machine_selector_new ()

AgsMachineSelector * ags_machine_selector_new           ();

Create a new AgsMachineSelector.

Since 0.4


ags_machine_selector_popup_new ()

GtkMenu *           ags_machine_selector_popup_new      (AgsMachineSelector *machine_selector);

Create a new AgsMachineSelectorPopup.

Since 0.4