[gnome-games/wip/exalm/libhandy2: 7/21] ui: Add PreferencesSubpage



commit 11de716eb977fa311193c0564f8c07987560e301
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Wed Sep 12 00:51:42 2018 +0500

    ui: Add PreferencesSubpage
    
    This will be used in the next commits to implement subpages in controllers
    preferences.

 src/meson.build                 | 1 +
 src/ui/preferences-subpage.vala | 6 ++++++
 2 files changed, 7 insertions(+)
---
diff --git a/src/meson.build b/src/meson.build
index 477759c6..72607b05 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -159,6 +159,7 @@ vala_sources = [
   'ui/preferences-page-plugins.vala',
   'ui/preferences-page-plugins-item.vala',
   'ui/preferences-page-video.vala',
+  'ui/preferences-subpage.vala',
   'ui/preferences-window.vala',
   'ui/quit-dialog.vala',
   'ui/remote-display.vala',
diff --git a/src/ui/preferences-subpage.vala b/src/ui/preferences-subpage.vala
new file mode 100644
index 00000000..ad70e858
--- /dev/null
+++ b/src/ui/preferences-subpage.vala
@@ -0,0 +1,6 @@
+// This file is part of GNOME Games. License: GPL-3.0+.
+
+private interface Games.PreferencesSubpage: Gtk.Widget {
+       public abstract Gtk.HeaderBar header_bar { get; }
+       public abstract bool request_selection_mode { get; set; }
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]