Class: Watobo::Gui::CreateActionDlg
- Inherits:
-
FXDialogBox
- Object
- FXDialogBox
- Watobo::Gui::CreateActionDlg
- Defined in:
- lib/watobo/gui/fuzzer_gui.rb
Instance Method Summary collapse
- #getAction ⇒ Object
-
#initialize(owner) ⇒ CreateActionDlg
constructor
A new instance of CreateActionDlg.
Constructor Details
#initialize(owner) ⇒ CreateActionDlg
Returns a new instance of CreateActionDlg.
172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 172 def initialize(owner) super(owner, "Create Action", DECOR_TITLE|DECOR_BORDER, :width => 300, :height => 500) main = FXVerticalFrame.new(self, :opts => LAYOUT_FILL_X|LAYOUT_FILL_Y) @actionSelection = ActionSelect.new(main, self, :opts => LAYOUT_FILL_X|LAYOUT_FILL_Y|FRAME_NONE, :padding => 0) = FXHorizontalFrame.new(main, :opts => LAYOUT_SIDE_BOTTOM|LAYOUT_FILL_X|PACK_UNIFORM_WIDTH,:padLeft => 40, :padRight => 40, :padTop => 20, :padBottom => 20) # Accept accept = FXButton.new(, "&Accept", nil, self, ID_ACCEPT, FRAME_RAISED|FRAME_THICK|LAYOUT_RIGHT|LAYOUT_CENTER_Y) # Cancel FXButton.new(, "&Cancel", nil, self, ID_CANCEL, FRAME_RAISED|FRAME_THICK|LAYOUT_RIGHT|LAYOUT_CENTER_Y) end |
Instance Method Details
#getAction ⇒ Object
168 169 170 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 168 def getAction() return @actionSelection.createAction() end |