summaryrefslogtreecommitdiff
path: root/gtk/gtkbubblewindow.c
Commit message (Collapse)AuthorAgeFilesLines
* Introduce GtkPopoverCarlos Garnacho2014-01-221-1086/+0
| | | | | Now that the GtkBubbleWindow object has been cleaned up and made more generic, rename it as GtkPopover and make it public.
* bubblewindow: Remove popup/popdown() APIsCarlos Garnacho2014-01-221-55/+3
| | | | | | Those functions aren't as useful anymore, hiding/showing can be controlled by setting the widget visibility, and grabbing can be achieved by performing a GTK+ grab.
* bubblewindow: Point to the entire widget area by defaultCarlos Garnacho2014-01-221-5/+20
| | | | | | This way pointing_to is not fully needed, unless you're pointing to an specific rectangle within the widget, passing NULL would unset the region too.
* bubblewindow: check the border-radius when rendering the bubble tail.Carlos Garnacho2014-01-221-4/+10
|
* bubblewindow: Improve overflow casesCarlos Garnacho2014-01-221-11/+13
| | | | | If the bubble window doesn't fit into one direction, it must lay at the other side of the pointed_to rectangle.
* bubblewindow: Make it relative to GtkWidget coordinatesCarlos Garnacho2014-01-221-34/+18
| | | | | | GdkWindows are gone now from the API, the pointed_to rectangle is from now on relative to the widget allocation. GtkTextView and GtkEntry were updated to adapt to this change.
* bubblewindow: Remove grab APICarlos Garnacho2014-01-221-149/+0
| | | | | | This is not as necessary now that bubble windows are popovers, if a modal behavior is wanted on popover contents, a GTK+ grab on the popover widget will suffice.
* bubblewindow: Turn into a GtkWindow popoverCarlos Garnacho2014-01-221-78/+116
| | | | | This way GtkBubbleWindows are rendered on top of all window content, without the need of a GDK_WINDOW_TEMP window.
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-6/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* GtkBubbleWindow: use OSD style classCosimo Cecchi2013-03-051-0/+3
|
* GtkBubbleWindow: rework how drawing is doneCosimo Cecchi2013-03-051-54/+217
| | | | | Use gtk_render_frame_gap(), refactoring the code fetching coordinates to be usable by it. This allows for rounded corners in the window shape.
* GtkBubbleWindow: allocate CSS borders and paddingsCosimo Cecchi2013-03-051-4/+37
|
* Really keep GtkBubbleWindow privateMatthias Clasen2013-03-051-122/+118
| | | | | _-prefix the symbols to keep them from leaking out. Also, un-doc-commentize the sources.
* Made GtkBubble/SelectionWindow private at the momentCarlos Garnacho2013-03-051-1/+1
|
* Fix includesMatthias Clasen2013-03-051-0/+2
| | | | | gtkbubblewindow.h was including gtk.h, which in turn included gtkselectionwindow.h, leading to build failure.
* GtkBubbleWindow: Use style border color to stroke the bubble shapeCarlos Garnacho2013-03-051-11/+44
| | | | This improves themeability a bit, corners are still square though...
* Add GtkBubbleWindowCarlos Garnacho2013-03-051-0/+1016
This popup window widget can be used for touch friendly context menus that point to a concrete area.