forked from AuroraMiddleware/gtk
info bar: Make final
This commit is contained in:
parent
aea82cb331
commit
8cffa11a8b
@ -135,6 +135,21 @@ enum
|
||||
LAST_PROP
|
||||
};
|
||||
|
||||
typedef struct _GtkInfoBarClass GtkInfoBarClass;
|
||||
|
||||
struct _GtkInfoBar
|
||||
{
|
||||
GtkBox parent_instance;
|
||||
};
|
||||
|
||||
struct _GtkInfoBarClass
|
||||
{
|
||||
GtkBoxClass parent_class;
|
||||
|
||||
void (* response) (GtkInfoBar *info_bar, gint response_id);
|
||||
void (* close) (GtkInfoBar *info_bar);
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
GtkWidget *content_area;
|
||||
|
@ -38,44 +38,12 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/*
|
||||
* Type checking and casting macros
|
||||
*/
|
||||
#define GTK_TYPE_INFO_BAR (gtk_info_bar_get_type())
|
||||
#define GTK_INFO_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INFO_BAR, GtkInfoBar))
|
||||
#define GTK_INFO_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INFO_BAR, GtkInfoBarClass))
|
||||
#define GTK_IS_INFO_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INFO_BAR))
|
||||
#define GTK_IS_INFO_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_INFO_BAR))
|
||||
#define GTK_INFO_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INFO_BAR, GtkInfoBarClass))
|
||||
|
||||
|
||||
typedef struct _GtkInfoBarClass GtkInfoBarClass;
|
||||
typedef struct _GtkInfoBar GtkInfoBar;
|
||||
|
||||
|
||||
struct _GtkInfoBar
|
||||
{
|
||||
GtkBox parent_instance;
|
||||
};
|
||||
|
||||
|
||||
struct _GtkInfoBarClass
|
||||
{
|
||||
GtkBoxClass parent_class;
|
||||
|
||||
/* Signals */
|
||||
void (* response) (GtkInfoBar *info_bar, gint response_id);
|
||||
|
||||
/* Keybinding signals */
|
||||
void (* close) (GtkInfoBar *info_bar);
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gtk_info_bar_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -109,7 +77,6 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_info_bar_set_default_response (GtkInfoBar *info_bar,
|
||||
gint response_id);
|
||||
|
||||
/* Emit response signal */
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_info_bar_response (GtkInfoBar *info_bar,
|
||||
gint response_id);
|
||||
|
Loading…
Reference in New Issue
Block a user