Add editors for GtkStack and GtkStackSwitcher

This commit is contained in:
Matthias Clasen 2014-11-02 20:36:52 -05:00 committed by Tristan Van Berkom
parent f4dc9a24dd
commit a47ec7a4e6
11 changed files with 664 additions and 2 deletions

View File

@ -147,6 +147,8 @@ libgladegtk_la_SOURCES = \
glade-scrollbar-editor.c \
glade-scrolled-window-editor.c \
glade-spin-button-editor.c \
glade-stack-editor.c \
glade-stack-switcher-editor.c \
glade-store-editor.c \
glade-string-list.c \
glade-text-view-editor.c \
@ -224,6 +226,8 @@ noinst_HEADERS = \
glade-scrollbar-editor.h \
glade-scrolled-window-editor.h \
glade-spin-button-editor.h \
glade-stack-editor.h \
glade-stack-switcher-editor.h \
glade-store-editor.h \
glade-string-list.h \
glade-text-view-editor.h \
@ -299,6 +303,8 @@ UI_FILES = \
glade-scrollbar-editor.ui \
glade-scrolled-window-editor.ui \
glade-spin-button-editor.ui \
glade-stack-editor.ui \
glade-stack-switcher-editor.ui \
glade-text-view-editor.ui \
glade-tool-button-editor.ui \
glade-tool-palette-editor.ui \

View File

@ -43,6 +43,8 @@
<file compressed="true" preprocess="xml-stripblanks">glade-scrollbar-editor.ui</file>
<file compressed="true" preprocess="xml-stripblanks">glade-scrolled-window-editor.ui</file>
<file compressed="true" preprocess="xml-stripblanks">glade-spin-button-editor.ui</file>
<file compressed="true" preprocess="xml-stripblanks">glade-stack-editor.ui</file>
<file compressed="true" preprocess="xml-stripblanks">glade-stack-switcher-editor.ui</file>
<file compressed="true" preprocess="xml-stripblanks">glade-text-view-editor.ui</file>
<file compressed="true" preprocess="xml-stripblanks">glade-tool-palette-editor.ui</file>
<file compressed="true" preprocess="xml-stripblanks">glade-tool-button-editor.ui</file>

View File

@ -25,10 +25,16 @@
#include <glib/gi18n-lib.h>
#include <gladeui/glade.h>
#include "glade-stack-switcher-editor.h"
GladeEditable *
glade_gtk_stack_switcher_create_editable (GladeWidgetAdaptor * adaptor,
GladeEditorPageType type)
{
if (type == GLADE_PAGE_GENERAL)
return (GladeEditable *) glade_stack_switcher_editor_new ();
return GWA_GET_CLASS (GTK_TYPE_CONTAINER)->create_editable (adaptor, type);
}

View File

@ -24,6 +24,8 @@
#include <glib/gi18n-lib.h>
#include <gladeui/glade.h>
#include "glade-stack-editor.h"
void
glade_gtk_stack_post_create (GladeWidgetAdaptor *adaptor,
GObject *container,
@ -75,3 +77,13 @@ glade_gtk_stack_child_action_activate (GladeWidgetAdaptor * adaptor,
action_path);
}
GladeEditable *
glade_gtk_stack_create_editable (GladeWidgetAdaptor * adaptor,
GladeEditorPageType type)
{
if (type == GLADE_PAGE_GENERAL)
return (GladeEditable *) glade_stack_editor_new ();
return GWA_GET_CLASS (GTK_TYPE_CONTAINER)->create_editable (adaptor, type);
}

View File

