Top | ![]() |
![]() |
![]() |
![]() |
BtInteractionControllerMenuBtInteractionControllerMenu — class for the interaction controller assignment popup menu |
BtMachine * | machine | Write / Construct Only |
BtIcControl * | selected-control | Read / Write |
GstObject * | selected-object | Read / Write |
BtParameterGroup * | selected-parameter-group | Read / Write |
gchar * | selected-property-name | Read / Write |
BtInteractionControllerMenuType | type | Read / Write / Construct Only |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkMenuShell ╰── GtkMenu ╰── BtInteractionControllerMenu
Build a menu with available interaction controllers of a type to be used for a specified machine.
The menu will show whether a control is bound or not and if it is bound the label will include the currently bound target.
BtInteractionControllerMenu * bt_interaction_controller_menu_new (BtInteractionControllerMenuType type
,BtMachine *machine
);
Create a new instance.
struct BtInteractionControllerMenu;
the machine selection sub-menu for the canvas page context menu
BtInteractionControllerMenu can generate a menu showing different controller types.
“machine”
property“machine” BtMachine *
Set machine object, the menu handles.
Flags: Write / Construct Only
“selected-control”
property“selected-control” BtIcControl *
control after menu selection.
Flags: Read / Write
“selected-object”
property “selected-object” GstObject *
object the menu is invoked on.
Flags: Read / Write
“selected-parameter-group”
property“selected-parameter-group” BtParameterGroup *
object-parameter-group the menu is invoked on.
Flags: Read / Write
“selected-property-name”
property “selected-property-name” gchar *
object-property-name the menu is invoked on.
Flags: Read / Write
Default value: NULL
“type”
property“type” BtInteractionControllerMenuType
control types to list in the menu.
Flags: Read / Write / Construct Only
Default value: BT_INTERACTION_CONTROLLER_RANGE_MENU