“étiquette” Réponses codées

Dropdown à Tkinter

from Tkinter import *

master = Tk()

variable = StringVar(master)
variable.set("one") # default value

w = OptionMenu(master, variable, "one", "two", "three")
w.pack()

mainloop()
Ugly Unicorn

Tkinter Labelframe

from Tkinter import *

root = Tk()

labelframe = LabelFrame(root, text="This is a LabelFrame")
labelframe.pack(fill="both", expand="yes")
 
left = Label(labelframe, text="Inside the LabelFrame")
left.pack()
 
root.mainloop()
Krypton 36

Boîte de chétché à Tkinter

from tkinter import *
master = Tk()
var1 = IntVar()
Checkbutton(master, text="male", variable=var1).grid(row=0, sticky=W)
var2 = IntVar()
Checkbutton(master, text="female", variable=var2).grid(row=1, sticky=W)
mainloop()
MrStonkus

Étiquette d'entrée HTML

<!-- By reference -->
<label for="first_name">First Name</label>
<input type="text" id="first_name" name="first_name">

<!-- By wrapping -->
<label>First Name
  <input type="text" name="first_name">
</label>
Xenophobic Xenomorph

étiquette

LabelEntry <path> -textvariable <text var> -width 2 <text width> -label <label> -labelwidth <label width> -labelanchor <n/e/w/s>
Depressed Deer

étiquette

library(labelled)
library(sjlabelled)

get_labels(data$gndr)

var_label(part2_data$id) <- "ID number"
var_label(part2_data$agea) <- "Age of respondent"
var_label(part2_data$q1) <- "How often you read newspaper?"
var_label(part2_data$q2) <- "Government should reduce differences in income levels?"
Diana H

Réponses similaires à “étiquette”

Questions similaires à “étiquette”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code