diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-07-18 18:52:03 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-07-18 18:52:03 +0000 |
commit | eaae0a6b617a6bdb57694cc616cea7d2ede88364 (patch) | |
tree | 81ad9fe8479dd4e5c5b4adaf6be99779b88bf022 /gtk/gtkenums.h | |
parent | 1a7bac8d2a270c7d301600d058cc1c91ada021a3 (diff) | |
download | gdk-pixbuf-eaae0a6b617a6bdb57694cc616cea7d2ede88364.tar.gz |
Add a new keybinding signal, move_viewport. (gtk_text_view_move_viewport):
2003-07-18 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.c (gtk_text_view_class_init): Add a new keybinding signal, move_viewport.
(gtk_text_view_move_viewport): New function which implements the move_viewport functionality.
(gtk_text_view_move_cursor_internal): If the cursor is not visible, move the viewport. (#78669)
* gtk/gtkenums.h (GtkScrollStep): New enumeration, used for move_viewport argument.
* gtk/gtkstatusbar.c (gtk_statusbar_class_init): Add a has_resize_grip property. (#111779)
* gtk/gtkwindow.h:
* gtk/gtkwindow.c (gtk_window_set_default_icon): New method. (#95816)
* gtk/gtkmessagedialog.h:
* gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): New method.
(#65501, Sebastian Rittau)
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r-- | gtk/gtkenums.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 9a9fe3601..f8c0fab04 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -193,7 +193,8 @@ typedef enum GTK_CENTIMETERS } GtkMetricType; -typedef enum { +typedef enum +{ GTK_MOVEMENT_LOGICAL_POSITIONS, /* move by forw/back graphemes */ GTK_MOVEMENT_VISUAL_POSITIONS, /* move by left/right graphemes */ GTK_MOVEMENT_WORDS, /* move by forward/back words */ @@ -206,6 +207,16 @@ typedef enum { GTK_MOVEMENT_HORIZONTAL_PAGES /* move horizontally by pages */ } GtkMovementStep; +typedef enum +{ + GTK_SCROLL_STEPS, + GTK_SCROLL_PAGES, + GTK_SCROLL_ENDS, + GTK_SCROLL_HORIZONTAL_STEPS, + GTK_SCROLL_HORIZONTAL_PAGES, + GTK_SCROLL_HORIZONTAL_ENDS +} GtkScrollStep; + /* Orientation for toolbars, etc. */ typedef enum { |