![]() |
![]() |
![]() |
Buzztard Bt-Edit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
BtInteractionControllerMenuBtInteractionControllerMenu — class for the interaction controller assignment popup menu |
#include "bt-edit.h" struct BtInteractionControllerMenu; enum BtInteractionControllerMenuType; BtInteractionControllerMenu * bt_interaction_controller_menu_new (const BtEditApplication *app
,BtInteractionControllerMenuType type
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkMenuShell +----GtkMenu +----BtInteractionControllerMenu
"app" BtEditApplication* : Read / Write / Construct Only "item-unbind" GtkWidget* : Read "item-unbind-all" GtkWidget* : Read "selected-control" BtIcControl* : Read / Write "type" BtInteractionControllerMenuType : Read / Write / Construct Only
struct BtInteractionControllerMenu;
the machine selection sub-menu for the canvas page context menu
typedef enum { BT_INTERACTION_CONTROLLER_RANGE_MENU=0, BT_INTERACTION_CONTROLLER_TRIGGER_MENU, } BtInteractionControllerMenuType;
BtInteractionControllerMenu can generate a menu showing different controller types.
BtInteractionControllerMenu * bt_interaction_controller_menu_new (const BtEditApplication *app
,BtInteractionControllerMenuType type
);
Create a new instance
|
the application the menu belongs to |
|
for which kind of controllers make a menu |
Returns : |
the new instance or NULL in case of an error |
"app"
property"app" BtEditApplication* : Read / Write / Construct Only
set application object, the menu belongs to.
"item-unbind-all"
property "item-unbind-all" GtkWidget* : Read
menu item for unbind-all command.
"selected-control"
property"selected-control" BtIcControl* : Read / Write
control after menu selection.
"type"
property"type" BtInteractionControllerMenuType : Read / Write / Construct Only
control types to list in the menu.
Default value: BT_INTERACTION_CONTROLLER_RANGE_MENU