The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Renard::Incunabula::Frontend::Gtk3::Component::Role::FromBuilder - Role that loads a Glade UI file into a Gtk3::Builder

VERSION

version 0.003

DESCRIPTION

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

This role can be combined with Renard::Incunabula::Frontend::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

Project Renard

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Project Renard.

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