XmToggleButtonSetState(3)

XmToggleButtonSetState3

A togglebutton function that sets or changes the current state

Usage

#include <Xm/ToggleB.h>
void XmToggleButtonSetState(
Widget widget,
Boolean state,
Boolean notify);

Overview

XmToggleButtonSetState sets or changes the ToggleButton's current state.

widget

Specifies the ToggleButton widget ID.

state

Specifies a Boolean value that indicates whether the ToggleButton state is selected or unselected. If the value is True, the button state is selected; if it is False, the button state is unselected.

notify

Indicates whether XmNvalueChangedCallback is called; it can be either True or False. The XmNvalueChangedCallback is only called when this function changes the state of the ToggleButton. When this argument is True and the ToggleButton is a child of a RowColumn widget whose XmNradioBehavior is True, setting the ToggleButton causes other ToggleButton and ToggleButtonGadget children of the RowColumn to be unselected.

For a complete definition of ToggleButton and its associated resources, see XmToggleButton(3).

Releases

7 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–13
  2. Arch

From openmotif 2.3.8-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.