mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
level bar: Make final
This commit is contained in:
parent
f47a84f233
commit
aea82cb331
@ -164,6 +164,18 @@ typedef struct {
|
||||
gdouble value;
|
||||
} GtkLevelBarOffset;
|
||||
|
||||
struct _GtkLevelBar {
|
||||
GtkWidget parent_instance;
|
||||
};
|
||||
|
||||
typedef struct _GtkLevelBarClass GtkLevelBarClass;
|
||||
struct _GtkLevelBarClass {
|
||||
GtkWidgetClass parent_class;
|
||||
|
||||
void (* offset_changed) (GtkLevelBar *self,
|
||||
const gchar *name);
|
||||
};
|
||||
|
||||
typedef struct _GtkLevelBarPrivate GtkLevelBarPrivate;
|
||||
struct _GtkLevelBarPrivate {
|
||||
GtkOrientation orientation;
|
||||
|
@ -31,10 +31,7 @@ G_BEGIN_DECLS
|
||||
|
||||
#define GTK_TYPE_LEVEL_BAR (gtk_level_bar_get_type ())
|
||||
#define GTK_LEVEL_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LEVEL_BAR, GtkLevelBar))
|
||||
#define GTK_LEVEL_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LEVEL_BAR, GtkLevelBarClass))
|
||||
#define GTK_IS_LEVEL_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LEVEL_BAR))
|
||||
#define GTK_IS_LEVEL_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LEVEL_BAR))
|
||||
#define GTK_LEVEL_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LEVEL_BAR, GtkLevelBarClass))
|
||||
|
||||
/**
|
||||
* GTK_LEVEL_BAR_OFFSET_LOW:
|
||||
@ -57,24 +54,8 @@ G_BEGIN_DECLS
|
||||
*/
|
||||
#define GTK_LEVEL_BAR_OFFSET_FULL "full"
|
||||
|
||||
typedef struct _GtkLevelBarClass GtkLevelBarClass;
|
||||
typedef struct _GtkLevelBar GtkLevelBar;
|
||||
|
||||
struct _GtkLevelBar {
|
||||
/*< private >*/
|
||||
GtkWidget parent_instance;
|
||||
};
|
||||
|
||||
struct _GtkLevelBarClass {
|
||||
/*< private >*/
|
||||
GtkWidgetClass parent_class;
|
||||
|
||||
void (* offset_changed) (GtkLevelBar *self,
|
||||
const gchar *name);
|
||||
|
||||
/* padding for future class expansion */
|
||||
gpointer padding[16];
|
||||
};
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gtk_level_bar_get_type (void) G_GNUC_CONST;
|
||||
|
Loading…
Reference in New Issue
Block a user