BtInteractionControllerLearnDialog

BtInteractionControllerLearnDialog — learn dialog for interaction devices

Functions

Properties

BtIcDevice * device Write / Construct Only
BtInteractionControllerMenu * menu Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GtkDialog
                            ╰── BtInteractionControllerLearnDialog

Implemented Interfaces

BtInteractionControllerLearnDialog implements AtkImplementorIface and GtkBuildable.

Includes

#include "bt-edit.h"

Description

A dialog to where the user can train a new control. The user will move the desired hardware control, then the dialog will show the detected control. The user can change the auto generated name and then assign it.

Functions

bt_interaction_controller_learn_dialog_new ()

BtInteractionControllerLearnDialog *
bt_interaction_controller_learn_dialog_new
                               (BtIcDevice *device,
                                BtInteractionControllerMenu *menu);

Create a new instance.

Parameters

device

the device of which the learn events are monitored

 

menu

the parent menu to notify about the result

 

Returns

the new instance

Types and Values

struct BtInteractionControllerLearnDialog

struct BtInteractionControllerLearnDialog;

dynamic controller learn dialog

Property Details

The “device” property

  “device”                   BtIcDevice *

Set the device we want to snoop for a new controler.

Flags: Write / Construct Only


The “menu” property

  “menu”                     BtInteractionControllerMenu *

The parent menu.

Flags: Write / Construct Only