parameters: (self, *args)
docstring: Embedded File Save Dialog
docstring_summary: Embedded File Save Dialog
docstring_tokens: Embedded File Save Dialog
function: def embfile_save(self, *args):
          """Embedded File Save Dialog"""
          iter_insert = self.curr_buffer.get_iter_at_child_anchor(self.curr_file_anchor)
          iter_bound = iter_insert.copy()
          iter_bound.forward_char()
          filepath = support.dialog_file_save_as(filename=self.curr_file_anchor.pixbuf.filename,
              curr_folder=self.pick_dir_file,
              parent=self.window)
          if not filepath: return
          self.pick_dir_file = os.path.dirname(filepath)
          with open(filepath, 'wb') as fd:
              fd.write(self.curr_file_anchor.pixbuf.embfile)
function_tokens: def embfile_save ( self , * args ) : iter_insert = self . curr_buffer . get_iter_at_child_anchor ( self . curr_file_anchor ) iter_bound = iter_insert . copy ( ) iter_bound . forward_char ( ) filepath = support . dialog_file_save_as ( filename = self . curr_file_anchor . pixbuf . filename , curr_folder = self . pick_dir_file , parent = self . window ) if not filepath : return self . pick_dir_file = os . path . dirname ( filepath ) with open ( filepath , 'wb' ) as fd : fd . write ( self . curr_file_anchor . pixbuf . embfile )