Renard::Curie::Component::MenuBar - Component that provides a menu bar for the application
version 0.005
Moo::Object
Intertangle::API::Gtk3::Component::Role::FromBuilder
Intertangle::API::Gtk3::Component::Role::UIFileFromPackageName
Renard::Curie::Component::Role::HasParentMainWindow
A lazy attribute that holds the default instance of Gtk3::RecentManager.
Instance of Gtk3::RecentChooserMenu which is placed under the <File - Recent files>> sub-menu.
<File -
The view manager model for this application.
method BUILD
Initialises the menu bar signals.
callback on_menu_file_open_activate_cb($event, $self)
Callback for the File -> Open menu item.
File -> Open
callback on_menu_file_properties_activate_cb($event, $self) {
Callback for the File -> Properties menu item.
File -> Properties
callback on_menu_file_quit_activate_cb($event, $self)
Callback for the File -> Quit menu item.
File -> Quit
callback on_menu_file_recentfiles_item_activated_cb( (InstanceOf['Gtk3::RecentChooserMenu']) $recent_chooser, $self )
Callback for items under the File -> Recent files sub-menu.
File -> Recent files
callback on_menu_help_logwin_activate_cb($event, $self)
Callback for Help -> Message log menu item.
Help -> Message log
Displays the Message log window.
Callback for View -> Continuous menu item.
View -> Continuous
Toggles the view between a continuous page view and single page view.
Callback for the View -> Sidebar menu item.
View -> Sidebar
This toggles whether or not the outline sidebar is visible.
Callback for zoom level menu items under the View -> Zoom submenu.
View -> Zoom
callback on_menu_view_zoom_item_activate_cb($event, $data)
where $data is an ArrayRef that contains [ $self, $zoom_level ].
$data
ArrayRef
[ $self, $zoom_level ]
Callback for number of columns menu items under the View -> Columns submenu.
View -> Columns
callback on_menu_view_column_item_activate_cb($event, $data)
where $data is an ArrayRef that contains [ $self, $number_of_columns ].
[ $self, $number_of_columns ]
Project Renard
This software is copyright (c) 2016 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.
To install Renard::Curie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Renard::Curie
CPAN shell
perl -MCPAN -e shell install Renard::Curie
For more information on module installation, please visit the detailed CPAN module installation guide.