Author image Zakariyya Mughal
and 4 contributors

NAME

Renard::Curie::Component::PageDrawingArea::Role::NavigationButtons - A role for the navigation buttons

VERSION

version 0.005

METHODS

setup_button_events

  method setup_button_events()

Sets up the signals for the navigational buttons.

set_navigation_buttons_sensitivity

  set_navigation_buttons_sensitivity()

Enables and disables forward and back navigation buttons when at the end and start of the document respectively.

CALLBACKS

on_clicked_button_first_cb

  callback on_clicked_button_first_cb($button, $self)

Callback for when the "First" button is pressed. See "set_current_page_to_first".

on_clicked_button_last_cb

  callback on_clicked_button_last_cb($button, $self)

Callback for when the "Last" button is pressed. See "set_current_page_to_last".

on_clicked_button_forward_cb

  callback on_clicked_button_forward_cb($button, $self)

Callback for when the "Forward" button is pressed. See "set_current_page_forward".

on_clicked_button_back_cb

  callback on_clicked_button_back_cb($button, $self)

Callback for when the "Back" button is pressed. See "set_current_page_back".

AUTHOR

Project Renard

COPYRIGHT AND LICENSE

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.