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

Gnome::Gtk4::T-widget

Record N-Requisition

class N-Requisition:auth<github:MARTIMM>:api<2> is export is repr('CStruct') {

  has gint $.width;
  has gint $.height;
}
  • width; the widget’s desired width

  • height; the widget’s desired height

Callback Functions

WidgetActionActivateFunc

Signature

:(  N-Object() $widget, Str $action-name, N-Object $parameter  )
  • widget; the widget to which the action belongs

  • action-name; the action name

  • parameter; parameter for activation

TickCallback

Signature

:(  N-Object() $widget, N-Object() $frame-clock, gpointer $user-data  )
  • widget; the widget

  • frame-clock; the frame clock for the widget (same as calling .get-frame-clock())

  • user-data; user data passed to .add-tick-callback().