Gjsify LogoGjsify Logo

Hierarchy

  • MenuPositionFunc

Callable

  • MenuPositionFunc(menu: Gtk.Menu, x: number, y: number): void
  • A user function supplied when calling gtk_menu_popup() which controls the positioning of the menu when it is displayed. The function sets the x and y parameters to the coordinates where the menu is to be drawn. To make the menu appear on a different monitor than the mouse pointer, gtk_menu_set_monitor() must be called.

    Parameters

    • menu: Gtk.Menu

      a #GtkMenu.

    • x: number

      address of the #gint representing the horizontal position where the menu shall be drawn.

    • y: number

      address of the #gint representing the vertical position where the menu shall be drawn. This is an output parameter.

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method