indexing description: "Popup shell that bypasses window management."; status: "See notice at end of class."; date: "$Date$"; revision: "$Revision$" class MEL_OVERRIDE_SHELL inherit MEL_SHELL create make, make_from_existing feature -- Initialization make (a_name: STRING; a_parent: MEL_COMPOSITE) is -- Create a override shell widget. require name_exists: a_name /= Void; parent_exists: a_parent /= Void and then not a_parent.is_destroyed local widget_name: ANY do parent := a_parent; widget_name := a_name.to_c; screen_object := xt_create_override_shell ($widget_name, a_parent.screen_object); Mel_widgets.add_popup_shell (Current); set_default ensure exists: not is_destroyed; parent_set: parent = a_parent; name_set: name.is_equal (a_name) end; feature {NONE} -- Implementation xt_create_override_shell (a_parent, a_name: POINTER): POINTER is external "C" end; end -- class MEL_OVERRIDE_SHELL --|---------------------------------------------------------------- --| Motif Eiffel Library: library of reusable components for ISE Eiffel. --| Copyright (C) 1986-2001 Interactive Software Engineering Inc. --| All rights reserved. Duplication and distribution prohibited. --| May be used only with ISE Eiffel, under terms of user license. --| Contact ISE for any other use. --| --| Interactive Software Engineering Inc. --| ISE Building --| 360 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Electronic mail --| Customer support: http://support.eiffel.com> --| For latest info see award-winning pages: http://www.eiffel.com --|----------------------------------------------------------------