Class: PDFWalker::Walker::Properties
- Inherits:
-
Dialog
- Object
- Dialog
- PDFWalker::Walker::Properties
- Defined in:
- lib/pdfwalker/properties.rb
Constant Summary collapse
- @@acrobat_versions =
{ 1.0 => "1.x", 1.1 => "2.x", 1.2 => "3.x", 1.3 => "4.x", 1.4 => "5.x", 1.5 => "6.x", 1.6 => "7.x", 1.7 => "8.x / 9.x / 10.x" }
Instance Method Summary collapse
-
#initialize(parent, pdf) ⇒ Properties
constructor
A new instance of Properties.
Constructor Details
#initialize(parent, pdf) ⇒ Properties
Returns a new instance of Properties.
45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/pdfwalker/properties.rb', line 45 def initialize(parent, pdf) super("Document properties", parent, Dialog::MODAL, [Stock::CLOSE, Dialog::RESPONSE_NONE]) file_frame = create_file_frame(parent) pdf_frame = create_document_frame(pdf) vbox.add(file_frame) vbox.add(pdf_frame) signal_connect('response') { destroy } show_all end |