Re: alternative to gtk_font_selection_get_font()



On Sun, 2001-10-14 at 05:02, Havoc Pennington wrote:
> 
> murrayc t-online de (Murray Cumming) writes:
> > gtk_font_selection_get_font() and gtk_font_selection_dialog_get_font()
> > are deprecated. What should be used instead? The fontname?
> > 
> > I notice that most functions that involve GdkFont are deprecated. Is
> > GdkFont used anywhere anymore?
> 
> No, totally deprecated. Pango should be used instead. 

So gdk_draw_string() and friends are not finished?

void gdk_draw_string    (GdkDrawable      *drawable,
			 GdkFont          *font,
			 GdkGC            *gc,
			 gint              x,
			 gint              y,
			 const gchar      *string);

> font_selection_get_font_name() replaces get_font(), it returns a Pango
> font description in string form. (pango_font_description_to_string())
> 
> Havoc
> 
> 
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> 
> 
-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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