2014-08-23 16:38:42 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2014 Intel Corporation
|
|
|
|
*
|
|
|
|
* This program 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 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*
|
|
|
|
* This program 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 St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*
|
|
|
|
* Author:
|
|
|
|
* Ikey Doherty <michael.i.doherty@intel.com>
|
|
|
|
*/
|
|
|
|
|
2015-02-12 17:09:13 +00:00
|
|
|
#ifndef __GTK_STACK_SIDEBAR_H__
|
|
|
|
#define __GTK_STACK_SIDEBAR_H__
|
2014-08-23 16:38:42 +00:00
|
|
|
|
|
|
|
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
|
|
|
#error "Only <gtk/gtk.h> can be included directly."
|
|
|
|
#endif
|
|
|
|
|
2014-10-02 02:45:30 +00:00
|
|
|
#include <gtk/gtkbin.h>
|
2014-08-23 16:38:42 +00:00
|
|
|
#include <gtk/gtkstack.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2015-02-12 17:09:13 +00:00
|
|
|
#define GTK_TYPE_STACK_SIDEBAR (gtk_stack_sidebar_get_type ())
|
|
|
|
#define GTK_STACK_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK_SIDEBAR, GtkStackSidebar))
|
2015-03-14 02:57:32 +00:00
|
|
|
#define GTK_IS_STACK_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK_SIDEBAR))
|
2014-08-23 16:38:42 +00:00
|
|
|
|
2019-05-26 20:19:44 +00:00
|
|
|
typedef struct _GtkStackSidebar GtkStackSidebar;
|
2014-08-23 16:38:42 +00:00
|
|
|
|
2018-02-05 19:13:20 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2015-02-12 17:09:13 +00:00
|
|
|
GType gtk_stack_sidebar_get_type (void) G_GNUC_CONST;
|
2018-02-05 19:13:20 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2015-02-12 17:09:13 +00:00
|
|
|
GtkWidget * gtk_stack_sidebar_new (void);
|
2018-02-05 19:13:20 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2015-02-12 17:09:13 +00:00
|
|
|
void gtk_stack_sidebar_set_stack (GtkStackSidebar *sidebar,
|
|
|
|
GtkStack *stack);
|
2018-02-05 19:13:20 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2015-02-12 17:09:13 +00:00
|
|
|
GtkStack * gtk_stack_sidebar_get_stack (GtkStackSidebar *sidebar);
|
2014-08-23 16:38:42 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
2015-02-12 17:09:13 +00:00
|
|
|
#endif /* __GTK_STACK_SIDEBAR_H__ */
|