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 () {
35473547 * <p>
35483548 * Note: This operation is a hint and may be overridden by the platform.
35493549 * </p>
3550+ * <p>
3551+ * Note: The background color can be overridden by setting a background image.
3552+ * </p>
35503553 * @param color the new color (or null)
35513554 *
35523555 * @exception IllegalArgumentException <ul>
@@ -3587,6 +3590,9 @@ private void _setBackground (Color color) {
35873590 * Note: This operation is a hint and may be overridden by the platform.
35883591 * For example, on Windows the background of a Button cannot be changed.
35893592 * </p>
3593+ * <p>
3594+ * Note: Setting a background image overrides a set background color.
3595+ * </p>
35903596 * @param image the new image (or null)
35913597 *
35923598 * @exception IllegalArgumentException <ul>
Original file line number Diff line number Diff line change @@ -5176,6 +5176,9 @@ void setBackground () {
51765176 * <p>
51775177 * Note: This operation is a hint and may be overridden by the platform.
51785178 * </p>
5179+ * <p>
5180+ * Note: The background color can be overridden by setting a background image.
5181+ * </p>
51795182 * @param color the new color (or null)
51805183 *
51815184 * @exception IllegalArgumentException <ul>
@@ -5281,6 +5284,9 @@ void setBackgroundGdkRGBA (long handle, GdkRGBA rgba) {
52815284 * Note: This operation is a hint and may be overridden by the platform.
52825285 * For example, on Windows the background of a Button cannot be changed.
52835286 * </p>
5287+ * <p>
5288+ * Note: Setting a background image overrides a set background color.
5289+ * </p>
52845290 * @param image the new image (or null)
52855291 *
52865292 * @exception IllegalArgumentException <ul>
Original file line number Diff line number Diff line change @@ -3072,6 +3072,9 @@ void setBackground () {
30723072 * <p>
30733073 * Note: This operation is a hint and may be overridden by the platform.
30743074 * </p>
3075+ * <p>
3076+ * Note: The background color can be overridden by setting a background image.
3077+ * </p>
30753078 * @param color the new color (or null)
30763079 *
30773080 * @exception IllegalArgumentException <ul>
@@ -3114,6 +3117,9 @@ private void _setBackground (Color color) {
31143117 * Note: This operation is a hint and may be overridden by the platform.
31153118 * For example, on Windows the background of a Button cannot be changed.
31163119 * </p>
3120+ * <p>
3121+ * Note: Setting a background image overrides a set background color.
3122+ * </p>
31173123 * @param image the new image (or null)
31183124 *
31193125 * @exception IllegalArgumentException <ul>
You can’t perform that action at this time.
0 commit comments