C# Class GenericWindow, chronojump

Show file Open project: GNOME/chronojump Class Usage Examples

Public Properties

Property Type Description
DestroyOnAccept bool
HideOnAccept bool
TreeviewSelectedUniqueID int
Type Types,
nameUntranslated string
uniqueID int

Public Methods

Method Description
AddOptionsToComboCheckBoxesOptions ( ArrayList newOptions ) : void
CreateComboCheckBoxes ( ) : void
Delete_row_accepted ( ) : void
DeletingExerciseHideSomeWidgets ( ) : void
GenericWindow ( string textHeader ) : System
GenericWindowBoxIsNull ( ) : bool
GetCell ( int uniqueID, int column ) : int
GetCheckboxStatus ( int uniqueID ) : bool
GetColumn ( int column, bool onlyActive ) : string[]
HideAndNull ( ) : void
MarkActiveCurves ( string checkboxes ) : void
RemoveSelectedRow ( ) : void
ResetComboCheckBoxesOptions ( ) : void
Row_add ( string row ) : void
SelectRowWithID ( int colNum, int id ) : void
SetButtonAcceptLabel ( string str ) : void
SetButtonAcceptSensitive ( bool show ) : void
SetButtonCancelLabel ( string str ) : void
SetButtonMiddleLabel ( string str ) : void
SetComboLabel ( string l ) : void
SetComboValues ( string values, string current ) : void
SetLabelError ( string text ) : void
SetSize ( int width, int height ) : void
SetSpin2Range ( int min, int max ) : void
SetSpin2Value ( int num ) : void
SetSpin3Range ( int min, int max ) : void
SetSpin3Value ( int num ) : void
SetSpinDouble2Increments ( double min, double max ) : void
SetSpinDouble2Range ( double min, double max ) : void
SetSpinDouble2Value ( double num ) : void
SetSpinRange ( double min, double max ) : void
SetSpinRange ( int min, int max ) : void
SetSpinValue ( int num ) : void
SetTextview ( string str ) : void
SetTreeview ( string columnsString, bool addCheckbox, ArrayList data, ArrayList myNonSensitiveRows, Constants, contextMenu, bool activateRowAcceptsWindow ) : void
SetTreeviewSize ( int width, int height ) : void
Show ( bool showNow, string textHeader, ArrayList array ) : GenericWindow,
Show ( string textHeader, Constants, stuff ) : GenericWindow,
ShowButtonCancel ( bool show ) : void
ShowButtonDelete ( bool show ) : void
ShowEditRow ( bool show ) : void
ShowNow ( ) : void
ShowTextview ( ) : void
ShowTreeview ( ) : void
TreeviewSelectedRowID ( ) : int
hideWidgets ( ) : void
on_edit_selected_done_update_treeview ( ) : void
on_row_double_clicked ( object o, Gtk args ) : void
showWidget ( Constants, stuff ) : void
showWidgetsPowerful ( ArrayList widgetArray ) : void

Private Methods

Method Description
ItemToggled ( object o, Gtk.ToggledArgs args ) : void
createCheckboxes ( TreeView tv ) : void
getStore ( int columns, bool addCheckbox ) : TreeStore
markSelected ( string selected ) : void
on_button_accept_clicked ( object o, EventArgs args ) : void
on_button_cancel_clicked ( object o, EventArgs args ) : void
on_combo_all_none_selected_changed ( object o, EventArgs args ) : void
on_delete_event ( object o, Gtk.DeleteEventArgs args ) : void
on_delete_selected_clicked ( object o, EventArgs args ) : void
on_edit_selected_clicked ( object o, EventArgs args ) : void
on_treeview_button_release_event ( object o, Gtk.ButtonReleaseEventArgs args ) : void
on_treeview_cursor_changed ( object o, EventArgs args ) : void
prepareHeaders ( string columnsString, bool addCheckbox ) : void
treeviewContextMenu ( ) : void
treeviewRemoveColumns ( ) : void

Method Details

AddOptionsToComboCheckBoxesOptions() public method

public AddOptionsToComboCheckBoxesOptions ( ArrayList newOptions ) : void
newOptions ArrayList
return void

CreateComboCheckBoxes() public method

public CreateComboCheckBoxes ( ) : void
return void

Delete_row_accepted() public method

public Delete_row_accepted ( ) : void
return void

DeletingExerciseHideSomeWidgets() public method

public DeletingExerciseHideSomeWidgets ( ) : void
return void

GenericWindow() public method

public GenericWindow ( string textHeader ) : System
textHeader string
return System

GenericWindowBoxIsNull() public method

public GenericWindowBoxIsNull ( ) : bool
return bool

GetCell() public method

public GetCell ( int uniqueID, int column ) : int
uniqueID int
column int
return int

GetCheckboxStatus() public method

public GetCheckboxStatus ( int uniqueID ) : bool
uniqueID int
return bool

GetColumn() public method

