@@ -1081,6 +1081,17 @@ namespace PhWidgets
1081
1081
// ! Converts Widget to constant Photon widget pointer
1082
1082
operator const PtWidget_t*() const ;
1083
1083
1084
+ // ! Brings the widget to the front of the z-order.
1085
+ /* !
1086
+ The widget is moved to the front of the z-order.
1087
+ If the widget is a child of another widget, the child widget is moved to the front of the z-order.
1088
+ BringToFront() does not make a widget a top-level widget, and it does not raise the Widget::Paint event.
1089
+
1090
+ @see
1091
+ - SendToBack()
1092
+ */
1093
+ void BringToFront ();
1094
+
1084
1095
// ! Sets input focus to the widget.
1085
1096
/* !
1086
1097
@return `true` if the input focus request was successful; otherwise, `false`.
@@ -1113,7 +1124,7 @@ namespace PhWidgets
1113
1124
- ProgressBar
1114
1125
- Splitter
1115
1126
- Label
1116
- - LinkLabel (when there is no link present in the control )
1127
+ - LinkLabel (when there is no link present in the widget )
1117
1128
*/
1118
1129
bool Focus ();
1119
1130
@@ -1136,6 +1147,20 @@ namespace PhWidgets
1136
1147
*/
1137
1148
Widget GetNextWidget (Widget widget, bool forward = true ) const ;
1138
1149
1150
+ // ! Sends the widget to the back of the z-order.
1151
+ /* !
1152
+ The widget is moved to the back of the z-order.
1153
+ If the widget is a child of another widget, the child widget is moved to the back of the z-order.
1154
+ If the widget is a top-level widget, this method will not work correctly unless the widget is active.
1155
+ A top-level widget is a widget, such as a Form, that is not a child of another widget.
1156
+ An active widget is a visible widget that has input focus.
1157
+ To use the SendToBack() method with an inactive, top-level widget, first call the BringToFront() method on the widget.
1158
+
1159
+ @see
1160
+ - BringToFront()
1161
+ */
1162
+ void SendToBack ();
1163
+
1139
1164
// @{
1140
1165
// ! Sets the bounds of the widget to the specified location and size.
1141
1166
/* !
0 commit comments