Lines Matching refs:Button
169 } Button;
187 static char *classNames[] = {"Label", "Button", "Checkbutton", "Radiobutton"};
226 DEF_BUTTON_ACTIVE_BG_COLOR, Tk_Offset(Button, activeBorder),
230 DEF_BUTTON_ACTIVE_BG_MONO, Tk_Offset(Button, activeBorder),
234 DEF_BUTTON_ACTIVE_FG_COLOR, Tk_Offset(Button, activeFg),
238 DEF_BUTTON_ACTIVE_FG_MONO, Tk_Offset(Button, activeFg),
242 DEF_BUTTON_ANCHOR, Tk_Offset(Button, anchor), ALL_MASK},
244 DEF_BUTTON_BG_COLOR, Tk_Offset(Button, normalBorder),
247 DEF_BUTTON_BG_MONO, Tk_Offset(Button, normalBorder),
254 DEF_BUTTON_BITMAP, Tk_Offset(Button, bitmap),
257 DEF_BUTTON_BORDER_WIDTH, Tk_Offset(Button, borderWidth), ALL_MASK},
259 DEF_BUTTON_COMMAND, Tk_Offset(Button, command),
262 DEF_BUTTON_CURSOR, Tk_Offset(Button, cursor),
266 Tk_Offset(Button, disabledFg), BUTTON_MASK|CHECK_BUTTON_MASK
270 Tk_Offset(Button, disabledFg), BUTTON_MASK|CHECK_BUTTON_MASK
275 DEF_BUTTON_FONT, Tk_Offset(Button, fontPtr),
278 DEF_BUTTON_FG, Tk_Offset(Button, normalFg), ALL_MASK},
280 DEF_BUTTON_HEIGHT, Tk_Offset(Button, heightString), ALL_MASK},
283 Tk_Offset(Button, highlightBgColorPtr), ALL_MASK},
285 DEF_BUTTON_HIGHLIGHT, Tk_Offset(Button, highlightColorPtr),
289 DEF_LABEL_HIGHLIGHT_WIDTH, Tk_Offset(Button, highlightWidth),
293 DEF_BUTTON_HIGHLIGHT_WIDTH, Tk_Offset(Button, highlightWidth),
296 DEF_BUTTON_IMAGE, Tk_Offset(Button, imageString),
299 DEF_BUTTON_INDICATOR, Tk_Offset(Button, indicatorOn),
302 DEF_BUTTON_JUSTIFY, Tk_Offset(Button, justify), ALL_MASK},
304 DEF_BUTTON_OFF_VALUE, Tk_Offset(Button, offValue),
307 DEF_BUTTON_ON_VALUE, Tk_Offset(Button, onValue),
310 DEF_BUTTON_PADX, Tk_Offset(Button, padX), BUTTON_MASK},
312 DEF_LABCHKRAD_PADX, Tk_Offset(Button, padX),
315 DEF_BUTTON_PADY, Tk_Offset(Button, padY), BUTTON_MASK},
317 DEF_LABCHKRAD_PADY, Tk_Offset(Button, padY),
320 DEF_BUTTON_RELIEF, Tk_Offset(Button, relief), BUTTON_MASK},
322 DEF_LABCHKRAD_RELIEF, Tk_Offset(Button, relief),
325 DEF_BUTTON_SELECT_COLOR, Tk_Offset(Button, selectBorder),
329 DEF_BUTTON_SELECT_MONO, Tk_Offset(Button, selectBorder),
333 DEF_BUTTON_SELECT_IMAGE, Tk_Offset(Button, selectImageString),
336 DEF_BUTTON_STATE, Tk_Offset(Button, state),
339 DEF_LABEL_TAKE_FOCUS, Tk_Offset(Button, takeFocus),
342 DEF_BUTTON_TAKE_FOCUS, Tk_Offset(Button, takeFocus),
345 DEF_BUTTON_TEXT, Tk_Offset(Button, text), ALL_MASK},
347 DEF_BUTTON_TEXT_VARIABLE, Tk_Offset(Button, textVarName),
350 DEF_BUTTON_UNDERLINE, Tk_Offset(Button, underline), ALL_MASK},
352 DEF_BUTTON_VALUE, Tk_Offset(Button, onValue),
355 DEF_RADIOBUTTON_VARIABLE, Tk_Offset(Button, selVarName),
358 DEF_CHECKBUTTON_VARIABLE, Tk_Offset(Button, selVarName),
361 DEF_BUTTON_WIDTH, Tk_Offset(Button, widthString), ALL_MASK},
363 DEF_BUTTON_WRAP_LENGTH, Tk_Offset(Button, wrapLength), ALL_MASK},
405 static void ComputeButtonGeometry _ANSI_ARGS_((Button *butPtr));
407 Button *butPtr, int argc, char **argv,
409 static void DestroyButton _ANSI_ARGS_((Button *butPtr));
411 static int InvokeButton _ANSI_ARGS_((Button *butPtr));
507 register Button *butPtr;
530 butPtr = (Button *) ckalloc(sizeof(Button));
625 register Button *butPtr = (Button *) clientData;
788 Button *butPtr; /* Info about button widget. */
857 register Button *butPtr; /* Information about widget; may or may
1135 register Button *butPtr = (Button *) clientData;
1436 Button *butPtr = (Button *) clientData;
1503 Button *butPtr = (Button *) clientData;
1540 register Button *butPtr; /* Button whose geometry may have changed. */
1637 register Button *butPtr; /* Information about button. */
1692 register Button *butPtr = (Button *) clientData;
1767 register Button *butPtr = (Button *) clientData;
1833 register Button *butPtr = (Button *) clientData;
1872 register Button *butPtr = (Button *) clientData;