Re: How to set tooltips font size?



On Wed, 16 Aug 2000, alan wrote:

> Dear sir,
> 
> How to set tooltips font type and size?

 Use gtkrc functionality for this. For example, the following piece of gtkrc
sets the color of background of tooltips and font to helvetica normal, 10 pt
size
----------------------
style "gtk-tooltips-style" {
  font = "-*-helvetica-medium-r-normal--10-*-*-*-*-*-*-*"
  bg[NORMAL] = "#ffffc0"
}

widget "gtk-tooltips" style "gtk-tooltips-style"
---------------------- 
 You can force your app to load the given gtkrc file by using
gtk_rc_add_default_file(char* filename) (AFAIR, before calling gtk_init!).
 
> Please help me, thanks.
> alan@ielinux.com

 Best regards,
  -Vlad






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]