setNameDesc(widget,
name=None,
description=None,
row=None,
col=0)
| source code
|
Sets the name, and description (optional), of a GTK+ widget. Example
code:
import pyatk
pyatk.setNameDesc(apply_button, 'Apply')
pyatk.setNameDesc(up_button, 'Up', 'Move the selected item up")
pyatk.setNameDesc(my_table, 'Y5Q3', 'Year Five, Quarter Three", 4, 2)
- Parameters:
widget (gtk.Object) - Some GTK+ widget
name (string) - Accessible name to set
description (string) - Accessible description to set
row (integer) - row, if in a table/tree
col (integer) - column, if in a table/tree
|