반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- math
- Apache
- Kotlin
- Excel
- PostgreSQL
- PANDAS
- google apps script
- array
- list
- gas
- Google Excel
- dataframe
- SQL
- django
- string
- c#
- Github
- Tkinter
- Mac
- Python
- Java
- numpy
- PySpark
- matplotlib
- Google Spreadsheet
- Redshift
- hive
- GIT
- 파이썬
Archives
- Today
- Total
목록winfo_screenwidth (1)
달나라 노트
Python tkinter : winfo_width, winfo_height, winfo_screenwidth, winfo_screenheight (Window 크기, 화면 크기, Window 가로 길이, 화면 가로 길이, Window 세로 길이, 화면 세로 길이, Label 가로 길이, Label 세로 길이, Label 크..
tkinter에서 Window 객체를 생성할 때 이 객체에는 여러 정보가 담깁니다. 이 정보에는 Window의 크기나 사용자가 사용하는 화면의 해상도 정보도 있습니다. 이러한 정보를 어떻게 얻을 수 있는지 알아봅시다. 1. winfo_width, winfo_height winfo_width = Window의 현재 가로 길이를 의미합니다. winfo_height = Window의 현재 세로 길이를 의미합니다. import tkinter as tk window = tk.Tk() window.geometry('500x400') label = tk.Label(window, text='Label') label.place(x=0, y=0) def show_screen_size(): width = window.win..
Python/Python tkinter
2022. 5. 17. 21:31