BtInteractionControllerMenu

BtInteractionControllerMenu — class for the interaction controller assignment popup menu

Functions

Properties

GtkWidget * item-unbind Read
GtkWidget * item-unbind-all Read
BtIcControl * selected-control Read / Write
BtInteractionControllerMenuType type Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkMenuShell
                        ╰── GtkMenu
                            ╰── BtInteractionControllerMenu

Implemented Interfaces

BtInteractionControllerMenu implements AtkImplementorIface and GtkBuildable.

Includes

#include "bt-edit.h"

Description

Build a menu with available interaction controllers of a type.

Functions

bt_interaction_controller_menu_new ()

BtInteractionControllerMenu *
bt_interaction_controller_menu_new (BtInteractionControllerMenuType type);

Create a new instance

Parameters

type

for which kind of controllers make a menu

 

Returns

the new instance

Types and Values

struct BtInteractionControllerMenu

struct BtInteractionControllerMenu;

the machine selection sub-menu for the canvas page context menu


enum BtInteractionControllerMenuType

BtInteractionControllerMenu can generate a menu showing different controller types.

Members

BT_INTERACTION_CONTROLLER_RANGE_MENU

range controllers

 

BT_INTERACTION_CONTROLLER_TRIGGER_MENU

trigger controllers

 

Property Details

The “item-unbind” property

  “item-unbind”              GtkWidget *

menu item for unbind command.

Flags: Read


The “item-unbind-all” property

  “item-unbind-all”          GtkWidget *

menu item for unbind-all command.

Flags: Read


The “selected-control” property

  “selected-control”         BtIcControl *

control after menu selection.

Flags: Read / Write


The “type” property

  “type”                     BtInteractionControllerMenuType

control types to list in the menu.

Flags: Read / Write / Construct Only

Default value: BT_INTERACTION_CONTROLLER_RANGE_MENU