diff options
author | Felipe Heidrich <fheidric> | 2006-04-04 16:14:12 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2006-04-04 16:14:12 +0000 |
commit | bc310bd9655651b52165d178effebf866f9bb12e (patch) | |
tree | 10de8fc505f36b004ffa52bfe4e6a799769e99c2 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java | |
parent | 2c9d385ebfa470abd6095774582363c566158bfd (diff) | |
download | eclipse.platform.swt-bc310bd9655651b52165d178effebf866f9bb12e.tar.gz eclipse.platform.swt-bc310bd9655651b52165d178effebf866f9bb12e.tar.xz eclipse.platform.swt-bc310bd9655651b52165d178effebf866f9bb12e.zip |
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java index a44bb7ec21..f037e7d00a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java @@ -150,6 +150,28 @@ public void removeExpandListener(ExpandListener listener) { eventTable.unhook (SWT.Collapse, listener); } +void setBackgroundColor (GdkColor color) { + super.setBackgroundColor (color); + setBackgroundColor (fixedHandle, color); +} + +void setFontDescription (int /*long*/ font) { + super.setFontDescription (font); + ExpandItem [] items = getItems (); + for (int i = 0; i < items.length; i++) { + items[i].setFontDescription (font); + } + relayout (); +} + +void setForegroundColor (GdkColor color) { + super.setForegroundColor (color); + ExpandItem [] items = getItems (); + for (int i = 0; i < items.length; i++) { + items[i].setForegroundColor (color); + } +} + public void setSpacing (int spacing) { checkWidget (); if (spacing < 0) return; |