Method: APNGAsmGUI::EditorWindow#create_frame
- Defined in:
- lib/apngasm-gui/editor_window.rb
#create_frame(filename) ⇒ Object
278 279 280 281 282 283 |
# File 'lib/apngasm-gui/editor_window.rb', line 278 def create_frame(filename) frame = APNGAsmGUI::Frame.new(filename, @frame_list) @frame_list << frame $preview.set_pixbuf(frame.pixbuf) @frame_list.frame_hbox.pack_start(frame, expand: false, fill: false, padding: 10) end |