About all my projects
Gnome::Gtk4::T-customlayout

Gnome::Gtk4::T-customlayout

Callback Functions

CustomRequestModeFunc

Signature

:(  N-Object() $widget  )
  • widget; the widget to be queried

CustomMeasureFunc

Signature

:(  N-Object() $widget, GEnum $orientation, Int() $for-size, Array[Int] $minimum, Array[Int] $natural, Array[Int] $minimum-baseline, Array[Int] $natural-baseline  )
  • widget; the widget to be measured

  • orientation; the direction to be measured

  • for-size; the size to be measured for

  • minimum; the measured minimum size of the widget

  • natural; the measured natural size of the widget

  • minimum-baseline; the measured minimum baseline of the widget

  • natural-baseline; the measured natural baseline of the widget

CustomAllocateFunc

Signature

:(  N-Object() $widget, Int() $width, Int() $height, Int() $baseline  )
  • widget; the widget to allocate

  • width; the new width of the widget

  • height; the new height of the widget

  • baseline; the new baseline of the widget, or -1