Skip to main content

An add-on for the tkinter package

Project description

(es)

Descripción General:

Ampliación del paquete TkInter con herramientas desarrolladas por necesidad de diferentes proyectos.

Contenido

>>> Add Delete Buttons (Add_Delete):

Se trata de im pr de botones [+] [-] que copian o eliminan los elementos Tk de la fila en la que se encuentran.

>>> Parámetros de entrada:

min_row -> Por definición establecido en 1, establece el mínimo de filas que deben permanecer

max_row -> Establece el máximo de copias as realzar, por definición establecido en -1, lo que indica que no hay límite de copias.

>>> Ejemplo de uso:

if __name__==’__main__’: root = Tk() # root creation root.geometry(‘275x200’) # geometry of the window

# items to be copied Label(root, text=’Hola Mundo’).grid(row=0, column=0) name = Entry(root) name.grid(row=0, column=1)

# buttons to add or delete rows of copied items copy_buttons = Add_Delete(root, max_row=5) # configured to copy the row only 4 times, 5 rows in total count

auto_move = Label(root, text=’Este texto se mueve solo!’) auto_move.grid(row=1, column=1)

copy_buttons.add_extra(auto_move)

# mainloop root.mainloop()

>>> Control de versiones:
  • 0.12.0: Primera version estable.

  • 0.13.0: Añadido en ScrollableWindow el método collect_children

  • 0.14.0: Añadida opción de añadir otros elementos a los botones Add_Delete fuera de la linea

    a copiar.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free software Foundation, either version 3 of the License, or (at your option) any later version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

extended_tk-0.14.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file extended_tk-0.14.0-py3-none-any.whl.

File metadata

  • Download URL: extended_tk-0.14.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.9

File hashes

Hashes for extended_tk-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e77007ba7612a61310de459f6ceb95e4ef57eb825f79ba31cde316f87ea2755c
MD5 eaef3c085c5943caf628904db89dc744
BLAKE2b-256 63f64d2be879ec98c420cbaa3bd661e2975819ad033c258a61dbcc1f46f8271d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page