Class: PdfParadise::FOX::SplitPdfFile

Inherits:
Fox::FXMainWindow
  • Object
show all
Defined in:
lib/pdf_paradise/gui/fox/split_pdf_file.rb

Overview

PdfParadise::FOX::SplitPdfFile

Instance Method Summary collapse

Constructor Details

#initialize(i) ⇒ SplitPdfFile

#

initialize

#


29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'lib/pdf_paradise/gui/fox/split_pdf_file.rb', line 29

def initialize(i)
  super(
    i,
    'Split Pdf',
    width: 500, height: 250
  )
  # ======================================================================= #
  # Separator
  # ======================================================================= #
  Fox::FXVerticalSeparator.new(self,
    Fox::LAYOUT_SIDE_RIGHT|Fox::LAYOUT_FILL_Y|Fox::SEPARATOR_GROOVE)
  statusbar = Fox::FXStatusBar.new(self,
    Fox::LAYOUT_SIDE_BOTTOM|Fox::LAYOUT_FILL_X|Fox::STATUSBAR_WITH_DRAGCORNER
  )
  buttons  = Fox::FXHorizontalFrame.new(self, Fox::LAYOUT_SIDE_BOTTOM|Fox::LAYOUT_FILL_X|Fox::PACK_UNIFORM_WIDTH)
  button2 = Fox::FXButton.new(buttons, 'Input the 1')
  button2.connect(Fox::SEL_COMMAND) {|sender, selector, event|
    e 'HMM'
  }
  button3 = Fox::FXButton.new(buttons, '2')
  button4 = Fox::FXButton.new(buttons, '3')
end

Instance Method Details

#createObject

#

create

#


55
56
57
58
# File 'lib/pdf_paradise/gui/fox/split_pdf_file.rb', line 55

def create
  super
  show(Fox::PLACEMENT_SCREEN)
end