@ -0,0 +1,68 @@
/*
* Copyright (C) 2014 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Authors:
* Matthias Clasen <mclasen@redhat.com>
*/
#include <config.h>
#include <gladeui/glade.h>
#include <glib/gi18n-lib.h>
#include "glade-stack-editor.h"
static void glade_stack_editor_grab_focus (GtkWidget * widget);
struct _GladeStackEditorPrivate
{
GtkWidget *embed;
};
G_DEFINE_TYPE_WITH_PRIVATE (GladeStackEditor, glade_stack_editor, GLADE_TYPE_EDITOR_SKELETON)
static void
glade_stack_editor_class_init (GladeStackEditorClass * klass)
{
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
widget_class->grab_focus = glade_stack_editor_grab_focus;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/gladegtk/glade-stack-editor.ui");
gtk_widget_class_bind_template_child_private (widget_class, GladeStackEditor, embed);
}
static void
glade_stack_editor_init (GladeStackEditor * self)
{
self->priv = glade_stack_editor_get_instance_private (self);
gtk_widget_init_template (GTK_WIDGET (self));
}
static void
glade_stack_editor_grab_focus (GtkWidget * widget)
{
GladeStackEditor *stack_editor = GLADE_STACK_EDITOR (widget);
gtk_widget_grab_focus (stack_editor->priv->embed);
}
GtkWidget *
glade_stack_editor_new (void)
{
return g_object_new (GLADE_TYPE_STACK_EDITOR, NULL);
}

View File

@ -0,0 +1,56 @@
/*
* Copyright (C) 2014 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Authors:
* Matthias Clasen <mclasen@redhat.com>
*/
#ifndef _GLADE_STACK_EDITOR_H_
#define _GLADE_STACK_EDITOR_H_
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define GLADE_TYPE_STACK_EDITOR (glade_stack_editor_get_type ())
#define GLADE_STACK_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLADE_TYPE_STACK_EDITOR, GladeStackEditor))
#define GLADE_STACK_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GLADE_TYPE_STACK_EDITOR, GladeStackEditorClass))
#define GLADE_IS_STACK_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GLADE_TYPE_STACK_EDITOR))
#define GLADE_IS_STACK_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GLADE_TYPE_STACK_EDITOR))
#define GLADE_STACK_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GLADE_TYPE_STACK_EDITOR, GladeStackEditorClass))
typedef struct _GladeStackEditor GladeStackEditor;
typedef struct _GladeStackEditorClass GladeStackEditorClass;
typedef struct _GladeStackEditorPrivate GladeStackEditorPrivate;
struct _GladeStackEditor
{
GladeEditorSkeleton parent;
GladeStackEditorPrivate *priv;
};
struct _GladeStackEditorClass
{
GladeEditorSkeletonClass parent;
};
GType glade_stack_editor_get_type (void) G_GNUC_CONST;
GtkWidget *glade_stack_editor_new (void);
G_END_DECLS
#endif /* _GLADE_STACK_EDITOR_H_ */

View File

@ -0,0 +1,218 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
libgladegtk - Glade UI Designer Gtk+ support plugin
Copyright (C) 2014 Red Hat, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Author: Matthias Clasen <mclasen@redhat.com>
-->
<interface domain="glade">
<requires lib="gtk+" version="3.10"/>
<requires lib="gladeui" version="0.0"/>
<template class="GladeStackEditor" parent="GladeEditorSkeleton">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_spacing">6</property>
<property name="column_spacing">6</property>
<child>
<object class="GladeEditorTable" id="embed">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">6</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="title">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">Stack Attributes</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
<property name="width">6</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyLabel" id="visible_child_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">False</property>
<property name="margin_left">12</property>
<property name="property_name">visible-child-name</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyShell" id="visible_child_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="property_name">visible-child-name</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">2</property>
<property name="width">4</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">False</property>
<property name="margin_left">12</property>
<property name="xalign">0.0</property>
<property name="label" translatable="yes">Homogeneous:</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyShell" id="hhomogeneous_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="property_name">hhomogeneous</property>
<property name="editor_type">GladeEpropCheck</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyShell" id="vhomogeneous_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="property_name">vhomogeneous</property>
<property name="editor_type">GladeEpropCheck</property>
</object>
<packing>
<property name="left_attach">3</property>
<property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyLabel" id="transition_type_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">transition-type</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">4</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyShell" id="transition_type_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">transition-type</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">4</property>
<property name="width">4</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyLabel" id="transition_duration_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">transition-duration</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">5</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyShell" id="transition_duration_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">transition-duration</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">5</property>
<property name="width">4</property>
<property name="height">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child-editors>
<editor id="embed"/>
<editor id="visible_child_label"/>
<editor id="visible_child_editor"/>
<editor id="hhomogeneous_editor"/>
<editor id="vhomogeneous_editor"/>
<editor id="transition_type_label"/>
<editor id="transition_type_editor"/>
<editor id="transition_duration_label"/>
<editor id="transition_duration_editor"/>
</child-editors>
</template>
</interface>

