GWidget: Add "set_autofill" as an alias for set_fill_with_background_color.

This commit is contained in:
Andreas Kling 2019-07-10 21:12:09 +02:00
parent f465de8f76
commit b3d431e390
Notes: sideshowbarker 2024-07-19 13:20:44 +09:00

View file

@ -143,6 +143,8 @@ public:
void set_backcolor(const StringView&) { }
void set_forecolor(const StringView&) { }
void set_autofill(bool b) { set_fill_with_background_color(b); }
GWindow* window()
{
if (auto* pw = parent_widget())