Shutting off tooltips (was Re: [gtkada] GVD)
Preben Randhol
randhol at pvv.org
Fri May 31 18:13:44 CEST 2002
manuel.op.de.coul at eon-benelux.com wrote on 31/05/2002 (16:17) :
> Quite simple, with Enable and Disable in Gtk.Tooltips.
But how do you do that for 100 tooltips in different widgets etc?
At the moment I simply do:
procedure Initialize
(Gui_List : access Gui_List_Record'Class)
is
Tooltips : Gtk_Tooltips;
--[...]
begin
--[...]
Gtk_New (Tooltips);
--[...]
Set_Tip (Tooltips, Gui_List.Add_Help_Button,
-"Help on adding/editing words");
--[...]
Set_Tip (Tooltips, Gui_List.Cancel_Button,
-"Cancels the adding/editing");
--[...]
etc...
Would it then be enough to put the Tooltips in the record of the
Gui_List and simply call Disable on this to turn off all the tooltips?
--
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
«For me, Ada95 puts back the joy in programming.»
More information about the gtkada
mailing list