Class FaceDialog4l
In: dialogs.rb
Parent: FXDialogBox

For 4 line referenced face

Methods

new   setdefault  

Attributes

csys  [RW] 
okButton  [RW] 
ref  [RW] 
reftext  [RW] 
selection  [RW] 

Public Class methods

[Source]

# File dialogs.rb, line 724
    def initialize(owner,title)
       super(owner, title)
       # Set up its contents
       frame1=FXVerticalFrame.new(self, LAYOUT_FILL_X|LAYOUT_FILL_Y)
       frame2 = FXHorizontalFrame.new(frame1, LAYOUT_FILL_X)
       frame3 = FXHorizontalFrame.new(frame1, LAYOUT_FILL_X)
       frame4 = FXHorizontalFrame.new(frame1, LAYOUT_FILL_X)
       # label
       FXLabel.new(frame2, "Do you want to create a face with the references below?", nil, LAYOUT_SIDE_BOTTOM|LAYOUT_CENTER_Y)
       @reftext = FXLabel.new(frame3, "csysX, lX, lX, lX and lX", nil, LAYOUT_SIDE_BOTTOM|LAYOUT_CENTER_Y)
       #buttons
       @okButton = FXButton.new(frame4, "  OK  ", nil, self, FXDialogBox::ID_ACCEPT,
         FRAME_RAISED|FRAME_THICK|LAYOUT_SIDE_RIGHT|LAYOUT_RIGHT|LAYOUT_CENTER_Y)
       FXButton.new(frame4, "Cancel", nil, self, FXDialogBox::ID_CANCEL,
         FRAME_RAISED|FRAME_THICK|LAYOUT_SIDE_RIGHT|LAYOUT_RIGHT|LAYOUT_CENTER_Y)
       # default values in text fields
    end

Public Instance methods

[Source]

# File dialogs.rb, line 741
   def setdefault
       # default values in text fields
   end

[Validate]