indexing description: "LABEL_DEMO_WINDOW, demo window to test label widget.% % Belongs to EiffelVision example test_all_widgets." status: "See notice at end of class" id: "$Id$" date: "$Date$" revision: "$Revision$" class LABEL_DEMO_WINDOW inherit DEMO_WINDOW redefine main_widget, set_widgets, set_values end create make feature -- Access main_widget: EV_LABEL is -- Main widget of the window once create Result.make (Current) Result.set_minimum_size(200,200) Result.set_center_alignment end feature -- Status setting set_widgets is -- Set the widgets in the demo windows. do end set_values is -- Set the values on the widgets of the window. do main_widget.set_text ("Label") set_title ("Label demo") end end -- class LABEL_DEMO_WINDOW --|---------------------------------------------------------------- --| EiffelVision2: 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 --|----------------------------------------------------------------