Lines Matching refs:toggle

59  * The order of toggle and notify are important, as the state has
66 <Btn1Down>,<Btn1Up>: toggle() notify()";
74 offset(toggle.widget), XtRWidget, (XtPointer) NULL },
76 offset(toggle.radio_data), XtRPointer, (XtPointer) NULL },
94 {"toggle", Toggle},
209 tw->toggle.radio_group = NULL;
211 if (tw->toggle.radio_data == NULL)
212 tw->toggle.radio_data = (XtPointer) new->core.name;
214 if (tw->toggle.widget != NULL) {
215 if ( GetRadioGroup(tw->toggle.widget) == NULL)
216 CreateRadioGroup(new, tw->toggle.widget);
218 AddToRadioGroup( GetRadioGroup(tw->toggle.widget), new);
229 * 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(new, tw->toggle.widget);
318 * Description: Destroy Callback for toggle widget.
319 * Arguments: w - the toggle widget that is being destroyed.
336 * radio toggle buttons.
341 * Description: Gets the radio group associated with a give toggle
343 * Arguments: w - the toggle widget who's radio group we are getting.
344 * Returns: the radio group associated with this toggle group.
354 return( tw->toggle.radio_group );
359 * Arguments: w1, w2 - the toggle widgets to add to the radio group.
374 if ( (tw1->toggle.radio_group != NULL) || (tw2->toggle.radio_group != NULL) ) {
376 "to create a new toggle group, when one already exists.");
385 * Description: Adds a toggle to the radio group.
387 * w - the new toggle widget to add to the group.
401 tw->toggle.radio_group = local;
417 * Arguments: widget - a toggle widget.
446 * Description: Removes a toggle from a RadioGroup.
447 * Arguments: w - the toggle widget to remove.
472 * Description: Allows a toggle widget to change radio groups.
473 * Arguments: w - The toggle widget to change groups.
492 * If the toggle that we are about to add is set then we will
506 * Description: Returns the RadioData associated with the toggle
507 * widget that is currently active in a toggle group.
508 * Arguments: w - any toggle widget in the toggle group.
509 * Returns: The XtNradioData associated with the toggle widget.
528 return( local_tog->toggle.radio_data );
537 * Arguments: radio_group - any toggle widget in the toggle group.
538 * radio_data - radio data of the toggle widget to set.
558 if ( (local_tog->toggle.radio_data == radio_data) )
578 if ( (local_tog->toggle.radio_data == radio_data) ) {
591 * Arguments: radio_group - any toggle widget in the toggle group.