Lines Matching refs:attributes
113 create_attribute_item(BMessage& attributes, int32 index)
116 if (attributes.FindString("attr:public_name", index, &publicName) != B_OK)
120 if (attributes.FindString("attr:name", index, &name) != B_OK)
124 if (attributes.FindInt32("attr:type", index, (int32 *)&type) != B_OK)
128 if (attributes.FindString("attr:display_as", index, &displayAs) != B_OK)
132 if (attributes.FindBool("attr:editable", index, &editable) != B_OK)
135 if (attributes.FindBool("attr:viewable", index, &visible) != B_OK)
139 if (attributes.FindInt32("attr:alignment", index, &alignment) != B_OK)
143 if (attributes.FindInt32("attr:width", index, &width) != B_OK)
325 BMessage attributes;
326 if (type->GetAttrInfo(&attributes) != B_OK)
331 while ((item = create_attribute_item(attributes, i++)) != NULL)