News for hackers. Stuff that matters.
Re:Egui: An easy-to-use immediate mode GUI by stagger87 on Friday August 13, 2021 @11:42AM (#28170357)
> Why does every IM UI library have a dropdown widget that they call "Combo box"?

They can call it whatever they want?

> A dropdown list is not a combo box

Who says?

Re:Egui: An easy-to-use immediate mode GUI by abraae on Friday August 13, 2021 @01:48PM (#28172084)
Parent has been down voted to oblivion but they make a good point - arguments over words and names seldom produce any interesting discussion or definitive conclusions.
Re:Egui: An easy-to-use immediate mode GUI by thrower123 on Friday August 13, 2021 @12:11PM (#28170777)
https://docs.microsoft.com/en-us/windows/win32/controls/comb...

The Win32 API is going to continue to drive naming conventions when all of us are dead.

But yeah, the difference between a combobox, a listbox, and a dropdownlist is just a flag value.

Re:Egui: An easy-to-use immediate mode GUI by karmakaze on Friday August 13, 2021 @12:29PM (#28171062)
There's actually a separate ListBox control. And I never thought of it at the time, but why does an option turn a ComboBox into a DropDownComboBox, but an option doesn't turn a ListBox into a DropDownListBox? Oh no, it's all coming back to me, because ComboBoxes were added later and rather than change ListBox they added DropDownList functionality to ComboBox.

I also don't see an option in ListBox to make it multi-select, was it all horribly done in the notification handling code?