X11::XCB::Rect(3pm)

X11::XCB::Rect3pm

Represents a rectangle

Usage

  my $rect = X11::XCB::Rect->new(x => 0, y => 0, width => 300, height => 400);

But in most cases, you should be able to coerce a rect from an arrayref:

  my $window = $x->root->create_child(
    rect => [0, 0, 300, 300],
    class => WINDOW_CLASS_INPUT_OUTPUT,
  );

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From libx11-xcb-perl 0.22-1+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.