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 | 29 | 30 | 31 |
Tags
- Import
- Sys
- 체질
- 프로그레스 바
- .format
- 체크 박스
- syntaxerror
- CSS
- If
- 스크롤 바
- kotlin
- 다이어트
- ramdom
- 라이브러리
- 함수
- Python
- CLASS
- 클래스
- 단순당
- Tkinter
- While
- reversed()
- reverse()
- 파이썬
- HTML
- GUI
- 식별 연산자
- 코틀린
- __init__
- 기본 산수 연산자
Archives
- Today
- Total
목록RadioButton (1)
코드 여행 일기
파이썬 tkinter 라디오 버튼 활용 가이드 - 초보자를 위한 쉬운 예제와 설명
안녕하세요! 이번에는 tkinter에서 라디오 버튼을 사용하는 초보자를 위한 쉬운 예제와 자세한 설명을 제공하겠습니다. 1. 간단한 라디오 버튼 생성 먼저, 간단한 형태의 라디오 버튼을 생성해봅시다. from tkinter import * # Tkinter 윈도우 생성 window = Tk() # 윈도우 크기 설정 window.geometry("200x150") # 라디오 버튼 생성 radio_var = IntVar() radio_button1 = Radiobutton(window, text="옵션 1", variable=radio_var, value=1) radio_button2 = Radiobutton(window, text="옵션 2", variable=radio_var, value=2) # 라디오..
Python
2024. 1. 30. 05:40