1 /* dzl-preferences-entry.h 2 * 3 * Copyright (C) 2015-2017 Christian Hergert <chergert@redhat.com> 4 * 5 * This program is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 #ifndef DZL_PREFERENCES_ENTRY_H 20 #define DZL_PREFERENCES_ENTRY_H 21 22 #include <gtk/gtk.h> 23 24 #include "dzl-version-macros.h" 25 26 #include "prefs/dzl-preferences-bin.h" 27 28 G_BEGIN_DECLS 29 30 #define DZL_TYPE_PREFERENCES_ENTRY (dzl_preferences_entry_get_type()) 31 32 DZL_AVAILABLE_IN_ALL 33 G_DECLARE_DERIVABLE_TYPE (DzlPreferencesEntry, dzl_preferences_entry, DZL, PREFERENCES_ENTRY, DzlPreferencesBin) 34 35 struct _DzlPreferencesEntryClass 36 { 37 DzlPreferencesBinClass parent_class; 38 }; 39 40 DZL_AVAILABLE_IN_ALL 41 GtkWidget *dzl_preferences_entry_get_entry_widget (DzlPreferencesEntry *self); 42 DZL_AVAILABLE_IN_ALL 43 GtkWidget *dzl_preferences_entry_get_title_widget (DzlPreferencesEntry *self); 44 45 G_END_DECLS 46 47 #endif /* DZL_PREFERENCES_ENTRY_H */ 48