indexing description: "Callback structure specific to the drawing area. % %Associated C structure is XmDrawingAreaCallbackStruct."; status: "See notice at end of class."; date: "$Date$"; revision: "$Revision$" class MEL_DRAWING_AREA_CALLBACK_STRUCT inherit MEL_ANY_CALLBACK_STRUCT redefine reasons_list end create make feature -- Access reasons_list: ARRAY [INTEGER] is -- List of reasons that is valid for this -- callback structure -- (Reasons - XmCR_EXPOSE, XmCR_RESIZE, XmCR_INPUT) once Result := <> end; window_widget (display: MEL_DISPLAY): MEL_WIDGET is -- Mel widget from `window' do Result := retrieve_widget_from_window (display.handle, window) end; feature -- Pointer access window: POINTER is -- The widget's window do Result := c_window (handle) end; feature {NONE} -- Implementation c_window (a_callback_struct_ptr: POINTER): POINTER is external "C [macro %"callback_struct.h%"] (XmDrawingAreaCallbackStruct *): EIF_POINTER" end; end -- class MEL_DRAWN_BUTTON_CALLBACK_STRUCT --|---------------------------------------------------------------- --| 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 --|----------------------------------------------------------------