docs: gen{list,grid}: add docs for field type enums

This commit is contained in:
Stefan Schmidt 2016-10-27 00:02:01 +02:00
parent 92cfac3262
commit a01d3c26ce
2 changed files with 9 additions and 9 deletions

View File

@ -16,10 +16,10 @@ enum Elm.Gengrid.Item.Field_Type
[[Defines the type of the item part Used while updating item's parts.
It can be used at updating multi fields.]]
legacy: elm_gengrid_item_field;
all = 0,
text = (1 << 0),
content = (1 << 1),
state = (1 << 2)
all = 0, [[Type all]]
text = (1 << 0), [[Type text]]
content = (1 << 1), [[Type content]]
state = (1 << 2) [[Type state]]
}

View File

@ -9,7 +9,7 @@ enum Elm.Genlist.Item.Type
none = 0, [[Simple item.]]
tree = (1 << 0), [[This may be expanded and have child items.]]
group = (1 << 1), [[An index item of a group of items. this item can have child items.]]
max = (1 << 2)
max = (1 << 2) [[Sentinel value to indicate last enum field during iteration]]
}
enum Elm.Genlist.Item.Field_Type
@ -19,10 +19,10 @@ enum Elm.Genlist.Item.Field_Type
It can be used at updating multi fields.
]]
legacy: elm_genlist_item_field;
all = 0,
text = (1 << 0),
content = (1 << 1),
state = (1 << 2)
all = 0, [[Type all]]
text = (1 << 0), [[Type text]]
content = (1 << 1), [[Type content]]
state = (1 << 2) [[Type state]]
}
enum Elm.Genlist.Item.Scrollto_Type