class EL_WIDGET_2_REPLACEMENT
Client examples: PANGO_CAIRO_TEST_MAIN_WINDOW
Routine to replace object conforming to EV_WIDGET in it's parent container. Auxilary to class EL_WIDGET_REPLACEMENT [EV_WIDGET].
note
description: "[
Routine to replace object conforming to ${EV_WIDGET} in it's parent container.
Auxilary to class ${EL_WIDGET_REPLACEMENT [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-11-11 9:46:00 GMT (Monday 11th November 2024)"
revision: "14"
deferred class
EL_WIDGET_2_REPLACEMENT [G -> EV_WIDGET]
inherit
EL_MODULE_WIDGET
feature {NONE} -- Implementation
replaced_2 (existing_widget, new_widget: G): G
do
Widget.replace (existing_widget, new_widget)
Result := new_widget
end
replace_list_2 (widget_list, new_widgets_list: INDEXABLE [G, INTEGER])
do
Widget.replace_list (widget_list, new_widgets_list)
end
end