summaryrefslogtreecommitdiff
path: root/gtk/gtkpopoverprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* popover: Implement auto mnemonicsMatthias Clasen2020-03-251-0/+2
| | | | | | | | Unfortunately, this involves copying a bunch of code from gtkwindow.c. The only difference here is that we add a private method to turn this off, which will be used by GtkPopoverMenu to implement its own auto mnemonics.
* Reimplement GtkPopoverMatthias Clasen2019-05-281-2/+0
|
* popover: Add a contents nodeTimm Bäder2017-07-191-0/+2
| | | | | | | | Remove the special case in gtkwidget.c where we didn't draw any css background/border for popovers. Instead, rely on themes to not style the popover node and add a contents gizmo that gets the actual css styling. We then requeste enough space for the popover to draw both the contents and the arrow on the side.
* window: Update popover positions on ::size-allocateCarlos Garnacho2014-08-031-0/+29
| | | | | | | | Popovers may get relocations optimized away if only x/y changed in the GtkAllocation. So make sure the toplevel updates popover positions on all situations. https://bugzilla.gnome.org/show_bug.cgi?id=729140
* popover: Always apply the window shapeCarlos Garnacho2014-02-201-26/+0
| | | | | | | | | | | | | In practice this shape is only used to outline the popover when it is above native windows, in the most normal full-csw case the shape won't apply visibly, so popovers will still be able to cast a shadow there. If there are native windows below the popover, the shape will exclude the shadow, so there are no alpha contents above the window. One worst case that might happen is that the popover lays above patches of native/client-side windows, so the shadow could come and go around the border. But first let's see whether that happens often or visibly enough before adding something more convoluted.
* Trivial coding style cleanupsMatthias Clasen2014-02-091-1/+1
|
* popover: Add private _gtk_popover_set_apply_shape() callCarlos Garnacho2014-02-041-0/+26
Popovers no longer sets a shape, unless this function is called. This function exists so widgets that are potentially placed on top of other native windows can get a popover that's nicely shaped, even if it has no border shadow around. https://bugzilla.gnome.org/show_bug.cgi?id=723556