* Test if (an NWidgetPart) WidgetType is an attribute widget part type. * @param tp WidgetType to test. * @return True iff WidgetType is an attribute widget. */
| 3153 | * @return True iff WidgetType is an attribute widget. |
| 3154 | */ |
| 3155 | static bool IsAttributeWidgetPartType(WidgetType tp) |
| 3156 | { |
| 3157 | return tp > WPT_ATTRIBUTE_BEGIN && tp < WPT_ATTRIBUTE_END; |
| 3158 | } |
| 3159 | |
| 3160 | /** |
| 3161 | * Apply an attribute NWidgetPart to an NWidget. |