Module: Rabbit

Defined in:
lib/rabbit/size.rb,
lib/rabbit/keys.rb,
lib/rabbit/menu.rb,
lib/rabbit/error.rb,
lib/rabbit/frame.rb,
lib/rabbit/front.rb,
lib/rabbit/image.rb,
lib/rabbit/slide.rb,
lib/rabbit/stock.rb,
lib/rabbit/utils.rb,
lib/rabbit/action.rb,
lib/rabbit/canvas.rb,
lib/rabbit/config.rb,
lib/rabbit/logger.rb,
lib/rabbit/parser.rb,
lib/rabbit/rabbit.rb,
lib/rabbit/source.rb,
lib/rabbit/console.rb,
lib/rabbit/gettext.rb,
lib/rabbit/version.rb,
lib/rabbit/filename.rb,
lib/rabbit/progress.rb,
lib/rabbit/searcher.rb,
lib/rabbit/formatter.rb,
lib/rabbit/image/dia.rb,
lib/rabbit/image/eps.rb,
lib/rabbit/image/pdf.rb,
lib/rabbit/image/svg.rb,
lib/rabbit/parser/rd.rb,
lib/rabbit/parser/rd.rb,
lib/rabbit/soap/base.rb,
lib/rabbit/trackball.rb,
lib/rabbit/gem-finder.rb,
lib/rabbit/gem-pusher.rb,
lib/rabbit/image/base.rb,
lib/rabbit/image/gimp.rb,
lib/rabbit/logger/gui.rb,
lib/rabbit/parser/pdf.rb,
lib/rabbit/properties.rb,
lib/rabbit/slideshare.rb,
lib/rabbit/source/uri.rb,
lib/rabbit/task/slide.rb,
lib/rabbit/task/theme.rb,
lib/rabbit/element/tag.rb,
lib/rabbit/gem-builder.rb,
lib/rabbit/info-window.rb,
lib/rabbit/logger/base.rb,
lib/rabbit/parser/base.rb,
lib/rabbit/parser/wiki.rb,
lib/rabbit/parser/wiki.rb,
lib/rabbit/renderer/gl.rb,
lib/rabbit/soap/driver.rb,
lib/rabbit/soap/server.rb,
lib/rabbit/source/argf.rb,
lib/rabbit/source/base.rb,
lib/rabbit/source/file.rb,
lib/rabbit/theme/entry.rb,
lib/rabbit/xmlrpc/base.rb,
lib/rabbit/yaml-loader.rb,
lib/rabbit/action/basic.rb,
lib/rabbit/action/radio.rb,
lib/rabbit/element/base.rb,
lib/rabbit/element/text.rb,
lib/rabbit/pango-markup.rb,
lib/rabbit/parser/image.rb,
lib/rabbit/video-window.rb,
lib/rabbit/action/toggle.rb,
lib/rabbit/element/block.rb,
lib/rabbit/element/image.rb,
lib/rabbit/element/slide.rb,
lib/rabbit/element/table.rb,
lib/rabbit/element/video.rb,
lib/rabbit/image/default.rb,
lib/rabbit/logger/stderr.rb,
lib/rabbit/readme-parser.rb,
lib/rabbit/relative-size.rb,
lib/rabbit/renderer/base.rb,
lib/rabbit/search-window.rb,
lib/rabbit/source/memory.rb,
lib/rabbit/theme/applier.rb,
lib/rabbit/theme/manager.rb,
lib/rabbit/xmlrpc/client.rb,
lib/rabbit/xmlrpc/server.rb,
lib/rabbit/command/rabbit.rb,
lib/rabbit/cursor-manager.rb,
lib/rabbit/html/generator.rb,
lib/rabbit/parser/ext/tex.rb,
lib/rabbit/renderer/color.rb,
lib/rabbit/theme/searcher.rb,
lib/rabbit/gesture/handler.rb,
lib/rabbit/parser/markdown.rb,
lib/rabbit/parser/markdown.rb,
lib/rabbit/password-reader.rb,
lib/rabbit/renderer/kernel.rb,
lib/rabbit/renderer/screen.rb,
lib/rabbit/element/footnote.rb,
lib/rabbit/parser/ext/emacs.rb,
lib/rabbit/parser/ext/image.rb,
lib/rabbit/parser/ext/rouge.rb,
lib/rabbit/parser/ext/video.rb,
lib/rabbit/renderer/display.rb,
lib/rabbit/renderer/printer.rb,
lib/rabbit/source-generator.rb,
lib/rabbit/dependency-canvas.rb,
lib/rabbit/element/enum-list.rb,
lib/rabbit/element/item-list.rb,
lib/rabbit/gesture/processor.rb,
lib/rabbit/image-data-loader.rb,
lib/rabbit/parser/ext/charty.rb,
lib/rabbit/parser/ext/entity.rb,
lib/rabbit/parser/ext/escape.rb,
lib/rabbit/parser/ext/inline.rb,
lib/rabbit/parser/rd/visitor.rb,
lib/rabbit/graffiti/processor.rb,
lib/rabbit/parser/ext/coderay.rb,
lib/rabbit/parser/rd/ext/base.rb,
lib/rabbit/parser/wiki/output.rb,
lib/rabbit/path-manipulatable.rb,
lib/rabbit/renderer/offscreen.rb,
lib/rabbit/element/index-slide.rb,
lib/rabbit/element/method-list.rb,
lib/rabbit/element/title-slide.rb,
lib/rabbit/parser/ext/aafigure.rb,
lib/rabbit/parser/ext/enscript.rb,
lib/rabbit/parser/rd/ext/image.rb,
lib/rabbit/parser/rd/ext/refer.rb,
lib/rabbit/parser/rd/ext/video.rb,
lib/rabbit/renderer/display/gl.rb,
lib/rabbit/slide-configuration.rb,
lib/rabbit/source-generator/rd.rb,
lib/rabbit/theme-configuration.rb,
lib/rabbit/author-configuration.rb,
lib/rabbit/command/rabbit-slide.rb,
lib/rabbit/command/rabbit-theme.rb,
lib/rabbit/element/poppler-page.rb,
lib/rabbit/element/preformatted.rb,
lib/rabbit/element/text-element.rb,
lib/rabbit/parser/ext/blockdiag.rb,
lib/rabbit/parser/pause-support.rb,
lib/rabbit/element/block-element.rb,
lib/rabbit/element/poppler-slide.rb,
lib/rabbit/element/slide-element.rb,
lib/rabbit/element/text-renderer.rb,
lib/rabbit/renderer/display/base.rb,
lib/rabbit/renderer/display/info.rb,
lib/rabbit/renderer/display/mask.rb,
lib/rabbit/renderer/display/menu.rb,
lib/rabbit/renderer/engine/cairo.rb,
lib/rabbit/renderer/print-layout.rb,
lib/rabbit/source-generator/hiki.rb,
lib/rabbit/element/base/draw-hook.rb,
lib/rabbit/graffiti/config-dialog.rb,
lib/rabbit/parser/rd/rd2rabbit-lib.rb,
lib/rabbit/parser/rd/rd2rabbit-lib.rb,
lib/rabbit/renderer/display/cursor.rb,
lib/rabbit/renderer/display/search.rb,
lib/rabbit/element/description-list.rb,
lib/rabbit/renderer/display/gesture.rb,
lib/rabbit/element/container-element.rb,
lib/rabbit/element/image-title-slide.rb,
lib/rabbit/parser/markdown/converter.rb,
lib/rabbit/renderer/display/graffiti.rb,
lib/rabbit/renderer/display/progress.rb,
lib/rabbit/source-generator/markdown.rb,
lib/rabbit/element/text-block-element.rb,
lib/rabbit/parser/rd/rt/rt2rabbit-lib.rb,
lib/rabbit/renderer/display/magnifier.rb,
lib/rabbit/renderer/display/spotlight.rb,
lib/rabbit/element/poppler-title-slide.rb,
lib/rabbit/element/syntax-highlighting.rb,
lib/rabbit/parser/rd/ext/block-verbatim.rb,
lib/rabbit/renderer/display/key-handler.rb,
lib/rabbit/renderer/widget/drawing-area.rb,
lib/rabbit/parser/rd/ext/inline-verbatim.rb,
lib/rabbit/renderer/display/drawing-area.rb,
lib/rabbit/renderer/display/hook-handler.rb,
lib/rabbit/element/text-container-element.rb,
lib/rabbit/renderer/display/clutter-embed.rb,
lib/rabbit/renderer/display/button-handler.rb,
lib/rabbit/renderer/display/scroll-handler.rb,
lib/rabbit/parser/rd/ext/character-reference.rb,
lib/rabbit/renderer/display/drawing-area-base.rb,
lib/rabbit/renderer/display/drawing-area-primitive.rb,
lib/rabbit/renderer/display/drawing-area-view-only.rb

