Method

GdkWindowshow_window_menu

since: 3.14

Declaration [src]

gboolean
gdk_window_show_window_menu (
  GdkWindow* window,
  GdkEvent* event
)

Description [src]

Asks the windowing system to show the window menu. The window menu is the menu shown when right-clicking the titlebar on traditional windows managed by the window manager. This is useful for windows using client-side decorations, activating it with a right-click on the window decorations.

Available since: 3.14

Parameters

event

Type: GdkEvent

A GdkEvent to show the menu for.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the window menu was shown and FALSE otherwise.