public GetColumn ( int column, bool onlyActive ) : string[]
column int
onlyActive bool
return string[]

HideAndNull() public method

public HideAndNull ( ) : void
return void

MarkActiveCurves() public method

public MarkActiveCurves ( string checkboxes ) : void
checkboxes string
return void

RemoveSelectedRow() public method

public RemoveSelectedRow ( ) : void
return void

ResetComboCheckBoxesOptions() public method

public ResetComboCheckBoxesOptions ( ) : void
return void

Row_add() public method

public Row_add ( string row ) : void
row string
return void

SelectRowWithID() public method

public SelectRowWithID ( int colNum, int id ) : void
colNum int
id int
return void

SetButtonAcceptLabel() public method

public SetButtonAcceptLabel ( string str ) : void
str string
return void

SetButtonAcceptSensitive() public method

public SetButtonAcceptSensitive ( bool show ) : void
show bool
return void

SetButtonCancelLabel() public method

public SetButtonCancelLabel ( string str ) : void
str string
return void

SetButtonMiddleLabel() public method

public SetButtonMiddleLabel ( string str ) : void
str string
return void

SetComboLabel() public method

public SetComboLabel ( string l ) : void
l string
return void

SetComboValues() public method

public SetComboValues ( string values, string current ) : void
values string
current string
return void

SetLabelError() public method

public SetLabelError ( string text ) : void
text string
return void

SetSize() public method

public SetSize ( int width, int height ) : void
width int
height int
return void

SetSpin2Range() public method

public SetSpin2Range ( int min, int max ) : void
min int
max int
return void

SetSpin2Value() public method

public SetSpin2Value ( int num ) : void
num int
return void

SetSpin3Range() public method

public SetSpin3Range ( int min, int max ) : void
min int
max int
return void

SetSpin3Value() public method

public SetSpin3Value ( int num ) : void
num int
return void

SetSpinDouble2Increments() public method

public SetSpinDouble2Increments ( double min, double max ) : void
min double
max double
return void

SetSpinDouble2Range() public method

public SetSpinDouble2Range ( double min, double max ) : void
min double
max double
return void

SetSpinDouble2Value() public method

public SetSpinDouble2Value ( double num ) : void
num double
return void

SetSpinRange() public method

public SetSpinRange ( double min, double max ) : void
min double
max double
return void

SetSpinRange() public method

public SetSpinRange ( int min, int max ) : void
min int
max int
return void

SetSpinValue() public method

public SetSpinValue ( int num ) : void
num int
return void

SetTextview() public method

public SetTextview ( string str ) : void
str string
return void

SetTreeview() public method

public SetTreeview ( string columnsString, bool addCheckbox, ArrayList data, ArrayList myNonSensitiveRows, Constants, contextMenu, bool activateRowAcceptsWindow ) : void
columnsString string
addCheckbox bool
data ArrayList
myNonSensitiveRows ArrayList
contextMenu Constants,
activateRowAcceptsWindow bool
return void

SetTreeviewSize() public method

public SetTreeviewSize ( int width, int height ) : void
width int
height int
return void

Show() public static method

public static Show ( bool showNow, string textHeader, ArrayList array ) : GenericWindow,
showNow bool
textHeader string
array ArrayList
return GenericWindow,

Show() public static method

public static Show ( string textHeader, Constants, stuff ) : GenericWindow,
textHeader string
stuff Constants,
return GenericWindow,

ShowButtonCancel() public method

public ShowButtonCancel ( bool show ) : void
show bool
return void

ShowButtonDelete() public method

public ShowButtonDelete ( bool show ) : void
show bool
return void

ShowEditRow() public method

public ShowEditRow ( bool show ) : void
show bool
return void

ShowNow() public method

public ShowNow ( ) : void
return void

ShowTextview() public method

public ShowTextview ( ) : void
return void

ShowTreeview() public method

public ShowTreeview ( ) : void
return void

TreeviewSelectedRowID() public method

public TreeviewSelectedRowID ( ) : int
return int

hideWidgets() public method

public hideWidgets ( ) : void
return void

on_edit_selected_done_update_treeview() public method

public on_edit_selected_done_update_treeview ( ) : void
return void

on_row_double_clicked() public method

public on_row_double_clicked ( object o, Gtk args ) : void
o object
args Gtk
return void

showWidget() public method

public showWidget ( Constants, stuff ) : void
stuff Constants,
return void

showWidgetsPowerful() public method

public showWidgetsPowerful ( ArrayList widgetArray ) : void
widgetArray ArrayList
return void

Property Details

DestroyOnAccept public property

public bool DestroyOnAccept
return bool

HideOnAccept public property

public bool HideOnAccept
return bool

TreeviewSelectedUniqueID public property

public int TreeviewSelectedUniqueID
return int

Type public property

public Types, Type
return Types,

nameUntranslated public property

public string nameUntranslated
return string

uniqueID public property

public int uniqueID
return int