View File

@ -0,0 +1,68 @@
/*
* Copyright (C) 2014 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Authors:
* Matthias Clasen <mclasen@redhat.com>
*/
#include <config.h>
#include <gladeui/glade.h>
#include <glib/gi18n-lib.h>
#include "glade-stack-switcher-editor.h"
static void glade_stack_switcher_editor_grab_focus (GtkWidget * widget);
struct _GladeStackSwitcherEditorPrivate
{
GtkWidget *embed;
};
G_DEFINE_TYPE_WITH_PRIVATE (GladeStackSwitcherEditor, glade_stack_switcher_editor, GLADE_TYPE_EDITOR_SKELETON)
static void
glade_stack_switcher_editor_class_init (GladeStackSwitcherEditorClass * klass)
{
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
widget_class->grab_focus = glade_stack_switcher_editor_grab_focus;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/gladegtk/glade-stack-switcher-editor.ui");
gtk_widget_class_bind_template_child_private (widget_class, GladeStackSwitcherEditor, embed);
}
static void
glade_stack_switcher_editor_init (GladeStackSwitcherEditor * self)
{
self->priv = glade_stack_switcher_editor_get_instance_private (self);
gtk_widget_init_template (GTK_WIDGET (self));
}
static void
glade_stack_switcher_editor_grab_focus (GtkWidget * widget)
{
GladeStackSwitcherEditor *editor = GLADE_STACK_SWITCHER_EDITOR (widget);
gtk_widget_grab_focus (editor->priv->embed);
}
GtkWidget *
glade_stack_switcher_editor_new (void)
{
return g_object_new (GLADE_TYPE_STACK_SWITCHER_EDITOR, NULL);
}

View File

@ -0,0 +1,56 @@
/*
* Copyright (C) 2014 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Authors:
* Matthias Clasen <mclasen@redhat.com>
*/
#ifndef _GLADE_STACK_SWITCHER_EDITOR_H_
#define _GLADE_STACK_SWITCHER_EDITOR_H_
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define GLADE_TYPE_STACK_SWITCHER_EDITOR (glade_stack_switcher_editor_get_type ())
#define GLADE_STACK_SWITCHER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLADE_TYPE_STACK_SWITCHER_EDITOR, GladeStackSwitcherEditor))
#define GLADE_STACK_SWITCHER_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GLADE_TYPE_STACK_SWITCHER_EDITOR, GladeStackSwitcherEditorClass))
#define GLADE_IS_STACK_SWITCHER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GLADE_TYPE_STACK_SWITCHER_EDITOR))
#define GLADE_IS_STACK_SWITCHER_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GLADE_TYPE_STACK_SWITCHER_EDITOR))
#define GLADE_STACK_SWITCHER_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GLADE_TYPE_STACK_SWITCHER_EDITOR, GladeStackSwitcherEditorClass))
typedef struct _GladeStackSwitcherEditor GladeStackSwitcherEditor;
typedef struct _GladeStackSwitcherEditorClass GladeStackSwitcherEditorClass;
typedef struct _GladeStackSwitcherEditorPrivate GladeStackSwitcherEditorPrivate;
struct _GladeStackSwitcherEditor
{
GladeEditorSkeleton parent;
GladeStackSwitcherEditorPrivate *priv;
};
struct _GladeStackSwitcherEditorClass
{
GladeEditorSkeletonClass parent;
};
GType glade_stack_switcher_editor_get_type (void) G_GNUC_CONST;
GtkWidget *glade_stack_switcher_editor_new (void);
G_END_DECLS
#endif /* _GLADE_STACK_SWITCHER_EDITOR_H_ */

View File

