module Gdk::Popup
Overview
A Gdk::Popup
is a surface that is attached to another surface.
The Gdk::Popup
is positioned relative to its parent surface.
Gdk::Popup
s are typically used to implement menus and similar popups.
They can be modal, which is indicated by the Gdk::Popup::autohide
property.
Defined in:
lib/gi-crystal/src/auto/gdk-4.0/popup.crClass Method Summary
Instance Method Summary
- #autohide : Bool
- #autohide=(value : Bool) : Bool
- #autohide? : Bool
- #parent : Gdk::Surface?
- #parent=(value : Gdk::Surface?) : Gdk::Surface?
- #position_x : Int32
- #position_y : Int32
- #present(width : Int32, height : Int32, layout : Gdk::PopupLayout) : Bool
- #rect_anchor : Gdk::Gravity
- #surface_anchor : Gdk::Gravity
- #to_unsafe