indexing description: "iffelVision implementation of Motif label gadget."; status: "See notice at end of class"; date: "$Date$"; revision: "$Revision$" class LABEL_G_M inherit LABEL_G_I; BUTTON_G_M rename is_shown as shown redefine is_label end; create make feature {NONE} -- Initialization make (a_label_gadget: LABEL_G; man: BOOLEAN; oui_parent: COMPOSITE) is -- Create a motif label gadget. local mc: MEL_COMPOSITE do mc ?= oui_parent.implementation; widget_index := widget_manager.last_inserted_position; mel_label_make (a_label_gadget.identifier, mc, man); a_label_gadget.set_font_imp (Current) end; feature -- Access is_label: BOOLEAN is -- Is current button a label? -- (False by default) do Result := True end; end -- class LABEL_G_M --|---------------------------------------------------------------- --| EiffelVision: 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 --|----------------------------------------------------------------