| 1 | /* |
| 2 | * GTK - The GIMP Toolkit |
| 3 | * Copyright (C) 2022 Red Hat, Inc. |
| 4 | * All rights reserved. |
| 5 | * |
| 6 | * This Library is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU Library General Public License as |
| 8 | * published by the Free Software Foundation; either version 2 of the |
| 9 | * License, or (at your option) any later version. |
| 10 | * |
| 11 | * This Library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * Library General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Library General Public |
| 17 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 18 | */ |
| 19 | |
| 20 | #pragma once |
| 21 | |
| 22 | #if !defined (__GTK_H_INSIDE__cxx . . $ `gtk/gtk.h:27:9`!) && !defined (GTK_COMPILATIONcxx . . $ `<built-in>:420:9`!) |
| 23 | #error "Only <gtk/gtk.h> can be included directly." |
| 24 | #endif |
| 25 | |
| 26 | #include <gtk/gtkbutton.h>cxx . . $ `<file>/gtk/gtkbutton.h`/ |
| 27 | #include <gtk/gtkfontdialog.h>cxx . . $ `<file>/gtk/gtkfontdialog.h`/ |
| 28 | |
| 29 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 30 | |
| 31 | #define GTK_TYPE_FONT_DIALOG_BUTTONcxx . . $ `gtk/gtkfontdialogbutton.h:31:9`! (gtk_font_dialog_button_get_type ()) |
| 32 | |
| 33 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 34 | G_DECLARE_FINAL_TYPEcxx . . $ glib_listautoptr_cleanup_GtkFontDialogButton(118e1527e5f35536). (GtkFontDialogButton, gtk_font_dialog_button, GTK, FONT_DIALOG_BUTTON, GtkWidget) |
| 35 | |
| 36 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 37 | GtkWidgetcxx . . $ GtkWidget# * gtk_font_dialog_button_newcxx . . $ gtk_font_dialog_button_new(1c62894b1d2f255b). (GtkFontDialogcxx . . $ GtkFontDialog# *dialog); |
| 38 | |
| 39 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 40 | GtkFontDialogcxx . . $ GtkFontDialog# * gtk_font_dialog_button_get_dialogcxx . . $ gtk_font_dialog_button_get_dialog(ced778682c0b21ef). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self); |
| 41 | |
| 42 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 43 | void gtk_font_dialog_button_set_dialogcxx . . $ gtk_font_dialog_button_set_dialog(6d3c32b204075ca1). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self, |
| 44 | GtkFontDialogcxx . . $ GtkFontDialog# *dialog); |
| 45 | |
| 46 | /** |
| 47 | * GtkFontLevel: |
| 48 | * @GTK_FONT_LEVEL_FAMILY: Select a font family |
| 49 | * @GTK_FONT_LEVEL_FACE: Select a font face (i.e. a family and a style) |
| 50 | * @GTK_FONT_LEVEL_FONT: Select a font (i.e. a face with a size, and possibly font variations) |
| 51 | * @GTK_FONT_LEVEL_FEATURES: Select a font and font features |
| 52 | * |
| 53 | * The level of granularity for the font selection. |
| 54 | * |
| 55 | * Depending on this value, the `PangoFontDescription` that |
| 56 | * is returned by [[email protected]_font_desc] |
| 57 | * will have more or less fields set. |
| 58 | * |
| 59 | * Since: 4.10 |
| 60 | */ |
| 61 | typedef enumcxx . . $ $anonymous_type_2a9f039a2fabe5c7_1# |
| 62 | { |
| 63 | GTK_FONT_LEVEL_FAMILYcxx . . $ GTK_FONT_LEVEL_FAMILY., |
| 64 | GTK_FONT_LEVEL_FACEcxx . . $ GTK_FONT_LEVEL_FACE., |
| 65 | GTK_FONT_LEVEL_FONTcxx . . $ GTK_FONT_LEVEL_FONT., |
| 66 | GTK_FONT_LEVEL_FEATUREScxx . . $ GTK_FONT_LEVEL_FEATURES. |
| 67 | } GtkFontLevelcxx . . $ GtkFontLevel#; |
| 68 | |
| 69 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 70 | GtkFontLevelcxx . . $ GtkFontLevel# gtk_font_dialog_button_get_levelcxx . . $ gtk_font_dialog_button_get_level(8fa155ff2acab09d). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self); |
| 71 | |
| 72 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 73 | void gtk_font_dialog_button_set_levelcxx . . $ gtk_font_dialog_button_set_level(96204efdca73f968). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self, |
| 74 | GtkFontLevelcxx . . $ GtkFontLevel# level); |
| 75 | |
| 76 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 77 | PangoFontDescriptioncxx . . $ PangoFontDescription# * |
| 78 | gtk_font_dialog_button_get_font_desccxx . . $ gtk_font_dialog_button_get_font_desc(33d93769ac0f56d8). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self); |
| 79 | |
| 80 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 81 | void gtk_font_dialog_button_set_font_desccxx . . $ gtk_font_dialog_button_set_font_desc(2ab6d5dbfa4447a). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self, |
| 82 | const PangoFontDescriptioncxx . . $ PangoFontDescription# *font_desc); |
| 83 | |
| 84 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 85 | const char * gtk_font_dialog_button_get_font_featurescxx . . $ gtk_font_dialog_button_get_font_features(bbbd9ba8e64ea688). |
| 86 | (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self); |
| 87 | |
| 88 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 89 | void gtk_font_dialog_button_set_font_featurescxx . . $ gtk_font_dialog_button_set_font_features(246ece0b5ad0d4ea). |
| 90 | (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self, |
| 91 | const char *font_features); |
| 92 | |
| 93 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 94 | PangoLanguagecxx . . $ PangoLanguage# * gtk_font_dialog_button_get_languagecxx . . $ gtk_font_dialog_button_get_language(de1373d6eec27b01). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self); |
| 95 | |
| 96 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 97 | void gtk_font_dialog_button_set_languagecxx . . $ gtk_font_dialog_button_set_language(a0ab6ece5aa4a8f6). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self, |
| 98 | PangoLanguagecxx . . $ PangoLanguage# *language); |
| 99 | |
| 100 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 101 | gbooleancxx . . $ gboolean# gtk_font_dialog_button_get_use_fontcxx . . $ gtk_font_dialog_button_get_use_font(770efa2ad0a3a62d). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self); |
| 102 | |
| 103 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 104 | void gtk_font_dialog_button_set_use_fontcxx . . $ gtk_font_dialog_button_set_use_font(8c0e816ac7e5aa05). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self, |
| 105 | gbooleancxx . . $ gboolean# use_font); |
| 106 | |
| 107 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 108 | gbooleancxx . . $ gboolean# gtk_font_dialog_button_get_use_sizecxx . . $ gtk_font_dialog_button_get_use_size(770efa2ad0a3a62d). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self); |
| 109 | |
| 110 | GDK_AVAILABLE_IN_4_10cxx . . $ `build/gdk/version/gdk-visibility.h:233:9`! |
| 111 | void gtk_font_dialog_button_set_use_sizecxx . . $ gtk_font_dialog_button_set_use_size(8c0e816ac7e5aa05). (GtkFontDialogButtoncxx . . $ GtkFontDialogButton# *self, |
| 112 | gbooleancxx . . $ gboolean# use_size); |
| 113 | |
| 114 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |