Re: alternative to gtk_font_selection_get_font()



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. 
font_selection_get_font_name() replaces get_font(), it returns a Pango
font description in string form. (pango_font_description_to_string())

Havoc






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