Method

Gdk.Toplevel.show_window_menu

Declaration [src]

gboolean
gdk_toplevel_show_window_menu (
  GdkToplevel* toplevel,
  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.

Parameters

event GdkEvent
 

a GdkEvent to show the menu for

 Ownership is not transferred to the callee

Return value

Returns: gboolean

TRUE if the window menu was shown and FALSE otherwise.