panel_base

sans.guiframe.panel_base

class sans.guiframe.panel_base.PanelBase

Defines the API for a panels to work with the ViewerFrame toolbar and menu bar

__init__()

Initialize some flag that Viewerframe used

__module__ = 'sans.guiframe.panel_base'
_set_bookmark_flag()

The derivative class sets the bookmark flag value to indicate that it can be bookmarked

_set_copy_flag()

The derivative class sets the copy flag value to indicate that the action done can be recovered

_set_drag_flag()

The derivative class sets the drag flag value to indicate that dragging motion is possible

_set_paste_flag()

The derivative class sets the paste flag value to indicate that the action done can be recovered

_set_preview_flag()

The derivative class sets the preview flag value to indicate that it can be previewed

_set_print_flag()

The derivative class sets the print flag value to indicate that it can be printed

_set_redo_flag()

The derivative class sets the redo flag value to indicate that the action done can be recovered

_set_reset_flag()

The derivative class sets the reset flag value to indicate that it can be reset

_set_save_flag()

The derivative class sets the drag flag value to indicate that it can be saved

_set_undo_flag()

The derivative class sets the undo flag value to indicate that the current action done can be canceled

_set_zoom_flag()

The derivative class sets the zoom flag value to indicate that it can be zoomed

_set_zoomed_in_flag()

The derivative class sets the zoom in flag value to indicate that it can be zoomed in

_set_zoomed_out_flag()

The derivative class sets the zoom out flag value to indicate that it can be zoomed out

get_bookmark_flag()

Get the bookmark flag to update appropriately the tool bar

get_copy_flag()

Get the copy flag to update appropriately the tool bar

get_data()

return list of current data

get_drag_flag()

Get the drag flag to update appropriately the tool bar

get_manager()
get_paste_flag()

Get the copy flag to update appropriately the tool bar

get_preview_flag()

Get the preview flag to update appropriately the tool bar

get_print_flag()

Get the print flag to update appropriately the tool bar

get_redo_flag()

Get the redo flag to update appropriately the tool bar

get_reset_flag()

Get the reset flag to update appropriately the tool bar

get_save_flag()

Get the save flag to update appropriately the tool bar

get_state()

return the current state

get_undo_flag()

Get the undo flag to update appropriately the tool bar

get_zoom_flag()

Get the zoom flag to update appropriately the tool bar

get_zoom_in_flag()

Get the zoom in flag to update appropriately the tool bar

get_zoom_out_flag()

Get the zoom out flag to update appropriately the tool bar

group_id = None
has_changed()
on_batch_selection()
Parameters:event – contains parameter enable . when enable is set to True

the application is in Batch mode else the application is default mode(single mode)

on_bookmark()

The derivative class is on bookmark mode if implemented

on_copy()

The copy action if possible

on_drag()

The derivative class allows dragging motion if implemented

on_kill_focus()

The derivative class is on unfocus if implemented

on_paste()

The paste action if possible

on_preview()

Display a printable version of the class derivative

on_redo()

The previous action is restored if possible

on_reset()

The derivative class state is restored

on_save()

The state of the derivative class is restored

on_set_focus()

The derivative class is on focus if implemented

on_tap_focus()

Update menu on clicking the panel tap

on_undo()

The current action is canceled

on_zoom()

The derivative class is on zoom mode (using pane) if zoom mode is implemented

on_zoom_in()

The derivative class is on zoom in mode if implemented

on_zoom_out()

The derivative class is on zoom out mode if implemented

save_project()

return an xml node containing state of the panel that guiframe can write to file

set_manager()
uid = None

Table Of Contents

Previous topic

gui_toolbar

Next topic

pdfview

This Page