C# Class LongoMatch.Gui.Component.ToggleTopBar

Show file Open project: LongoMatch/longomatch

Public Methods

Method Description
AddButton ( Pixbuf icon, string text, string tooltiptext ) : void

Adds a button to the end of the button list. Each button has an icon and a text, and changes CurrentPage when clicked.

ToggleTopBar ( ) : System.Linq

Protected Methods

Method Description
Build ( ) : void

Private Methods

Method Description
SwitchPage ( int page ) : void

Method Details

AddButton() public method

Adds a button to the end of the button list. Each button has an icon and a text, and changes CurrentPage when clicked.
public AddButton ( Pixbuf icon, string text, string tooltiptext ) : void
icon Pixbuf Icon to show at the left of the button
text string Text to show at the right of the button
tooltiptext string Text to add to the button as tooltip
return void

Build() protected method

protected Build ( ) : void
return void

ToggleTopBar() public method

public ToggleTopBar ( ) : System.Linq
return System.Linq