?? type_gwidgetgrid.html
字號:
<html><head><title>Generated Documentation</title></head><body> <image src="headerimage.png"> <br><br><table><tr><td><big><big><big style="font-family: arial;"><b>GWidgetGrid</b></big></big></big><br>extends <a href="type_GWidgetGroupWithCanvas.html">GWidgetGroupWithCanvas</a><br></td><td></td></tr></table><br><br><big><big><i>Constructors (public)</i></big></big><br><div style="margin-left: 40px;"><big><b>GWidgetGrid</b></big>(<a href="type_GWidgetGroup.html">GWidgetGroup</a>* pParent, <a href="type_GPointerArray.html">GPointerArray</a>* pItems, int nColumns, int x, int y, int w, int h)<br><div style="margin-left: 80px;"><font color=brown> Takes ownership of pItems</font></div><br></div><br><big><big><i>Destructors</i></big></big><br><div style="margin-left: 40px;"><big><b>~GWidgetGrid</b></big>()<br></div><br><big><big><i>Virtual (public)</i></big></big><br><div style="margin-left: 40px;"><a href="type_GWidgetAtomic.html">GWidgetAtomic</a>* <big><b>FindAtomicWidget</b></big>(int* x, int y)<br>void <big><b>OnHorizScroll</b></big>(<a href="type_GWidgetHorizScrollBar.html">GWidgetHorizScrollBar</a>* pScrollBar)<br><div style="margin-left: 80px;"><font color=brown> for internal implementation</font></div><br>void <big><b>OnVertScroll</b></big>(<a href="type_GWidgetVertScrollBar.html">GWidgetVertScrollBar</a>* pScrollBar)<br><div style="margin-left: 80px;"><font color=brown> for internal implementation</font></div><br></div><br><big><big><i>Virtual (non-public)</i></big></big><br><div style="margin-left: 40px;">void <big><b>Update</b></big>()<br></div><br><big><big><i>Public</i></big></big><br><div style="margin-left: 40px;">void <big><b>AddBlankRow</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Adds an empty row to the grid</font></div><br>void <big><b>FlushItems</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Redraws the cell. It doesn't tell the widget in that cell to redraw itself, so you should do that before calling UpdateCell.void UpdateCell(int col, int row); Deletes all the rows and all the widgets in them</font></div><br>int <big><b>GetColumnCount</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the number of columns</font></div><br><a href="type_GWidget.html">GWidget</a>* <big><b>GetColumnHeader</b></big>(int* col)<br><div style="margin-left: 80px;"><font color=brown> Sets the widget in a column header</font></div><br>int <big><b>GetColumnWidth</b></big>(int col)<br><div style="margin-left: 80px;"><font color=brown> Gets the width of a column</font></div><br>int <big><b>GetHScrollPos</b></big>()<br>int <big><b>GetRowHeight</b></big>()<br><a href="type_GPointerArray.html">GPointerArray</a>* <big><b>GetRows</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the complete collection of all cell widgets</font></div><br>int <big><b>GetVScrollPos</b></big>()<br><a href="type_GWidget.html">GWidget</a>* <big><b>GetWidget</b></big>(int* col, int row)<br><div style="margin-left: 80px;"><font color=brown> Gets the widget in the specified cell</font></div><br>void <big><b>SetColumnHeader</b></big>(int col, <a href="type_GWidget.html">GWidget</a>* pWidget)<br><div style="margin-left: 80px;"><font color=brown> Gets the widget in a column header</font></div><br>void <big><b>SetColumnWidth</b></big>(int col, int nWidth)<br><div style="margin-left: 80px;"><font color=brown> Sets the width of a column</font></div><br>void <big><b>SetHScrollPos</b></big>(int n)<br>void <big><b>SetRowHeight</b></big>(int n)<br>void <big><b>SetSize</b></big>(int w, int h)<br>void <big><b>SetVScrollPos</b></big>(int n)<br>void <big><b>SetWidget</b></big>(int col, int row, <a href="type_GWidget.html">GWidget</a>* pWidget)<br><div style="margin-left: 80px;"><font color=brown> Sets the widget in the specified cell</font></div><br></div><br></body></html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -