TableRow
Represents a row in a Tableview object
Source code in src/ttkbootstrap/widgets/tableview.py
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 | |
iid
property
A unique record identifier
values
property
writable
The table row values
__init__(tableview, values)
Parameters:
tableview (Tableview):
The Tableview widget that contains this row
values (list[Any, ...]):
A list of values to display in the row
Source code in src/ttkbootstrap/widgets/tableview.py
327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 | |
build()
Create the row object in the Treeview and capture
the resulting item id (iid).
Source code in src/ttkbootstrap/widgets/tableview.py
423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 | |
configure(opt=None, **kwargs)
Configure the row. If opt is provided, the
current value is returned, otherwise, sets the widget
options specified in kwargs. See the documentation for
Tableview.insert_row for configurable options.
Parameters:
opt (str):
A configuration option to query.
**kwargs { values, tags }:
Optional keyword arguments used to configure the
row.
Source code in src/ttkbootstrap/widgets/tableview.py
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 | |
delete()
Delete the row from the dataset
Source code in src/ttkbootstrap/widgets/tableview.py
405 406 407 408 409 410 411 412 | |
hide()
Remove the row from the data table view
Source code in src/ttkbootstrap/widgets/tableview.py
414 415 416 | |
refresh()
Syncs the tableview values with the object values
Source code in src/ttkbootstrap/widgets/tableview.py
418 419 420 421 | |
show(striped=False)
Show the row in the data table view
Source code in src/ttkbootstrap/widgets/tableview.py
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 | |