"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Pinta.Docking/DockNotebook.cs" between
pinta-2.0.tar.gz and pinta-2.0.1.tar.gz

About: Pinta is a powerful image drawing and editing program (modeled after Paint.NET).

DockNotebook.cs  (pinta-2.0):DockNotebook.cs  (pinta-2.0.1)
skipping to change at line 60 skipping to change at line 60
private bool enable_tabs = true; private bool enable_tabs = true;
public DockNotebook () public DockNotebook ()
{ {
// Emit an event when the current tab is changed. // Emit an event when the current tab is changed.
SwitchPage += (o, args) => { SwitchPage += (o, args) => {
var widget = args.Page; var widget = args.Page;
IDockNotebookItem? item = items.Where (i => i.Wid get == widget).FirstOrDefault (); IDockNotebookItem? item = items.Where (i => i.Wid get == widget).FirstOrDefault ();
ActiveTabChanged?.Invoke (this, new TabEventArgs (item)); ActiveTabChanged?.Invoke (this, new TabEventArgs (item));
}; };
Scrollable = true;
} }
/// <summary> /// <summary>
/// Emitted when a tab is closed by the user. /// Emitted when a tab is closed by the user.
/// </summary> /// </summary>
public event EventHandler<TabClosedEventArgs>? TabClosed; public event EventHandler<TabClosedEventArgs>? TabClosed;
/// <summary> /// <summary>
/// Emitted when switching to a different tab. /// Emitted when switching to a different tab.
/// </summary> /// </summary>
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)