mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
popover: Clarify docs
gtk_popover_present() is a misleadingly named function, so at least give it clear docs that tell people to use gtk_popover_popup() instead.
This commit is contained in:
parent
6f7a4b67c2
commit
5df9f4016e
@ -598,7 +598,13 @@ present_popup (GtkPopover *popover)
|
||||
* gtk_popover_present:
|
||||
* @popover: a `GtkPopover`
|
||||
*
|
||||
* Presents the popover to the user.
|
||||
* Allocate a size for the `GtkPopover`.
|
||||
*
|
||||
* This function needs to be called in size-allocate by widgets
|
||||
* who have a `GtkPopover` as child. When using a layout manager,
|
||||
* this is happening automatically.
|
||||
*
|
||||
* To make a popover appear on screen, use [method@Gtk.Popover.popup].
|
||||
*/
|
||||
void
|
||||
gtk_popover_present (GtkPopover *popover)
|
||||
|
Loading…
Reference in New Issue
Block a user