3 * Copyright (C) 2001-2009 Jim Evins <evins@snaught.com>.
5 * This file is part of gLabels.
7 * gLabels is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
12 * gLabels is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with gLabels. If not, see <http://www.gnu.org/licenses/>.
26 #include <pango/pango.h>
30 gchar *gl_util_add_extension (const gchar *orig_filename);
31 gchar *gl_util_remove_extension (const gchar *orig_filename);
33 gchar *gl_util_make_absolute (const gchar *filename);
35 gchar *gl_util_fraction (gdouble x);
37 const gchar *gl_util_align_to_string (PangoAlignment align);
38 PangoAlignment gl_util_string_to_align (const gchar *string);
40 const gchar *gl_util_weight_to_string (PangoWeight weight);
41 PangoWeight gl_util_string_to_weight (const gchar *string);
43 void gl_util_combo_box_set_strings (GtkComboBox *combo,
45 void gl_util_combo_box_set_active_text (GtkComboBox *combo,
47 void gl_util_combo_box_add_text_model (GtkComboBox *combo);
49 GdkPixbuf *gl_util_cairo_convert_to_pixbuf (cairo_surface_t *surface);
51 void gl_util_get_builder_widgets (GtkBuilder *builder,
57 #endif /* __UTIL_H__ */
62 * Local Variables: -- emacs
64 * c-basic-offset: 8 -- emacs
65 * tab-width: 8 -- emacs
66 * indent-tabs-mode: nil -- emacs