Simple GdkFont and GtkStyle question
- From: learfox furry ao net
- To: GTK Application Development List <gtk-app-devel-list gnome org>
- Subject: Simple GdkFont and GtkStyle question
- Date: Mon, 1 Jan 2001 21:49:08 -0800 (PST)
if I create or copy a GtkStyle of my own.
First when I set its member `font', do I need to gdk_font_unref() the old
font on the GtkStyle (even if it's from gtk_style_new())?
When I gdk_font_load() a new, I need to gdk_font_ref() it once right after
loading?
ie:
style->font = gdk_font_load(...);
gdk_font_ref(style->font);
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
..__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]