21 #ifndef FXRADIOBUTTON_H 22 #define FXRADIOBUTTON_H 33 RADIOBUTTON_AUTOGRAY = 0x00800000,
34 RADIOBUTTON_AUTOHIDE = 0x01000000,
35 RADIOBUTTON_NORMAL = JUSTIFY_NORMAL|ICON_BEFORE_TEXT
64 long onPaint(
FXObject*,FXSelector,
void*);
65 long onUpdate(
FXObject*,FXSelector,
void*);
66 long onEnter(
FXObject*,FXSelector,
void*);
67 long onLeave(
FXObject*,FXSelector,
void*);
68 long onFocusIn(
FXObject*,FXSelector,
void*);
69 long onFocusOut(
FXObject*,FXSelector,
void*);
70 long onUngrabbed(
FXObject*,FXSelector,
void*);
71 long onLeftBtnPress(
FXObject*,FXSelector,
void*);
72 long onLeftBtnRelease(
FXObject*,FXSelector,
void*);
73 long onKeyPress(
FXObject*,FXSelector,
void*);
74 long onKeyRelease(
FXObject*,FXSelector,
void*);
75 long onHotKeyPress(
FXObject*,FXSelector,
void*);
76 long onHotKeyRelease(
FXObject*,FXSelector,
void*);
77 long onCheck(
FXObject*,FXSelector,
void*);
78 long onUncheck(
FXObject*,FXSelector,
void*);
79 long onUnknown(
FXObject*,FXSelector,
void*);
80 long onCmdSetValue(
FXObject*,FXSelector,
void*);
81 long onCmdSetIntValue(
FXObject*,FXSelector,
void*);
82 long onCmdGetIntValue(
FXObject*,FXSelector,
void*);
86 FXRadioButton(
FXComposite* p,
const FXString& text,
FXObject* tgt=
nullptr,FXSelector sel=0,FXuint opts=RADIOBUTTON_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD);
89 virtual FXbool canFocus()
const;
92 virtual FXint getDefaultWidth();
95 virtual FXint getDefaultHeight();
98 void setCheck(FXuchar s=
true,FXbool notify=
false);
104 void setRadioButtonStyle(FXuint style);
107 FXuint getRadioButtonStyle()
const;
113 void setRadioColor(FXColor clr);
119 void setDiskColor(FXColor clr);
122 virtual void save(
FXStream& store)
const;
A label widget can be used to place a text and/or icon for explanation purposes.
Definition: FXLabel.h:64
Base composite.
Definition: FXComposite.h:32
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42