NAME

Intertangle::API::Gtk3::Component::Role::FromBuilder - Role that loads a Glade UI file into a Gtk3::Builder

VERSION

version 0.007

DESCRIPTION

This role is used to load a Glade file into the builder attribute.

This role can be combined with Intertangle::API::Gtk3::Component::Role::UIFileFromPackageName so that the contents of the ui_file attribute are automatically populated based on the package that the role is being included in.

ATTRIBUTES

ui_file

A Str that contains the path to a Glade file to be loaded.

Consumers of this role must implement this.

builder

A Gtk3::Builder that contains the contents of the Glade file referenced in ui_file.

AUTHOR

Zakariyya Mughal <zmughal@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Zakariyya Mughal.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.