This table shows supported widget types in the metatheme_draw_string
function. It also shows which widget states are supported within particular widget type.
Table 2.5. Supported widget types in draw_string
Widget type | Widget states | Compliance |
---|---|---|
other | MT_DISABLED | GTK2, QT |
MT_BUTTON | MT_DISABLED, MT_ACTIVE, MT_HOVER | GTK2, QT, SWING |
MT_BUTTON_DEFAULT | MT_DISABLED, MT_ACTIVE, MT_HOVER | GTK2 |
MT_BUTTON_TOGGLE | MT_DISABLED, MT_ACTIVE, MT_HOVER | GTK2, QT, SWING |
MT_MENUBAR_ITEM | MT_DISABLED, MT_SELECTED, MT_HOVER | GTK2, QT, SWING |
MT_MENU_ITEM (it's also applied to MT_MENU_ITEM_CHECK and RADIO) | MT_DISABLED, MT_SELECTED | GTK2, QT, SWING |
MT_PROGRESSBAR (for the text outside of slider) and MT_PROGRESSBAR_SLIDER (for the text inside of slider) | MT_DISABLED | GTK2, QT, SWING |