Lines Matching refs:toggle

75  * The order of toggle and notify are important, as the state has
81 "<Btn1Down>,<Btn1Up>:" "toggle() notify()\n"
100 offset(toggle.widget),
109 offset(toggle.radio_data),
117 {"toggle", Toggle},
174 /* toggle */
236 tw->toggle.radio_group = NULL;
238 if (tw->toggle.radio_data == NULL)
239 tw->toggle.radio_data = (XtPointer)cnew->core.name;
241 if (tw->toggle.widget != NULL) {
242 if (GetRadioGroup(tw->toggle.widget) == NULL)
243 CreateRadioGroup(cnew, tw->toggle.widget);
245 AddToRadioGroup(GetRadioGroup(tw->toggle.widget), cnew);
256 * I want to set the toggle if the user set the state to "On" in
304 if (oldtw->toggle.widget != tw->toggle.widget)
305 XawToggleChangeRadioGroup(cnew, tw->toggle.widget);
323 * w - toggle widget that is being destroyed
328 * Destroy Callback for toggle widget.
342 * w - toggle widget who's radio group we are getting
345 * Gets the radio group associated with a give toggle widget.
348 * The radio group associated with this toggle group
358 return (tw->toggle.radio_group);
366 * w1 - toggle widgets to add to the radio group
381 if (tw1->toggle.radio_group != NULL || tw2->toggle.radio_group != NULL)
384 "new toggle group, when one already exists.");
396 * w - new toggle widget to add to the group
399 * Adds a toggle to the radio group.
409 tw->toggle.radio_group = local;
428 * widget - toggle widget
462 * w - toggle widget to remove
465 * Removes a toggle from a RadioGroup.
485 * w - toggle widget to change groups
489 * Allows a toggle widget to change radio groups.
499 * If the toggle that we are about to add is set then we will
521 * w - any toggle widget in the toggle group
524 * Returns the RadioData associated with the toggle
525 * widget that is currently active in a toggle group.
528 * The XtNradioData associated with the toggle widget
545 return (local_tog->toggle.radio_data);
557 * radio_group - any toggle widget in the toggle group
558 * radio_data - radio data of the toggle widget to set
574 if (local_tog->toggle.radio_data == radio_data &&
594 if (local_tog->toggle.radio_data == radio_data) {
610 * radio_group - any toggle widget in the toggle group