diff options
| author | jpbruyere <jp_bruyere@hotmail.com> | 2013-11-16 09:16:43 +0100 |
|---|---|---|
| committer | jpbruyere <jp_bruyere@hotmail.com> | 2013-11-16 09:16:43 +0100 |
| commit | dab0f2befeda33bd1c8e59ec41a2e1768712086b (patch) | |
| tree | e1dc606a3d8eeccd221e8adc03edc8639c3daa17 /src/VerticalWrappingWidget.cs | |
first commit
Diffstat (limited to 'src/VerticalWrappingWidget.cs')
| -rw-r--r-- | src/VerticalWrappingWidget.cs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/VerticalWrappingWidget.cs b/src/VerticalWrappingWidget.cs new file mode 100644 index 00000000..dbebcad0 --- /dev/null +++ b/src/VerticalWrappingWidget.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using Cairo; + +namespace go +{ + public class VerticalWrappingWidget : WrappedWidgetGroup + { + public VerticalWrappingWidget(int _borderWidth = 0) : + base() + { + Orientation = Orientation.Vertical; + borderWidth = _borderWidth; + sizeToContent = true; + background = Color.Transparent; + } + public VerticalWrappingWidget(Color _borderColor, int _borderWidth = 1) : + base() + { + Orientation = Orientation.Vertical; + borderWidth = _borderWidth; + borderColor = _borderColor; + background = Color.Transparent; + sizeToContent = true; + } + public VerticalWrappingWidget(Color _borderColor, Color _background, int _borderWidth = 1) : + base() + { + Orientation = Orientation.Vertical; + borderWidth = _borderWidth; + borderColor = _borderColor; + background = _background; + sizeToContent = true; + } + + } +} |