Class: Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle
- Inherits:
-
Object
- Object
- Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/monitoring/dashboard/v1/text.rb
Overview
Properties that determine how the title and content are styled
Defined Under Namespace
Modules: FontSize, HorizontalAlignment, PaddingSize, PointerLocation, VerticalAlignment
Instance Attribute Summary collapse
-
#background_color ⇒ ::String
The background color as a hex string.
-
#font_size ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::FontSize
Font sizes for both the title and content.
-
#horizontal_alignment ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::HorizontalAlignment
The horizontal alignment of both the title and content.
-
#padding ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PaddingSize
The amount of padding around the widget.
-
#pointer_location ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PointerLocation
The pointer location for this widget (also sometimes called a "tail").
-
#text_color ⇒ ::String
The text color as a hex string.
-
#vertical_alignment ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::VerticalAlignment
The vertical alignment of both the title and content.
Instance Attribute Details
#background_color ⇒ ::String
Returns The background color as a hex string. "#RRGGBB" or "#RGB".
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'proto_docs/google/monitoring/dashboard/v1/text.rb', line 62 class TextStyle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The horizontal alignment of both the title and content on a text widget module HorizontalAlignment # No horizontal alignment specified, will default to H_LEFT HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0 # Left-align H_LEFT = 1 # Center-align H_CENTER = 2 # Right-align H_RIGHT = 3 end # The vertical alignment of both the title and content on a text widget module VerticalAlignment # No vertical alignment specified, will default to V_TOP VERTICAL_ALIGNMENT_UNSPECIFIED = 0 # Top-align V_TOP = 1 # Center-align V_CENTER = 2 # Bottom-align V_BOTTOM = 3 end # Specifies padding size around a text widget module PaddingSize # No padding size specified, will default to P_EXTRA_SMALL PADDING_SIZE_UNSPECIFIED = 0 # Extra small padding P_EXTRA_SMALL = 1 # Small padding P_SMALL = 2 # Medium padding P_MEDIUM = 3 # Large padding P_LARGE = 4 # Extra large padding P_EXTRA_LARGE = 5 end # Specifies a font size for the title and content of a text widget module FontSize # No font size specified, will default to FS_LARGE FONT_SIZE_UNSPECIFIED = 0 # Extra small font size FS_EXTRA_SMALL = 1 # Small font size FS_SMALL = 2 # Medium font size FS_MEDIUM = 3 # Large font size FS_LARGE = 4 # Extra large font size FS_EXTRA_LARGE = 5 end # Specifies where a visual pointer is placed on a text widget (also # sometimes called a "tail") module PointerLocation # No visual pointer POINTER_LOCATION_UNSPECIFIED = 0 # Placed in the middle of the top of the widget PL_TOP = 1 # Placed in the middle of the right side of the widget PL_RIGHT = 2 # Placed in the middle of the bottom of the widget PL_BOTTOM = 3 # Placed in the middle of the left side of the widget PL_LEFT = 4 # Placed on the left side of the top of the widget PL_TOP_LEFT = 5 # Placed on the right side of the top of the widget PL_TOP_RIGHT = 6 # Placed on the top of the right side of the widget PL_RIGHT_TOP = 7 # Placed on the bottom of the right side of the widget PL_RIGHT_BOTTOM = 8 # Placed on the right side of the bottom of the widget PL_BOTTOM_RIGHT = 9 # Placed on the left side of the bottom of the widget PL_BOTTOM_LEFT = 10 # Placed on the bottom of the left side of the widget PL_LEFT_BOTTOM = 11 # Placed on the top of the left side of the widget PL_LEFT_TOP = 12 end end |
#font_size ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::FontSize
Returns Font sizes for both the title and content. The title will still be larger relative to the content.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'proto_docs/google/monitoring/dashboard/v1/text.rb', line 62 class TextStyle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The horizontal alignment of both the title and content on a text widget module HorizontalAlignment # No horizontal alignment specified, will default to H_LEFT HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0 # Left-align H_LEFT = 1 # Center-align H_CENTER = 2 # Right-align H_RIGHT = 3 end # The vertical alignment of both the title and content on a text widget module VerticalAlignment # No vertical alignment specified, will default to V_TOP VERTICAL_ALIGNMENT_UNSPECIFIED = 0 # Top-align V_TOP = 1 # Center-align V_CENTER = 2 # Bottom-align V_BOTTOM = 3 end # Specifies padding size around a text widget module PaddingSize # No padding size specified, will default to P_EXTRA_SMALL PADDING_SIZE_UNSPECIFIED = 0 # Extra small padding P_EXTRA_SMALL = 1 # Small padding P_SMALL = 2 # Medium padding P_MEDIUM = 3 # Large padding P_LARGE = 4 # Extra large padding P_EXTRA_LARGE = 5 end # Specifies a font size for the title and content of a text widget module FontSize # No font size specified, will default to FS_LARGE FONT_SIZE_UNSPECIFIED = 0 # Extra small font size FS_EXTRA_SMALL = 1 # Small font size FS_SMALL = 2 # Medium font size FS_MEDIUM = 3 # Large font size FS_LARGE = 4 # Extra large font size FS_EXTRA_LARGE = 5 end # Specifies where a visual pointer is placed on a text widget (also # sometimes called a "tail") module PointerLocation # No visual pointer POINTER_LOCATION_UNSPECIFIED = 0 # Placed in the middle of the top of the widget PL_TOP = 1 # Placed in the middle of the right side of the widget PL_RIGHT = 2 # Placed in the middle of the bottom of the widget PL_BOTTOM = 3 # Placed in the middle of the left side of the widget PL_LEFT = 4 # Placed on the left side of the top of the widget PL_TOP_LEFT = 5 # Placed on the right side of the top of the widget PL_TOP_RIGHT = 6 # Placed on the top of the right side of the widget PL_RIGHT_TOP = 7 # Placed on the bottom of the right side of the widget PL_RIGHT_BOTTOM = 8 # Placed on the right side of the bottom of the widget PL_BOTTOM_RIGHT = 9 # Placed on the left side of the bottom of the widget PL_BOTTOM_LEFT = 10 # Placed on the bottom of the left side of the widget PL_LEFT_BOTTOM = 11 # Placed on the top of the left side of the widget PL_LEFT_TOP = 12 end end |
#horizontal_alignment ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::HorizontalAlignment
Returns The horizontal alignment of both the title and content.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'proto_docs/google/monitoring/dashboard/v1/text.rb', line 62 class TextStyle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The horizontal alignment of both the title and content on a text widget module HorizontalAlignment # No horizontal alignment specified, will default to H_LEFT HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0 # Left-align H_LEFT = 1 # Center-align H_CENTER = 2 # Right-align H_RIGHT = 3 end # The vertical alignment of both the title and content on a text widget module VerticalAlignment # No vertical alignment specified, will default to V_TOP VERTICAL_ALIGNMENT_UNSPECIFIED = 0 # Top-align V_TOP = 1 # Center-align V_CENTER = 2 # Bottom-align V_BOTTOM = 3 end # Specifies padding size around a text widget module PaddingSize # No padding size specified, will default to P_EXTRA_SMALL PADDING_SIZE_UNSPECIFIED = 0 # Extra small padding P_EXTRA_SMALL = 1 # Small padding P_SMALL = 2 # Medium padding P_MEDIUM = 3 # Large padding P_LARGE = 4 # Extra large padding P_EXTRA_LARGE = 5 end # Specifies a font size for the title and content of a text widget module FontSize # No font size specified, will default to FS_LARGE FONT_SIZE_UNSPECIFIED = 0 # Extra small font size FS_EXTRA_SMALL = 1 # Small font size FS_SMALL = 2 # Medium font size FS_MEDIUM = 3 # Large font size FS_LARGE = 4 # Extra large font size FS_EXTRA_LARGE = 5 end # Specifies where a visual pointer is placed on a text widget (also # sometimes called a "tail") module PointerLocation # No visual pointer POINTER_LOCATION_UNSPECIFIED = 0 # Placed in the middle of the top of the widget PL_TOP = 1 # Placed in the middle of the right side of the widget PL_RIGHT = 2 # Placed in the middle of the bottom of the widget PL_BOTTOM = 3 # Placed in the middle of the left side of the widget PL_LEFT = 4 # Placed on the left side of the top of the widget PL_TOP_LEFT = 5 # Placed on the right side of the top of the widget PL_TOP_RIGHT = 6 # Placed on the top of the right side of the widget PL_RIGHT_TOP = 7 # Placed on the bottom of the right side of the widget PL_RIGHT_BOTTOM = 8 # Placed on the right side of the bottom of the widget PL_BOTTOM_RIGHT = 9 # Placed on the left side of the bottom of the widget PL_BOTTOM_LEFT = 10 # Placed on the bottom of the left side of the widget PL_LEFT_BOTTOM = 11 # Placed on the top of the left side of the widget PL_LEFT_TOP = 12 end end |
#padding ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PaddingSize
Returns The amount of padding around the widget.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'proto_docs/google/monitoring/dashboard/v1/text.rb', line 62 class TextStyle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The horizontal alignment of both the title and content on a text widget module HorizontalAlignment # No horizontal alignment specified, will default to H_LEFT HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0 # Left-align H_LEFT = 1 # Center-align H_CENTER = 2 # Right-align H_RIGHT = 3 end # The vertical alignment of both the title and content on a text widget module VerticalAlignment # No vertical alignment specified, will default to V_TOP VERTICAL_ALIGNMENT_UNSPECIFIED = 0 # Top-align V_TOP = 1 # Center-align V_CENTER = 2 # Bottom-align V_BOTTOM = 3 end # Specifies padding size around a text widget module PaddingSize # No padding size specified, will default to P_EXTRA_SMALL PADDING_SIZE_UNSPECIFIED = 0 # Extra small padding P_EXTRA_SMALL = 1 # Small padding P_SMALL = 2 # Medium padding P_MEDIUM = 3 # Large padding P_LARGE = 4 # Extra large padding P_EXTRA_LARGE = 5 end # Specifies a font size for the title and content of a text widget module FontSize # No font size specified, will default to FS_LARGE FONT_SIZE_UNSPECIFIED = 0 # Extra small font size FS_EXTRA_SMALL = 1 # Small font size FS_SMALL = 2 # Medium font size FS_MEDIUM = 3 # Large font size FS_LARGE = 4 # Extra large font size FS_EXTRA_LARGE = 5 end # Specifies where a visual pointer is placed on a text widget (also # sometimes called a "tail") module PointerLocation # No visual pointer POINTER_LOCATION_UNSPECIFIED = 0 # Placed in the middle of the top of the widget PL_TOP = 1 # Placed in the middle of the right side of the widget PL_RIGHT = 2 # Placed in the middle of the bottom of the widget PL_BOTTOM = 3 # Placed in the middle of the left side of the widget PL_LEFT = 4 # Placed on the left side of the top of the widget PL_TOP_LEFT = 5 # Placed on the right side of the top of the widget PL_TOP_RIGHT = 6 # Placed on the top of the right side of the widget PL_RIGHT_TOP = 7 # Placed on the bottom of the right side of the widget PL_RIGHT_BOTTOM = 8 # Placed on the right side of the bottom of the widget PL_BOTTOM_RIGHT = 9 # Placed on the left side of the bottom of the widget PL_BOTTOM_LEFT = 10 # Placed on the bottom of the left side of the widget PL_LEFT_BOTTOM = 11 # Placed on the top of the left side of the widget PL_LEFT_TOP = 12 end end |
#pointer_location ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::PointerLocation
Returns The pointer location for this widget (also sometimes called a "tail").
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'proto_docs/google/monitoring/dashboard/v1/text.rb', line 62 class TextStyle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The horizontal alignment of both the title and content on a text widget module HorizontalAlignment # No horizontal alignment specified, will default to H_LEFT HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0 # Left-align H_LEFT = 1 # Center-align H_CENTER = 2 # Right-align H_RIGHT = 3 end # The vertical alignment of both the title and content on a text widget module VerticalAlignment # No vertical alignment specified, will default to V_TOP VERTICAL_ALIGNMENT_UNSPECIFIED = 0 # Top-align V_TOP = 1 # Center-align V_CENTER = 2 # Bottom-align V_BOTTOM = 3 end # Specifies padding size around a text widget module PaddingSize # No padding size specified, will default to P_EXTRA_SMALL PADDING_SIZE_UNSPECIFIED = 0 # Extra small padding P_EXTRA_SMALL = 1 # Small padding P_SMALL = 2 # Medium padding P_MEDIUM = 3 # Large padding P_LARGE = 4 # Extra large padding P_EXTRA_LARGE = 5 end # Specifies a font size for the title and content of a text widget module FontSize # No font size specified, will default to FS_LARGE FONT_SIZE_UNSPECIFIED = 0 # Extra small font size FS_EXTRA_SMALL = 1 # Small font size FS_SMALL = 2 # Medium font size FS_MEDIUM = 3 # Large font size FS_LARGE = 4 # Extra large font size FS_EXTRA_LARGE = 5 end # Specifies where a visual pointer is placed on a text widget (also # sometimes called a "tail") module PointerLocation # No visual pointer POINTER_LOCATION_UNSPECIFIED = 0 # Placed in the middle of the top of the widget PL_TOP = 1 # Placed in the middle of the right side of the widget PL_RIGHT = 2 # Placed in the middle of the bottom of the widget PL_BOTTOM = 3 # Placed in the middle of the left side of the widget PL_LEFT = 4 # Placed on the left side of the top of the widget PL_TOP_LEFT = 5 # Placed on the right side of the top of the widget PL_TOP_RIGHT = 6 # Placed on the top of the right side of the widget PL_RIGHT_TOP = 7 # Placed on the bottom of the right side of the widget PL_RIGHT_BOTTOM = 8 # Placed on the right side of the bottom of the widget PL_BOTTOM_RIGHT = 9 # Placed on the left side of the bottom of the widget PL_BOTTOM_LEFT = 10 # Placed on the bottom of the left side of the widget PL_LEFT_BOTTOM = 11 # Placed on the top of the left side of the widget PL_LEFT_TOP = 12 end end |
#text_color ⇒ ::String
Returns The text color as a hex string. "#RRGGBB" or "#RGB".
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'proto_docs/google/monitoring/dashboard/v1/text.rb', line 62 class TextStyle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The horizontal alignment of both the title and content on a text widget module HorizontalAlignment # No horizontal alignment specified, will default to H_LEFT HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0 # Left-align H_LEFT = 1 # Center-align H_CENTER = 2 # Right-align H_RIGHT = 3 end # The vertical alignment of both the title and content on a text widget module VerticalAlignment # No vertical alignment specified, will default to V_TOP VERTICAL_ALIGNMENT_UNSPECIFIED = 0 # Top-align V_TOP = 1 # Center-align V_CENTER = 2 # Bottom-align V_BOTTOM = 3 end # Specifies padding size around a text widget module PaddingSize # No padding size specified, will default to P_EXTRA_SMALL PADDING_SIZE_UNSPECIFIED = 0 # Extra small padding P_EXTRA_SMALL = 1 # Small padding P_SMALL = 2 # Medium padding P_MEDIUM = 3 # Large padding P_LARGE = 4 # Extra large padding P_EXTRA_LARGE = 5 end # Specifies a font size for the title and content of a text widget module FontSize # No font size specified, will default to FS_LARGE FONT_SIZE_UNSPECIFIED = 0 # Extra small font size FS_EXTRA_SMALL = 1 # Small font size FS_SMALL = 2 # Medium font size FS_MEDIUM = 3 # Large font size FS_LARGE = 4 # Extra large font size FS_EXTRA_LARGE = 5 end # Specifies where a visual pointer is placed on a text widget (also # sometimes called a "tail") module PointerLocation # No visual pointer POINTER_LOCATION_UNSPECIFIED = 0 # Placed in the middle of the top of the widget PL_TOP = 1 # Placed in the middle of the right side of the widget PL_RIGHT = 2 # Placed in the middle of the bottom of the widget PL_BOTTOM = 3 # Placed in the middle of the left side of the widget PL_LEFT = 4 # Placed on the left side of the top of the widget PL_TOP_LEFT = 5 # Placed on the right side of the top of the widget PL_TOP_RIGHT = 6 # Placed on the top of the right side of the widget PL_RIGHT_TOP = 7 # Placed on the bottom of the right side of the widget PL_RIGHT_BOTTOM = 8 # Placed on the right side of the bottom of the widget PL_BOTTOM_RIGHT = 9 # Placed on the left side of the bottom of the widget PL_BOTTOM_LEFT = 10 # Placed on the bottom of the left side of the widget PL_LEFT_BOTTOM = 11 # Placed on the top of the left side of the widget PL_LEFT_TOP = 12 end end |
#vertical_alignment ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::Text::TextStyle::VerticalAlignment
Returns The vertical alignment of both the title and content.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'proto_docs/google/monitoring/dashboard/v1/text.rb', line 62 class TextStyle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The horizontal alignment of both the title and content on a text widget module HorizontalAlignment # No horizontal alignment specified, will default to H_LEFT HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0 # Left-align H_LEFT = 1 # Center-align H_CENTER = 2 # Right-align H_RIGHT = 3 end # The vertical alignment of both the title and content on a text widget module VerticalAlignment # No vertical alignment specified, will default to V_TOP VERTICAL_ALIGNMENT_UNSPECIFIED = 0 # Top-align V_TOP = 1 # Center-align V_CENTER = 2 # Bottom-align V_BOTTOM = 3 end # Specifies padding size around a text widget module PaddingSize # No padding size specified, will default to P_EXTRA_SMALL PADDING_SIZE_UNSPECIFIED = 0 # Extra small padding P_EXTRA_SMALL = 1 # Small padding P_SMALL = 2 # Medium padding P_MEDIUM = 3 # Large padding P_LARGE = 4 # Extra large padding P_EXTRA_LARGE = 5 end # Specifies a font size for the title and content of a text widget module FontSize # No font size specified, will default to FS_LARGE FONT_SIZE_UNSPECIFIED = 0 # Extra small font size FS_EXTRA_SMALL = 1 # Small font size FS_SMALL = 2 # Medium font size FS_MEDIUM = 3 # Large font size FS_LARGE = 4 # Extra large font size FS_EXTRA_LARGE = 5 end # Specifies where a visual pointer is placed on a text widget (also # sometimes called a "tail") module PointerLocation # No visual pointer POINTER_LOCATION_UNSPECIFIED = 0 # Placed in the middle of the top of the widget PL_TOP = 1 # Placed in the middle of the right side of the widget PL_RIGHT = 2 # Placed in the middle of the bottom of the widget PL_BOTTOM = 3 # Placed in the middle of the left side of the widget PL_LEFT = 4 # Placed on the left side of the top of the widget PL_TOP_LEFT = 5 # Placed on the right side of the top of the widget PL_TOP_RIGHT = 6 # Placed on the top of the right side of the widget PL_RIGHT_TOP = 7 # Placed on the bottom of the right side of the widget PL_RIGHT_BOTTOM = 8 # Placed on the right side of the bottom of the widget PL_BOTTOM_RIGHT = 9 # Placed on the left side of the bottom of the widget PL_BOTTOM_LEFT = 10 # Placed on the bottom of the left side of the widget PL_LEFT_BOTTOM = 11 # Placed on the top of the left side of the widget PL_LEFT_TOP = 12 end end |