note description: "Example windows and once routines" legal: "See notice at end of class." status: "See notice at end of class."; date: "$Date$"; revision: "$Revision$" class WINDOWS inherit GRAPHICS redefine init_toolkit end feature a_screen: SCREEN -- Screen associated with -- program once create Result.make (""); end; init_toolkit: TOOLKIT_IMP -- Toolkit for current platform once create Result.make (""); end; init_windowing -- Initialize the toolkit. -- (force call to once routines). do if (init_toolkit = Void) then end; if (toolkit = Void) then end; end; main_window: MAIN_WINDOW -- Main window of the demo once create Result.make ("Focusables demo", a_screen) end; note copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class WINDOWS