summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* css: Clipping changes don't need a queue_allocate() anymoreBenjamin Otte2018-04-096-13/+10
| | | | | | | | Now that queue_draw() isn't restricted to clip anymore, we don't need to care about clip in the CSS engine either. We do keep GTK_CSS_AFFECTS_CLIP around though because GtkWindow does care for the window's size.
* entry: Stop being activatableBenjamin Otte2018-04-091-6/+0
| | | | | | Activating entries does not do anything. Activate the default widget instead.
* widget: Don't do a 0-size check before snapshottingBenjamin Otte2018-04-091-2/+1
| | | | | | | Even widgets with an empty allocation may still want to draw stuff. Examples include shadows or child widgets with negative margins. Fixes GtkEntry's progressbar not showing up anymore.
* ModelButton: Use WARN_INVALID_PROPERTY, not assertDaniel Boles2018-04-081-2/+4
| | | | Do the same thing we do everywhere else for invalid properties.
* ModelButton: Fix type Wether => WhetherDaniel Boles2018-04-081-1/+1
|
* ModelButton: Protect against nonsensical gbooleansDaniel Boles2018-04-081-0/+4
| | | | the same way we do normally.
* listbox: Fix signal name in documentationMohammed Sadiq2018-04-081-1/+1
|
* Fix some g-i annotation warningsRico Tzschichholz2018-04-064-5/+5
|
* menu: Avoid an invalid readTimm Bäder2018-04-061-6/+7
|
* lockbutton: Remove priv pointerTimm Bäder2018-04-062-19/+16
|
* video: Add autoplay and loop boolean propertiesBenjamin Otte2018-04-062-0/+147
|
* gtkmenushell: Port to using GtkEventControllerKeywip/carlosg/kill-event-signals2Carlos Garnacho2018-04-052-23/+34
|
* gtkcellrendereraccel: Port to using GtkEventControllerKeyCarlos Garnacho2018-04-051-17/+29
|
* gtkentry: Use key controller to track focus changesCarlos Garnacho2018-04-051-14/+4
|
* gtkcalendar: Use key controller to track focus changesCarlos Garnacho2018-04-051-20/+19
|
* gtktextview: Use key controller for focus changesCarlos Garnacho2018-04-051-23/+6
|
* gtkeventcontrollerkey: Add ::focus-in/out signalsCarlos Garnacho2018-04-051-0/+28
| | | | And handle GDK_FOCUS_CHANGE events in order to emit those.
* gtkeventcontrollerkey: Add get_group() callCarlos Garnacho2018-04-052-0/+15
| | | | | Callers can use this function on a key-pressed/released signal to find out the key event group, useful in a few places.
* gtkmenu: Stop using ::key-press-eventCarlos Garnacho2018-04-052-19/+8
| | | | Use GtkEventControllerKey for the task
* gtkiconview: Stop using ::key-press-eventCarlos Garnacho2018-04-052-25/+19
| | | | Use GtkEventControllerKey for the task
* gtkcellrendererspin: Stop using ::key-press-eventCarlos Garnacho2018-04-051-12/+21
| | | | Use GtkEventControllerKey for the task
* appchoooserdialog: use search bar key capture APICarlos Garnacho2018-04-051-13/+3
|
* inspector: Use search bar API to capture key events from the toplevelCarlos Garnacho2018-04-053-17/+18
|
* gtksearchbar/entry: Add [gs]et_key_capture_widget() API callsCarlos Garnacho2018-04-055-47/+291
| | | | | This lets these widgets actively pull events from a widget, instead of passively being fed events.
* gtkwindow: Perform key activation in gtk_main_do_event()Carlos Garnacho2018-04-052-21/+4
| | | | | | In a similar spirit to the previous commit, make window shortcut activation happen by default on toplevels, without relying on legacy controllers.
* gtkwidget: Activate key bindings through run_controllers()Carlos Garnacho2018-04-051-2/+7
| | | | | | | Deferring a bit further making those a standalone controller, make binding activation happen on run_controllers(), so it happens by default on widgets (unless the key event was consumed earlier) without the need of a legacy event controller.
* gtkwidget: Break early if non-gesture controllers handle the eventCarlos Garnacho2018-04-051-0/+7
| | | | | | | Non gesture controllers have no means to collaborate with other controllers, thus should be considered standalone entities. It makes no sense to propagate any further if scroll/key controllers handled the event.
* eventcontrollerkey: Add function to forward stuff elsewhereCarlos Garnacho2018-04-052-1/+24
|
* gtkmain: Don't use special paths for key event propagationCarlos Garnacho2018-04-052-72/+12
| | | | | Set the event_widget to the window focus, and let event capture/bubble handling do the rest.
* gtkrange: Stop using ::key-press-eventCarlos Garnacho2018-04-051-15/+19
| | | | Use GtkEventControllerKey for the task
* gtkcellrendereraccel: simplify grabbing codeCarlos Garnacho2018-04-051-15/+16
|
* combo box: Stop using ::key-press-eventMatthias Clasen2018-04-052-17/+20
| | | | Switch to using ::event.
* app chooser: Stop using ::key-press-eventMatthias Clasen2018-04-051-6/+9
| | | | For now, just switch to using ::event.
* gtkentrycompletion: Stop using ::key-press-eventCarlos Garnacho2018-04-052-10/+17
| | | | Use GtkEventControllerKey for the task
* gtkplacessidebar: Stop using ::key-press-eventCarlos Garnacho2018-04-051-50/+52
| | | | Use GtkEventControllerKey for the task
* gtktextview: Stop using ::key-press-eventCarlos Garnacho2018-04-051-66/+47
| | | | Use GtkEventControllerKey for the task
* gtkflowbox: Stop using ::key-press-eventCarlos Garnacho2018-04-051-12/+16
| | | | Use GtkEventControllerKey for the task
* gtkentry: Stop using ::key-press-eventCarlos Garnacho2018-04-051-78/+55
| | | | Use GtkEventControllerKey for the task
* gtkcolorswatch: Stop using ::key-press-eventCarlos Garnacho2018-04-051-10/+12
| | | | Use GtkEventControllerKey for the task
* gtkcolorplane: Stop using ::key-press-eventCarlos Garnacho2018-04-051-9/+13
| | | | Use GtkEventControllerKey for the task
* gtkcalendar: Stop using ::key-press-eventCarlos Garnacho2018-04-051-10/+19
| | | | Use GtkEventControllerKey for the task
* Shortcuts window: stop using ::key-press-eventMatthias Clasen2018-04-051-7/+16
| | | | Use a key event controller instead.
* color editor: Stop using ::key-press-eventMatthias Clasen2018-04-052-12/+26
| | | | Use key event controllers instead.
* about dialog: Stop using ::key-press-eventMatthias Clasen2018-04-052-11/+20
| | | | Use a key event controller instead.
* places view: Stop using ::key-press-eventMatthias Clasen2018-04-052-34/+32
|
* inspector: Stop using ::key-press-eventMatthias Clasen2018-04-054-43/+74
|
* docs: Modernize an exampleMatthias Clasen2018-04-051-28/+14
| | | | The signals that are showcased here are going away.
* file chooser: Use a key event controllerMatthias Clasen2018-04-052-24/+35
| | | | We want to get rid of ::key-press-event.
* gtk: Add GtkGestureStylusCarlos Garnacho2018-04-057-1/+455
| | | | | | This is a GtkGesture done to deal with stylus events from drawing tablets. Those have a special number of characteristics that extend a regular pointer, so it makes sense to wrap that.
* gtkwindow: Unset focus grab_widget if it ends up unmappedCarlos Garnacho2018-04-051-0/+5
| | | | | | This may result on the later emission of crossing events, with one of the sides being already unmapped/unrealized. The widget being unmapped will result on repick and emission of a set of crossing events anyway.