I'm a beginer aplication developer in GTK+ and I want to know how to
change the fonts of labels in objects in GTK+ (ex: gtk_button... &
gtk_label..., ...);
I thanks for any help
flaviothunder
[EMAIL PROTECTED]
[EMAIL PROTECTED]
___
gtk-list mailing
Title: RE: fonts in GTK+
I think (please somebody correct me if I'm wrong) that you can do something like this:
GtkWidget *label;
...
label->style->font = gdk_font_load("XLFD font name");
...
I'm unsure about what to do with the old font before loading, maybe a
g
Hi,
How can I change font in whole application?
How Can I change font in any widget, for example label?
Everythink must be in gtk+2.0
Thanks,
--
++
| Polski program do obsługi firmy dla Linuxa:|
| Licencja: GNU GPL
> How can I change font in whole application?
> How Can I change font in any widget, for example label?
You can use resource files for that. See the reference docs for more
details.
With label it's extremly easy when you use Pango Markup Language.
Jarek
...and reappearing when i mouseover the blank areas.
hello,
i am having this weird issue w/ all gtk+ applications (checked w/
firefox, ekiga, nicotine, stardict, gimp). OS is archlinux-current,
card is Matrox G550, glib2 2.12.1, gtk2 2.8.20).
the issue can be quite well observed at
http://www.yo
aloha,
(been having problems posting but hopefully this works :)
i spent a couple days now playing with some basic things in gtk+
i'm very new to gtk+, and still a novice in c, but i got
a small labeled app running in gtk+-1.2, which displayed
a label using the adobe-symbol fonts which came with m
On Mon, 9 Jun 2003, Teardrop Sky wrote:
> i went through the mailing list archives, and saw some mention of unicode,
> but no example code to go with it, and was wondering if anyone out there
> might be able to show me a very basic working example of displaying
> greek text with gtk+-2.0, using ei
On Mon, 9 Jun 2003, Teardrop Sky wrote:
> i went through the mailing list archives, and saw some mention of unicode,
> but no example code to go with it, and was wondering if anyone out there
> might be able to show me a very basic working example of displaying
> greek text with gtk+-2.0, using ei
Hi all,
I upgraded RH7.1 Gnome 1.2 to RH7.2 Gnome 1.4 manually and in the transition
I suddenly lost the 'nice' font support for GTK. The only thing I got left
is this ugly fixed font in my menus.
I can switch GTK themes as much as I like; nothing changes; If I select
"Choose own font" + Helv
Hi,
"Tweaki JDG" <[EMAIL PROTECTED]> writes:
> I upgraded RH7.1 Gnome 1.2 to RH7.2 Gnome 1.4 manually and in the
> transition I suddenly lost the 'nice' font support for GTK. The only
> thing I got left is this ugly fixed font in my menus.
>
> I can switch GTK themes as much as I like; nothing
>From: Sven Neumann <[EMAIL PROTECTED]>
>To: "Tweaki JDG" <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: Newbie: Stuck with ugly fonts in GTK
>Date: 15 Nov 2001 12:13:12 +0100
>
>Hi,
>
>"Tweaki JDG" <[EMAIL PROTECTED
Hi,
"Tweaki JDG" <[EMAIL PROTECTED]> writes:
> I did, my .gtkrc now looks like:# -- THEME AUTO-WRITTEN DO NOT EDIT
> include "/usr/share/themes/Raleigh/gtk/gtkrc"
> include "/etc/gtk/gtkrc.iso885915"
> style "user-font"
> {
> font="-adobe-helvetica-medium-r-normal-*-12-*-*-*-p-*-iso8859-1"
> }
>From: Sven Neumann <[EMAIL PROTECTED]>
>To: "Tweaki JDG" <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: Newbie: Stuck with ugly fonts in GTK
>Date: 15 Nov 2001 13:45:30 +0100
>
>Hi,
>
>"Tweaki JDG" <[EMAIL PROTECTED]&
I've problem like in subject. Please help.
Krzysztof Magrel
Registered Linux User #157725
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
On Monday 29 Jul 2002, Krzysztof Magrel wrote:
> I've problem like in subject. Please help.
Use sth like that ?
GdkColor blanc = {65535, 65535, 65535};
GtkWidget *label;
label->style = gtk_style_copy(label->style);
label->style->fg[GTK_STATE_NORMAL] = blanc;
--
jean-michel
__
> -Original Message-
> From: Jean-Michel OLTRA [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 30, 2002 9:02 PM
> To: Krzysztof Magrel
> Subject: Re: How can I change color of fonts in GTK 1.2
>
>
> On Tuesday 30 Jul 2002, Krzysztof Magrel wrote:
&g
> -Original Message-
> From: Krzysztof Magrel [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 31, 2002 7:20 AM
> To: 'Jean-Michel OLTRA'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: How can I change color of fonts in GTK 1.2
>
>
>
&
Where is a list of available fonts and their sizes, description, etc.
for GTK+ programs??
I hope to port this thing from Linux to Win32 so it would be
nice to know which guys would carryover as well to Windoze.
Thanks!
Chris
--
===
| Dr. Chr
>Where is a list of available fonts and their sizes, description, etc.
>for GTK+ programs??
>
>I hope to port this thing from Linux to Win32 so it would be
>nice to know which guys would carryover as well to Windoze.
GTK (1.2 at least) doesn't come with any fonts.
When GTK is hosted by X, you ca
19 matches
Mail list logo