- 23 May, 2014 5 commits
-
-
Carlos Garnacho authored
With gtk_gesture_get_point() returning events in gtk_event_controller_get_widget() coordinates, we no longer need to compensate for the overshoot here.
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
This makes scrolled window fully compatible again wrt the GtkScrolledWindow::capture-button-press property.
-
Carlos Garnacho authored
The kinetic scrolling feature is now implemented using a GtkGestureDrag and a GtkGestureSwipe, plus a GtkGestureLongPress in order to denying the sequence, so it is possibly handled underneath.
-
- 22 May, 2014 2 commits
-
-
Matthias Clasen authored
The change to take out unneeded NULL checks requires some care at startup: we check both adjustments when any of them changes; we need to do those checks in the same order in which we create the scrollbars, otherwise we'll try to get the adjustment of the vscrollbar when we just set the up the hscrollbars' adjustment.
-
The scrollbars are created at construction time and there is no way to set them to NULL so remove the unnecessary NULL checks. https://bugzilla.gnome.org/show_bug.cgi?id=525206
-
- 01 May, 2014 1 commit
-
-
Benjamin Otte authored
Size vfuncs always get non-null out variables passed, so no need to check for NULL.
-
- 05 Apr, 2014 1 commit
-
-
Matthias Clasen authored
This commit adds a few missing private headers, and cleans up some irregularities in the existing ones
-
- 19 Feb, 2014 1 commit
-
-
William Jon McCann authored
Instead of Return value:
-
- 07 Feb, 2014 4 commits
-
-
William Jon McCann authored
-
William Jon McCann authored
-
-
William Jon McCann authored
-
- 05 Feb, 2014 2 commits
-
-
William Jon McCann authored
-
William Jon McCann authored
-
- 05 Jan, 2014 1 commit
-
-
Ensure the hscrollbar & vscrollbar at gtk_scrolled_window_add() time, this allows one to subclass GtkScrolledWindow with templates and add children, as this will happen at instance initialization time before the construct adjustment properties take effect.
-
- 23 Oct, 2013 2 commits
-
-
Bastien Nocera authored
The tick callback IDs from GtkWidget aren't timeouts, so use the correct function to disconnect from them. Spotted by Benjamin Otte <otte@redhat.com> https://bugzilla.gnome.org/show_bug.cgi?id=710666
-
Bastien Nocera authored
Add names to every timeout we setup, so it's easier to track their usage, and debug possible misbehaviour. https://bugzilla.gnome.org/show_bug.cgi?id=710651
-
- 09 Jul, 2013 1 commit
-
-
- 27 Jun, 2013 1 commit
-
-
William Jon McCann authored
To make the testsuite happy.
-
- 26 Jun, 2013 1 commit
-
-
William Jon McCann authored
Just use GTK_CORNER_TOP_LEFT and allow it to be changed with gtk_scrolled_window_set_placement().
-
- 13 Jun, 2013 1 commit
-
-
Alexander Larsson authored
When adding with a viewport we automatically set the focus adjustments on the viewport from the scrolled window, so that when any child widget gets focused we automatically scroll to it. This is generally nice, but its particularly important for GtkListBox where focus changing is how we navigate between rows. We also ensure that the adjustments are always set before adding the child to the viewport, which we will need later to pick up the adjustments on add.
-
- 08 Apr, 2013 1 commit
-
-
Tristan Van Berkom authored
Deprecate gtk_widget_push_composite_child, gtk_widget_pop_composite_child, gtk_widget_set_composite_name, gtk_widget_get_composite_name. This API is just bloat and was never useful, this patch deprecates it and removes all internal calls to the composite child APIs
-
- 16 Feb, 2013 1 commit
-
-
Owen W. Taylor authored
This is slightly simpler and more robust than direct use of GdkFrameClock.
-
- 14 Feb, 2013 1 commit
-
-
Owen W. Taylor authored
Use GdkFrameClock when animating scrolling via touch, rather than a timeout. https://bugzilla.gnome.org/show_bug.cgi?id=685460
-
- 07 Feb, 2013 1 commit
-
-
Alexander Larsson authored
This replaces the previously hardcoded calls to gdk_window_set_user_data, and also lets us track which windows are a part of a widget. Old code should continue working as is, but new features that require the windows may not work perfectly. We need this for the transparent widget support to work, as we need to specially mark the windows of child widgets. https://bugzilla.gnome.org/show_bug.cgi?id=687842
-
- 02 Feb, 2013 3 commits
-
-
Cosimo Cecchi authored
-
There's really no reason why we shouldn't automatically create a GtkViewport when the widget added to GtkScrolledWindow is not a GtkScrollable, instead of just printing a g_warning. Copy the viewport special case into the scrolled window implementation of gtk_container_add(). https://bugzilla.gnome.org/show_bug.cgi?id=693015
-
- 01 Feb, 2013 1 commit
-
-
Benjamin Otte authored
This (a) makes the code look nicer, and (b) works for non-scrollables
-
- 14 Jan, 2013 1 commit
-
-
Benjamin Otte authored
We want to reserve space for the size of the scrollbars even when they are not visible. And because toggling visibile to off now returns 0 for size requests, this won't work anymore.
-
- 17 Oct, 2012 1 commit
-
-
Cosimo Cecchi authored
Currently we use gtk_style_context_set_background() when the state flags change in order to propagate the background color to the overshoot window, but this is actually only needed because the window doesn't get expose events, since we always draw a full background in draw(). This also fixes some problems when the GdkWindow of the scrolled window's child is composited, as seen in oxygen-gtk3. https://bugzilla.gnome.org/show_bug.cgi?id=686265
-
- 04 Oct, 2012 1 commit
-
-
Cosimo Cecchi authored
When positioning the scrollbar we were doing several miscalculations when accounting for CSS paddings and borders. This also fixes a number of problems with RTL and when scrollbars-within-bevel is FALSE. https://bugzilla.gnome.org/show_bug.cgi?id=685449
-
- 03 Sep, 2012 1 commit
-
-
GtkTextHandle creates temporary override redirect windows, but still hook to the text widget for events, so those are effectively captured by GtkScrolledWindow if a text widget is within it
-
- 28 Aug, 2012 1 commit
-
-
Cosimo Cecchi authored
- don't poke at the children's background pattern at draw time, but just call gtk_render_background() - we should propagate rendering of the background to the overshoot window when the state flags or the style changes, or it won't respond to e.g. focused/backdrop changes correctly https://bugzilla.gnome.org/show_bug.cgi?id=682854
-
- 10 Mar, 2012 1 commit
-
-
Cosimo Cecchi authored
When the scrolled window has a frame (and the scrollbar is within the bevel), we should take into account the CSS border/padding of the frame and offset the scrollbars junction rendering with it.
-
- 05 Mar, 2012 1 commit
-
-
Matthias Clasen authored
Rewrite the code that deals with smooth scroll events to be in terms of 'scroll units' as well.
-
- 03 Mar, 2012 1 commit
-
-
Benjamin Otte authored
... and make all the headers to not include gtkadjustment.h anymore. Of course, also include it in the source files instead.
-
- 01 Mar, 2012 1 commit
-
-
If delta_x/y information is provided in scroll events, use it to modify the underlying adjustment in steps proportional to the deltas provided. If the child widget of a scrolledwindow doesn't set GDK_SMOOTH_SCROLL_MASK, regular scroll events will be dispatched, and still handled by these 2 widgets.
-