@ -0,0 +1,140 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
libgladegtk - Glade UI Designer Gtk+ support plugin
Copyright (C) 2014 Red Hat, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Author: Matthias Clasen <mclasen@redhat.com>
-->
<interface domain="glade">
<requires lib="gtk+" version="3.10"/>
<requires lib="gladeui" version="0.0"/>
<template class="GladeStackSwitcherEditor" parent="GladeEditorSkeleton">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_spacing">6</property>
<property name="column_spacing">6</property>
<child>
<object class="GladeEditorTable" id="embed">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">6</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="title">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">Stack Switcher Attributes</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
<property name="width">6</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyLabel" id="stack_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">False</property>
<property name="margin_left">12</property>
<property name="property_name">stack</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyShell" id="stack_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="property_name">stack</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">2</property>
<property name="width">4</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyLabel" id="orientation_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">12</property>
<property name="hexpand">False</property>
<property name="property_name">orientation</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GladePropertyShell" id="orientation_editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">False</property>
<property name="property_name">orientation</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">3</property>
<property name="width">4</property>
<property name="height">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child-editors>
<editor id="embed"/>
<editor id="stack_label"/>
<editor id="stack_editor"/>
<editor id="orientation_label"/>
<editor id="orientation_editor"/>
</child-editors>
</template>
</interface>

View File

@ -2456,6 +2456,7 @@
</glade-widget-class>
<glade-widget-class name="GtkStack" generic-name="stack" _title="Stack" since="3.10">
<create-editable-function>glade_gtk_stack_create_editable</create-editable-function>
<post-create-function>glade_gtk_stack_post_create</post-create-function>
<child-action-activate-function>glade_gtk_stack_child_action_activate</child-action-activate-function>
<packing-actions>
@ -2464,12 +2465,41 @@
<action id="remove_page" _name="Remove Page" stock="list-remove"/>
</packing-actions>
<properties>
<property id="visible-child" save="False"/>
<property id="visible-child-name" save="False"/>
<property id="visible-child" save="False" disabled="True"/>
<property id="visible-child-name" _name="Visible child" save="False" custom-layout="True"/>
<property id="homogeneous" save="False" disabled="True"/>
<property id="hhomogeneous" _name="Horizontal" custom-layout="True"/>
<property id="vhomogeneous" _name="Vertical" custom-layout="True"/>
<property id="transition-type" custom-layout="True">
<displayable-values>
<value id="GTK_STACK_TRANSITION_TYPE_NONE" _name="None" />
<value id="GTK_STACK_TRANSITION_TYPE_CROSSFADE" _name="Crossfade" />
<value id="GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT" _name="Slide Right" />
<value id="GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT" _name="Slide Left" />
<value id="GTK_STACK_TRANSITION_TYPE_SLIDE_UP" _name="Slide Up" />
<value id="GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN" _name="Slide Down" />
<value id="GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT" _name="Slide Left-Right" />
<value id="GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN" _name="Slide Up-Down" />
<value id="GTK_STACK_TRANSITION_TYPE_OVER_UP" _name="Move Over Up" />
<value id="GTK_STACK_TRANSITION_TYPE_OVER_DOWN" _name="Move Over Down" />
<value id="GTK_STACK_TRANSITION_TYPE_OVER_LEFT" _name="Move Over Left" />
<value id="GTK_STACK_TRANSITION_TYPE_OVER_RIGHT" _name="Move Over Right" />
<value id="GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN" _name="Move Over Up-Down" />
<value id="GTK_STACK_TRANSITION_TYPE_OVER_DOWN_UP" _name="Move Over Down-Up" />
<value id="GTK_STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT" _name="Move Over Left-Right" />
<value id="GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT" _name="Move Over Right-Left" />
<value id="GTK_STACK_TRANSITION_TYPE_UNDER_UP" _name="Move Under Up" />
<value id="GTK_STACK_TRANSITION_TYPE_UNDER_DOWN" _name="Move Under Down" />
<value id="GTK_STACK_TRANSITION_TYPE_UNDER_LEFT" _name="Move Under Left" />
<value id="GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT" _name="Move Under Right" />
</displayable-values>
</property>
<property id="transition-duration" custom-layout="True"/>
</properties>
</glade-widget-class>
<glade-widget-class name="GtkStackSwitcher" generic-name="stackswitcher" _title="Stack Switcher" since="3.10">
<create-editable-function>glade_gtk_stack_switcher_create_editable</create-editable-function>
<properties>
<property id="orientation" default="GTK_ORIENTATION_HORIZONTAL"/>