mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
header bar: Make final
This commit is contained in:
parent
8cffa11a8b
commit
4a3ae35832
@ -67,6 +67,19 @@
|
|||||||
#define DEFAULT_SPACING 6
|
#define DEFAULT_SPACING 6
|
||||||
#define MIN_TITLE_CHARS 5
|
#define MIN_TITLE_CHARS 5
|
||||||
|
|
||||||
|
typedef struct _GtkHeaderBarPrivate GtkHeaderBarPrivate;
|
||||||
|
typedef struct _GtkHeaderBarClass GtkHeaderBarClass;
|
||||||
|
|
||||||
|
struct _GtkHeaderBar
|
||||||
|
{
|
||||||
|
GtkContainer container;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct _GtkHeaderBarClass
|
||||||
|
{
|
||||||
|
GtkContainerClass parent_class;
|
||||||
|
};
|
||||||
|
|
||||||
struct _GtkHeaderBarPrivate
|
struct _GtkHeaderBarPrivate
|
||||||
{
|
{
|
||||||
gchar *title;
|
gchar *title;
|
||||||
|
@ -30,30 +30,9 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
#define GTK_TYPE_HEADER_BAR (gtk_header_bar_get_type ())
|
#define GTK_TYPE_HEADER_BAR (gtk_header_bar_get_type ())
|
||||||
#define GTK_HEADER_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HEADER_BAR, GtkHeaderBar))
|
#define GTK_HEADER_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HEADER_BAR, GtkHeaderBar))
|
||||||
#define GTK_HEADER_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HEADER_BAR, GtkHeaderBarClass))
|
|
||||||
#define GTK_IS_HEADER_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HEADER_BAR))
|
#define GTK_IS_HEADER_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HEADER_BAR))
|
||||||
#define GTK_IS_HEADER_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HEADER_BAR))
|
|
||||||
#define GTK_HEADER_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_HEADER_BAR, GtkHeaderBarClass))
|
|
||||||
|
|
||||||
typedef struct _GtkHeaderBar GtkHeaderBar;
|
typedef struct _GtkHeaderBar GtkHeaderBar;
|
||||||
typedef struct _GtkHeaderBarPrivate GtkHeaderBarPrivate;
|
|
||||||
typedef struct _GtkHeaderBarClass GtkHeaderBarClass;
|
|
||||||
|
|
||||||
struct _GtkHeaderBar
|
|
||||||
{
|
|
||||||
GtkContainer container;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GtkHeaderBarClass
|
|
||||||
{
|
|
||||||
GtkContainerClass parent_class;
|
|
||||||
|
|
||||||
/* Padding for future expansion */
|
|
||||||
void (*_gtk_reserved1) (void);
|
|
||||||
void (*_gtk_reserved2) (void);
|
|
||||||
void (*_gtk_reserved3) (void);
|
|
||||||
void (*_gtk_reserved4) (void);
|
|
||||||
};
|
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_header_bar_get_type (void) G_GNUC_CONST;
|
GType gtk_header_bar_get_type (void) G_GNUC_CONST;
|
||||||
|
Loading…
Reference in New Issue
Block a user