been filled in
StatusIcon.getGeometry
bool getGeometry(out gdk.screen.Screen screen, out gdk.rectangle.Rectangle area, out gtk.types.Orientation orientation)Obtains information about the location of the status icon on screen. This information can be used to e.g. position popups like notification bubbles.
See [gtk.status_icon.StatusIcon.positionMenu] for a more convenient alternative for positioning menus.
Note that some platforms do not allow GTK+ to provide this information, and even on platforms that do allow it, the information is not reliable unless the status icon is embedded in a notification area, see [gtk.status_icon.StatusIcon.isEmbedded].
Parameters
screen | return location for the screen, or null if the information is not needed |
area | return location for the area occupied by the status icon, or null |
orientation | return location for the orientation of the panel in which the status icon is embedded, or null. A panel at the top or bottom of the screen is horizontal, a panel at the left or right is vertical. |
Returns
true if the location information has
Deprecated
Use #GNotification and #GtkApplication to
provide status notifications; there is no direct replacement for this function, as the platform is responsible for the presentation of notifications