41 const int visibleItems, FXObject* tgt, FXSelector sel = 0, FXuint opts = COMBOBOX_NORMAL,
42 FXint x = 0, FXint y = 0, FXint w = 0, FXint h = 0,
43 FXint pl = DEFAULT_PAD, FXint pr = DEFAULT_PAD, FXint pt = DEFAULT_PAD, FXint pb = DEFAULT_PAD);
71 FXint
updateIconItem(FXint index,
const FXString& text, FXIcon* icon =
nullptr, FXColor bgColor = FXRGB(255, 255, 255),
void* ptr =
nullptr) =
delete;
74 FXint
insertIconItem(FXint index,
const FXString& text, FXIcon* icon =
nullptr, FXColor bgColor = FXRGB(255, 255, 255),
void* ptr =
nullptr) =
delete;
77 FXint
appendIconItem(
const FXString& text, FXIcon* icon =
nullptr, FXColor bgColor = FXRGB(255, 255, 255),
void* ptr =
nullptr) =
delete;
void clearItems()
Remove all items from the list.
std::vector< const GNEAttributeProperties * > myAttrProperties
vector with tag properties
MFXComboBoxAttrProperty(const MFXComboBoxAttrProperty &)=delete
invalidate copy constructor
MFXComboBoxAttrProperty & operator=(const MFXComboBoxAttrProperty &)=delete
invalidate assignment operator
FXint insertIconItem(FXint index, const FXString &text, FXIcon *icon=nullptr, FXColor bgColor=FXRGB(255, 255, 255), void *ptr=nullptr)=delete
delete original insert icon item in the given position
bool hasAttrProperty(const GNEAttributeProperties *attrProperties)
check if the given attribute exist in comboBox
FXint appendAttrItem(const GNEAttributeProperties *attrProperties, FXColor bgColor=FXRGB(255, 255, 255), void *ptr=nullptr)
append item
FXint appendIconItem(const FXString &text, FXIcon *icon=nullptr, FXColor bgColor=FXRGB(255, 255, 255), void *ptr=nullptr)=delete
delete original append icon item in the last position
~MFXComboBoxAttrProperty()
Destructor.
long setCurrentItem(const GNEAttributeProperties *attrProperties, FXbool notify=FALSE)
Set the current item.
FXint updateIconItem(FXint index, const FXString &text, FXIcon *icon=nullptr, FXColor bgColor=FXRGB(255, 255, 255), void *ptr=nullptr)=delete
delete original replace the item at index
const GNEAttributeProperties * getCurrentAttrProperty() const
get current attribute property
const GNEAttributeProperties * getAttrProperties(FXint index) const
get attribute properties