[Gambas-user] Question about tooltip: font size and duration of view

Benoît Minisini benoit.minisini at gambas-basic.org
Mon Oct 9 12:40:21 CEST 2023


Le 09/10/2023 à 12:21, roberto.premoli at tiscali.it a écrit :
> LEt say I have the follo label:
> 
> label1.text = "test"
> label1.tooltip = "This label is a test"
> 
> I can manage font size of label with
> label1.font.size += 3
> 
> but I wish to increase also the font in the tooltip but unfortunately does not exist  command like the follow:
> 
> label1.tooltip.font.size += 3
> 
> So i ask: is it possible to resize the font size of tooltip or ar they a fixed size?
> 
> Second question: i place cursor on label1 and tooltip popup after about 1 second and stay visible for about 13 seconds, then disappear: it is possible to change the duration, and make it longher?
> 
> some as:
> 
> label1.tooltip.visibletime = 30 ?
> 
> Thanks
> Roberto
> 

It's not possible in Gambas.

It's possible in Qt an GTK+, both in different ways, and with some elbow 
grease, but it would be a bit difficult to create a common interface for 
that.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list