diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-28 17:04:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-28 22:35:36 +0000 |
commit | bc739e607ba2c5394f4d3d9967886b5c3dab36ba (patch) | |
tree | dd455371496986be771f701040f3efb18cd2c250 /gtk/gtkscrolledwindow.h | |
parent | 211128fb7cb9e5d81bc35cd87a7d3048c43d9783 (diff) | |
download | gtk+-bc739e607ba2c5394f4d3d9967886b5c3dab36ba.tar.gz |
scrolled window: Make final
Diffstat (limited to 'gtk/gtkscrolledwindow.h')
-rw-r--r-- | gtk/gtkscrolledwindow.h | 49 |
1 files changed, 1 insertions, 48 deletions
diff --git a/gtk/gtkscrolledwindow.h b/gtk/gtkscrolledwindow.h index 8701e66f20..fdbdb67631 100644 --- a/gtk/gtkscrolledwindow.h +++ b/gtk/gtkscrolledwindow.h @@ -36,57 +36,10 @@ G_BEGIN_DECLS #define GTK_TYPE_SCROLLED_WINDOW (gtk_scrolled_window_get_type ()) #define GTK_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindow)) -#define GTK_SCROLLED_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindowClass)) #define GTK_IS_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLED_WINDOW)) -#define GTK_IS_SCROLLED_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCROLLED_WINDOW)) -#define GTK_SCROLLED_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindowClass)) -typedef struct _GtkScrolledWindow GtkScrolledWindow; -typedef struct _GtkScrolledWindowClass GtkScrolledWindowClass; - -struct _GtkScrolledWindow -{ - GtkBin parent_instance; -}; - -/** - * GtkScrolledWindowClass: - * @parent_class: The parent class. - * @scroll_child: Keybinding signal which gets emitted when a - * keybinding that scrolls is pressed. - * @move_focus_out: Keybinding signal which gets emitted when focus is - * moved away from the scrolled window by a keybinding. - */ -struct _GtkScrolledWindowClass -{ - GtkBinClass parent_class; - - /*< public >*/ - - /* Action signals for keybindings. Do not connect to these signals - */ - - /* Unfortunately, GtkScrollType is deficient in that there is - * no horizontal/vertical variants for GTK_SCROLL_START/END, - * so we have to add an additional boolean flag. - */ - gboolean (*scroll_child) (GtkScrolledWindow *scrolled_window, - GtkScrollType scroll, - gboolean horizontal); - - void (* move_focus_out) (GtkScrolledWindow *scrolled_window, - GtkDirectionType direction); - - /*< private >*/ - - /* Padding for future expansion */ - void (*_gtk_reserved1) (void); - void (*_gtk_reserved2) (void); - void (*_gtk_reserved3) (void); - void (*_gtk_reserved4) (void); -}; - +typedef struct _GtkScrolledWindow GtkScrolledWindow; /** * GtkCornerType: |