/usr/include/libgoffice-0.10/goffice/gtk/go-font-sel.h is in libgoffice-0.10-dev 0.10.28-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | /*
* go-font-sel.h - Misc GTK+ utilities
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) version 3.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA.
*/
#ifndef _GO_FONT_SEL_H_
#define _GO_FONT_SEL_H_
#include <goffice/goffice.h>
G_BEGIN_DECLS
#define GO_TYPE_FONT_SEL (go_font_sel_get_type ())
#define GO_FONT_SEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GO_TYPE_FONT_SEL, GOFontSel))
#define GO_IS_FONT_SEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GO_TYPE_FONT_SEL))
typedef struct _GOFontSel GOFontSel;
GType go_font_sel_get_type (void);
GtkWidget *go_font_sel_new (void);
void go_font_sel_set_font (GOFontSel *fs, GOFont const *font);
GOFont const *go_font_sel_get_font (GOFontSel const *fs);
void go_font_sel_editable_enters (GOFontSel *fs, GtkWindow *dialog);
void go_font_sel_set_sample_text (GOFontSel *fs, char const *text);
PangoAttrList *go_font_sel_get_sample_attributes (GOFontSel *fs);
void go_font_sel_set_sample_attributes (GOFontSel *fs,
PangoAttrList *attrs);
void go_font_sel_set_family (GOFontSel *fs, char const *family);
void go_font_sel_set_size (GOFontSel *fs, int size);
void go_font_sel_set_style (GOFontSel *fs,
PangoWeight weight, PangoStyle style);
void go_font_sel_set_strikethrough (GOFontSel *fs, gboolean strikethrough);
void go_font_sel_set_color (GOFontSel *gfs, GOColor c,
gboolean is_default);
GOColor go_font_sel_get_color (GOFontSel *gfs);
void go_font_sel_set_script (GOFontSel *fs, GOFontScript script);
void go_font_sel_set_font_desc (GOFontSel *fs, PangoFontDescription *desc);
PangoFontDescription *go_font_sel_get_font_desc (GOFontSel *fs);
G_END_DECLS
#endif /* _GO_FONT_SEL_H_ */
|