File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
bundles/org.eclipse.swt/Eclipse SWT
cocoa/org/eclipse/swt/widgets
gtk/org/eclipse/swt/widgets
win32/org/eclipse/swt/widgets Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -3547,6 +3547,9 @@ void setBackground () {
3547
3547
* <p>
3548
3548
* Note: This operation is a hint and may be overridden by the platform.
3549
3549
* </p>
3550
+ * <p>
3551
+ * Note: The background color can be overridden by setting a background image.
3552
+ * </p>
3550
3553
* @param color the new color (or null)
3551
3554
*
3552
3555
* @exception IllegalArgumentException <ul>
@@ -3587,6 +3590,9 @@ private void _setBackground (Color color) {
3587
3590
* Note: This operation is a hint and may be overridden by the platform.
3588
3591
* For example, on Windows the background of a Button cannot be changed.
3589
3592
* </p>
3593
+ * <p>
3594
+ * Note: Setting a background image overrides a set background color.
3595
+ * </p>
3590
3596
* @param image the new image (or null)
3591
3597
*
3592
3598
* @exception IllegalArgumentException <ul>
Original file line number Diff line number Diff line change @@ -5172,6 +5172,9 @@ void setBackground () {
5172
5172
* <p>
5173
5173
* Note: This operation is a hint and may be overridden by the platform.
5174
5174
* </p>
5175
+ * <p>
5176
+ * Note: The background color can be overridden by setting a background image.
5177
+ * </p>
5175
5178
* @param color the new color (or null)
5176
5179
*
5177
5180
* @exception IllegalArgumentException <ul>
@@ -5277,6 +5280,9 @@ void setBackgroundGdkRGBA (long handle, GdkRGBA rgba) {
5277
5280
* Note: This operation is a hint and may be overridden by the platform.
5278
5281
* For example, on Windows the background of a Button cannot be changed.
5279
5282
* </p>
5283
+ * <p>
5284
+ * Note: Setting a background image overrides a set background color.
5285
+ * </p>
5280
5286
* @param image the new image (or null)
5281
5287
*
5282
5288
* @exception IllegalArgumentException <ul>
Original file line number Diff line number Diff line change @@ -3072,6 +3072,9 @@ void setBackground () {
3072
3072
* <p>
3073
3073
* Note: This operation is a hint and may be overridden by the platform.
3074
3074
* </p>
3075
+ * <p>
3076
+ * Note: The background color can be overridden by setting a background image.
3077
+ * </p>
3075
3078
* @param color the new color (or null)
3076
3079
*
3077
3080
* @exception IllegalArgumentException <ul>
@@ -3114,6 +3117,9 @@ private void _setBackground (Color color) {
3114
3117
* Note: This operation is a hint and may be overridden by the platform.
3115
3118
* For example, on Windows the background of a Button cannot be changed.
3116
3119
* </p>
3120
+ * <p>
3121
+ * Note: Setting a background image overrides a set background color.
3122
+ * </p>
3117
3123
* @param image the new image (or null)
3118
3124
*
3119
3125
* @exception IllegalArgumentException <ul>
You can’t perform that action at this time.
0 commit comments