Overview

Copyright (C) 2012 Kouhei Sutou <[email protected]>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Defined Under Namespace

Modules: Action, Command, Config, Converter, DirtyCount, Element, Format, Gesture, GetText, Graffiti, HTML, ImageManipulable, Keys, Logger, ModuleLoader, Parser, PathManipulatable, Renderer, SOAP, ScreenInfo, Source, SourceGenerator, Stock, SystemRunner, Task, TemporaryFile, Theme, TrackBall, Utils, XMLRPC Classes: AAFigureCanNotHandleError, ApplyFinish, AuthorConfiguration, BlockDiagCanNotHandleError, CantAllocateColorError, CantFindHTMLTemplate, CantFindThemeRDTemplate, Canvas, Console, CursorManager, DependencyCanvas, DiaCanNotHandleError, EPSCanNotHandleError, EmbedFrame, Error, Filename, Frame, Front, GIMPCanNotHandleError, GemBuilder, GemFinder, GemPusher, ImageDataLoader, ImageFileDoesNotExistError, ImageLoadError, ImageLoadWithExternalCommandError, ImageLoader, ImmutableSourceTypeError, InfoWindow, InvalidMotionError, InvalidSizeError, Menu, NoPrintSupportError, NotAvailableInterfaceError, NotExistError, NotFileError, NotReadableError, NullFrame, PangoMarkup, ParseError, ParseFinish, PasswordReader, Progress, Properties, READMEParser, RT2RabbitVisitor, RelativeSize, SearchWindow, Searcher, Size, Slide, SlideConfiguration, SourceUnreadableError, TeXCanNotHandleError, ThemeConfiguration, ThemeExit, UnknownCursorTypeError, UnknownPropertyError, UnsupportedFormatError, VideoWindow, YAMLLoader

Constant Summary collapse

TMP_DIR_NAME =
".tmp"
VERSION =
"3.0.1"
@@application =
nil
@@gui_init_procs =
[]
@@cleanup_procs =
[]

Class Method Summary collapse

Class Method Details

.applicationObject


34
35
36
37
38
# File 'lib/rabbit/rabbit.rb', line 34

def application
  @@application ||=
    Gtk::Application.new("org.rabbit-shocker.Rabbit",
                         [:non_unique, :handles_command_line])
end