comparison gtk3/dw.c @ 1875:fb137f7f91e4

Initial commit of GTK2 code changes (untested) ... Cleanups of some other platform code.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 09 Aug 2013 02:11:06 +0000
parents 15d24b5300ec
children 653ccb517aa1
comparison
equal deleted inserted replaced
1874:71c8a45b2a35 1875:fb137f7f91e4
6194 { 6194 {
6195 _dw_container_set_row_data(handle, NULL, row, _DW_DATA_TYPE_STRING, title); 6195 _dw_container_set_row_data(handle, NULL, row, _DW_DATA_TYPE_STRING, title);
6196 } 6196 }
6197 6197
6198 /* 6198 /*
6199 * Sets the title of a row in the container. 6199 * Sets the data of a row in the container.
6200 * Parameters: 6200 * Parameters:
6201 * pointer: Pointer to the allocated memory in dw_container_alloc(). 6201 * pointer: Pointer to the allocated memory in dw_container_alloc().
6202 * row: Zero based row of data being set. 6202 * row: Zero based row of data being set.
6203 * title: String title of the item. 6203 * data: Data pointer.
6204 */ 6204 */
6205 void dw_container_set_row_data(void *pointer, int row, void *data) 6205 void dw_container_set_row_data(void *pointer, int row, void *data)
6206 { 6206 {
6207 _dw_container_set_row_data(pointer, pointer, row, _DW_DATA_TYPE_POINTER, data); 6207 _dw_container_set_row_data(pointer, pointer, row, _DW_DATA_TYPE_POINTER, data);
6208 } 6208 }
6209 6209
6210 /* 6210 /*
6211 * Changes the title of a row already inserted in the container. 6211 * Changes the data of a row already inserted in the container.
6212 * Parameters: 6212 * Parameters:
6213 * handle: Handle to window (widget) of container. 6213 * handle: Handle to window (widget) of container.
6214 * row: Zero based row of data being set. 6214 * row: Zero based row of data being set.
6215 * title: String title of the item. 6215 * data: Data pointer.
6216 */ 6216 */
6217 void dw_container_change_row_data(HWND handle, int row, void *data) 6217 void dw_container_change_row_data(HWND handle, int row, void *data)
6218 { 6218 {
6219 _dw_container_set_row_data(handle, NULL, row, _DW_DATA_TYPE_POINTER, data); 6219 _dw_container_set_row_data(handle, NULL, row, _DW_DATA_TYPE_POINTER, data);
6220 } 6220 }