Clutter.PressGesture.set_required_button

### Method

# Clutter PressGestureset_required_button

#### Declaration [src]

    void
    clutter_press_gesture_set_required_button (
      ClutterPressGesture* self,
      unsigned int required_button
    )

#### Description [src]

Sets the mouse button required for the press gesture to recognize. Pass 0 to allow any button. Touch input is always handled as a press of the primary button.

Sets property | `Clutter.PressGesture:required-button`

#### Parameters

`required_button`

  Type: `unsigned int`

  Mouse button required for the gesture to recognize.