Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-18 10:28:15

0001 /* Pango
0002  * pango-markup.h: Parser for attributed text
0003  *
0004  * Copyright (C) 2000 Red Hat Software
0005  *
0006  * This library is free software; you can redistribute it and/or
0007  * modify it under the terms of the GNU Library General Public
0008  * License as published by the Free Software Foundation; either
0009  * version 2 of the License, or (at your option) any later version.
0010  *
0011  * This library is distributed in the hope that it will be useful,
0012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0014  * Library General Public License for more details.
0015  *
0016  * You should have received a copy of the GNU Library General Public
0017  * License along with this library; if not, write to the
0018  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
0019  * Boston, MA 02111-1307, USA.
0020  */
0021 
0022 #ifndef __PANGO_MARKUP_H__
0023 #define __PANGO_MARKUP_H__
0024 
0025 #include <pango/pango-attributes.h>
0026 
0027 G_BEGIN_DECLS
0028 
0029 
0030 PANGO_AVAILABLE_IN_1_32
0031 GMarkupParseContext * pango_markup_parser_new    (gunichar               accel_marker);
0032 
0033 PANGO_AVAILABLE_IN_1_32
0034 gboolean              pango_markup_parser_finish (GMarkupParseContext   *context,
0035                                                   PangoAttrList        **attr_list,
0036                                                   char                 **text,
0037                                                   gunichar              *accel_char,
0038                                                   GError               **error);
0039 
0040 PANGO_AVAILABLE_IN_ALL
0041 gboolean               pango_parse_markup        (const char            *markup_text,
0042                                                   int                    length,
0043                                                   gunichar               accel_marker,
0044                                                   PangoAttrList        **attr_list,
0045                                                   char                 **text,
0046                                                   gunichar              *accel_char,
0047                                                   GError               **error);
0048 
0049 
0050 G_END_DECLS
0051 
0052 #endif /* __PANGO_MARKUP_H__ */