C# Class LongoMatch.Gui.Component.MediaFileSetSelection

Inheritance: Gtk.Bin
ファイルを表示 Open project: LongoMatch/longomatch

Public Methods

Method Description
MediaFileSetSelection ( bool editable = true ) : System

Private Methods

Method Description
AddMediaFileChooser ( System.MediaFile mediaFile ) : void

Add a media file chooser with given name.

AddMediaFileChooser ( String name, System.MediaFile mediaFile = null ) : void

Add a media file chooser with given name. If name is null pick a name automatically avoiding duplicates.

HandleChooserAllocated ( object sender, EventArgs e ) : void
HandleFileChangedEvent ( object sender, EventArgs e ) : void
ScrollToBottom ( ) : void

Forces a scroll to bottom of our scrolled window. This is useful for the user to access easily the latest entry field.

UpdateEditableFileSet ( ) : void

Editable FileSet will just clear the set and recreate from the choosers. It will also figure out if some choosers should be removed or added to allow more files to come in.

UpdateFileSet ( ) : void

Here we just map 1 to 1 from the choosers list to our set. We make sure to use Replace method on the set to preserve important metadata.

Method Details

MediaFileSetSelection() public method

public MediaFileSetSelection ( bool editable = true ) : System
editable bool
return System