Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使Popover出现在应用程序窗口之外,例如 gnome-shell 面板中的菜单?还是我应该使用另一个 GTK 小部件?
这应该是可能的(至少在 Wayland 上)。gtk_popover_set_constrain_to (GtkPopover *popover, GtkPopoverConstraint 约束); “GTK_POPOVER_CONSTRAINT_NONE”
和
gtk_popover_set_pointing_to (GtkPopover *popover, const GdkRectangle *rect);