Class: Rabbit::Renderer::Display::CommentDrawingArea
- Inherits:
-
Object
- Object
- Rabbit::Renderer::Display::CommentDrawingArea
- Extended by:
- Forwardable
- Includes:
- DrawingAreaBase
- Defined in:
- lib/rabbit/renderer/display/comment-drawing-area.rb
Constant Summary
Constants included from ButtonHandler
ButtonHandler::BUTTON_PRESS_ACCEPTING_TIME
Constants included from Mask
Constants included from DirtyCount
Constants included from GetText
Instance Attribute Summary collapse
-
#direction ⇒ Object
Returns the value of attribute direction.
Attributes included from DrawingAreaPrimitive
Attributes included from Base
#adjustment_x, #adjustment_y, #draw_scaled_image, #gl_quaternion, #gl_scale, #graffiti_color, #graffiti_line_width, #margin_bottom, #margin_left, #margin_right, #margin_top, #page_margin_bottom, #page_margin_left, #page_margin_right, #page_margin_top, #paper_height, #paper_width, #progress_background, #progress_foreground, #slides_per_page, #x_dpi, #y_dpi
Instance Method Summary collapse
- #clear_keys ⇒ Object
- #comment_frame_available? ⇒ Boolean
- #comment_view_available? ⇒ Boolean
- #height ⇒ Object
-
#initialize(canvas) ⇒ CommentDrawingArea
constructor
A new instance of CommentDrawingArea.
- #post_apply_theme ⇒ Object
- #post_init_gui ⇒ Object
- #post_toggle_index_mode ⇒ Object
- #showing_comment_frame? ⇒ Boolean
- #showing_comment_view? ⇒ Boolean
- #toggle_comment_frame ⇒ Object
- #toggle_comment_view ⇒ Object
- #update_comment(*args, &block) ⇒ Object
- #update_menu ⇒ Object
- #width ⇒ Object
Methods included from DrawingAreaBase
#attach_to, #cache_all_slides, #caching_all_slides, #confirm, #detach, #index_mode_off, #index_mode_on, #post_cache_all_slides, #post_fullscreen, #post_iconify, #post_move, #post_parse, #post_print, #post_to_pixbuf, #post_unfullscreen, #pre_cache_all_slides, #pre_parse, #pre_print, #pre_to_pixbuf, #pre_toggle_index_mode, #printing, #reload_source, #reload_theme, #reset_adjustment, #to_pixbufing, #toggle_blackout, #toggle_whiteout
Methods included from Magnifier
Methods included from Spotlight
Methods included from Info
#hide_info_window, #index_mode_off, #index_mode_on, #post_move, #show_info_window, #toggle_info_window
Methods included from KeyHandler
Methods included from Search
#search_slide, #searching?, #stop_slide_search
Methods included from Mask
#expand_hole, #narrow_hole, #set_hole
Methods included from Graffiti
Methods included from DrawingAreaPrimitive
#attach_to, #clear_slide, #detach, #display?, #index_mode_off, #index_mode_on, #post_fullscreen, #post_iconify, #post_move, #post_move_in_slide, #post_parse, #post_to_pixbuf, #post_unfullscreen, #pre_parse, #pre_to_pixbuf, #pre_toggle_index_mode, #to_pixbufing, #widget
Methods included from GL
#draw_cone, #draw_cube, #draw_dodecahedron, #draw_icosahedron, #draw_octahedron, #draw_slide, #draw_sphere, #draw_teapot, #draw_tetrahedron, #draw_torus, #gl_call_list, #gl_compile, #gl_supported?
Methods included from Base
#attach_to, #create_pango_context, #create_pango_layout, #detach, #make_layout, #redraw, #toggle_blackout, #toggle_whiteout, #update_title
Methods included from Base
#add_button_press_hook, #add_button_release_hook, #add_gesture_action, #add_motion_notify_hook, #add_scroll_hook, #blackouting?, #call_hook_procs, #can_undo_graffiti?, #change_graffiti_color, #clean, #clean_if_dirty, #clear_button_press_hook, #clear_button_release_hook, #clear_hooks, #clear_motion_notify_hook, #clear_scroll_hook, #clear_slide, #clear_theme, #confirm, #connect_key, #create_pango_context, #disconnect_key, #display?, #each_slide_pixbuf, #expand_hole, #font_families, #gl_available?, #graffiti_mode?, #have_graffiti?, #hiding?, #narrow_hole, #off_screen_canvas, #print, #printable?, #redraw, #reset_adjustment, #search_slide, #searching?, #setup_event, #stop_slide_search, #to_attrs, #toggle_blackout, #toggle_info_window, #toggle_spotlight, #toggle_whiteout, #whiteouting?
Methods included from DirtyCount
#bit_dirty, #dirty, #dirty?, #dirty_count_clean, #very_dirty
Methods included from GetText
N_, _, bindtextdomain, locale=
Constructor Details
#initialize(canvas) ⇒ CommentDrawingArea
Returns a new instance of CommentDrawingArea.
51 52 53 54 55 56 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 51 def initialize(canvas) super clear_pixbufs init_pixmap(1, 1) @direction = :right end |
Instance Attribute Details
#direction ⇒ Object
Returns the value of attribute direction.
41 42 43 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 41 def direction @direction end |
Instance Method Details
#clear_keys ⇒ Object
58 59 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 58 def clear_keys end |
#comment_frame_available? ⇒ Boolean
83 84 85 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 83 def comment_frame_available? false end |
#comment_view_available? ⇒ Boolean
87 88 89 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 87 def comment_view_available? false end |
#height ⇒ Object
47 48 49 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 47 def height original_width end |
#post_apply_theme ⇒ Object
64 65 66 67 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 64 def post_apply_theme clear_pixbufs super end |
#post_init_gui ⇒ Object
94 95 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 94 def post_init_gui end |
#post_toggle_index_mode ⇒ Object
97 98 99 100 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 97 def post_toggle_index_mode clear_pixbufs super end |
#showing_comment_frame? ⇒ Boolean
75 76 77 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 75 def showing_comment_frame? false end |
#showing_comment_view? ⇒ Boolean
79 80 81 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 79 def showing_comment_view? false end |
#toggle_comment_frame ⇒ Object
69 70 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 69 def toggle_comment_frame end |
#toggle_comment_view ⇒ Object
72 73 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 72 def toggle_comment_view end |
#update_comment(*args, &block) ⇒ Object
91 92 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 91 def update_comment(*args, &block) end |
#update_menu ⇒ Object
61 62 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 61 def end |
#width ⇒ Object
43 44 45 |
# File 'lib/rabbit/renderer/display/comment-drawing-area.rb', line 43 def width original_height end |