Re: How to set tooltips font size?
- From: Vlad Harchev <hvv hippo ru>
- To: alan <alan ielinux com>
- Cc: gtk-list gnome org, gtk-app-devel-list gnome org
- Subject: Re: How to set tooltips font size?
- Date: Wed, 16 Aug 2000 10:43:57 +0500 (SAMST)
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]