| 1 | use Renard::Incunabula::Common::Setup; | ||
| 2 | package Intertangle::API::Gtk3::Types; | ||
| 3 | # ABSTRACT: Type library for Gtk3 | ||
| 4 | $Intertangle::API::Gtk3::Types::VERSION = '0.005'; | ||
| 5 | use Type::Library 0.008 -base, | ||
| 6 | -declare => [qw( | ||
| 7 | SizeRequest | ||
| 8 | )]; | ||
| 9 | use Type::Utils -all; | ||
| 10 | |||
| 11 | # Listed here so that scan-perl-deps can find them | ||
| 12 | use Types::Standard qw(Tuple); | ||
| 13 | use Types::Common::Numeric qw(PositiveInt); | ||
| 14 | |||
| 15 | declare "SizeRequest", | ||
| 16 | parent => Tuple[PositiveInt,PositiveInt]; | ||
| 17 | |||
| 18 | 1; | ||
| 19 | |||
| 20 | __END__ | ||
| 21 | |||
| 22 | =pod | ||
| 23 | |||
| 24 | =encoding UTF-8 | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Intertangle::API::Gtk3::Types - Type library for Gtk3 | ||
| 29 | |||
| 30 | =head1 VERSION | ||
| 31 | |||
| 32 | version 0.005 | ||
| 33 | |||
| 34 | =head1 EXTENDS | ||
| 35 | |||
| 36 | =over 4 | ||
| 37 | |||
| 38 | =item * L<Type::Library> | ||
| 39 | |||
| 40 | =back | ||
| 41 | |||
| 42 | =head1 TYPES | ||
| 43 | |||
| 44 | =head2 SizeRequest | ||
| 45 | |||
| 46 | A tuple that represents a size request for a widget. | ||
| 47 | |||
| 48 | =head1 AUTHOR | ||
| 49 | |||
| 50 | Zakariyya Mughal <zmughal@cpan.org> | ||
| 51 | |||
| 52 | =head1 COPYRIGHT AND LICENSE | ||
| 53 | |||
| 54 | This software is copyright (c) 2017 by Zakariyya Mughal. | ||
| 55 | |||
| 56 | This is free software; you can redistribute it and/or modify it under | ||
| 57 | the same terms as the Perl 5 programming language system itself. | ||
| 58 | |||
| 59 | =cut |