fix comment

This commit is contained in:
Jinhao 2017-08-06 09:47:01 +08:00
parent 7b12dafb19
commit a21a5e940d

View File

@ -1250,8 +1250,9 @@ By \a clicking on one header the list get \a reordered, first up, and then down
} }
return false; return false;
} }
listbox.anyobj(0, 0, 10); //the type of customer's object is int. auto cat = listbox.at(0);
listbox.anyobj(0, 0, 20); cat.at(0).value(10); //10 is custom data.
cat.at(1).value(20); //20 is custom data.
5. listbox is a widget_object, with template parameters drawerbase::listbox::trigger and drawerbase::listbox::scheme 5. listbox is a widget_object, with template parameters drawerbase::listbox::trigger and drawerbase::listbox::scheme
amon others. amon others.
That means that listbox have a member trigger_ constructed first and accecible with get_drawer_trigger() and That means that listbox have a member trigger_ constructed first and accecible with get_drawer_trigger() and