class EL_REPLACEABLE_WIDGET_ITEM
Client examples: PANGO_CAIRO_TEST_MAIN_WINDOW
Replaceable attribute conforming to EV_WIDGET
note
description: "Replaceable attribute conforming to ${EV_WIDGET}"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2022 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2024-01-20 19:18:25 GMT (Saturday 20th January 2024)"
revision: "5"
deferred class
EL_REPLACEABLE_WIDGET_ITEM
inherit
EL_MODULE_WIDGET
feature {NONE} -- Implementation
new_item: EV_WIDGET
deferred
end
replace_item
local
new: like new_item
do
new := new_item
Widget.replace (item, new)
item := new
end
feature {NONE} -- Internal attributes
item: like new_item
end