現在のバージョン0.7.2


コマンド

  • style configure style ?-option ?value...??
  • style default style ?-option ?value...??
  • style map style ?-option ?value...??
  • style layout name ?spec?
  • style theme系コマンド
    • style theme create name ?options?
    • style theme names
    • style theme settings theme script
    • style theme use theme
  • style element系コマンド
    • style element create name type ?options...?
    • style element names
    • style element options element

デフォのエレメントたち

  • background
    -background
  • border
    -background
    -borderwidth
    -relief (flat)
  • field
    入力フィールド
    -fieldbackground (white)
    -borderwidth (2)
  • focus
    フォーカスがあたったときの蟻の行列の点々。
    -focuscolor (black)
    -focusthickness (1)
  • padding
    レイアウトで使うだけで何も描画しない
    -padding (0)
    -relief (flat)
    -shiftrekief (0) TODO:これがよくわからん。
  • indicator, Checkbutton.indicator, Radiobutton.indicator
    -background
    -indicatorcolor
    -indicatorrelief
    -indicatordiameter
    -indicatormargin
    -borderwidth
  • Menubutton.indicator
    -indicatorcolor
    -indicatorrelief (raised)
    -indicatordiameter (12)
    -indicatormargin (0 2 4 2)
    -borderwidth
  • arrow, uparrow, downarrow, leftarrow, rightarrow
    -background
    -relief
    -borderwidth
    -arrowcolor
    -arrowsize
  • trough
    スクロールバーでborderの中に置かれるやつ
    -borderwidth
    -troughcolor
    -troughrelief
  • thumb
    スクロールバーで使うやつ
    -orient
    -width
    -relief
    -background
    -borderwidth
  • slider スケールのつまみ部分
    -sliderlength
    -sliderthickness
    -sliderrelief
    -borderwidth
    -background
    -orient
  • pbar
    プログレスバーの動く部分
    -orient
    -thickness バーの短い方の長さ?
    -barsize バーの長い方の(伸びていく方の)長さ? -lengthからオプション名が変わった?
    -pbarrelief
    -background
  • separator, hseparator, vseparator
    -orient (horizontal)
    -background
  • tab
    ノートブックのタブ部分
    -borderwidth
    -background
  • client ノートブックのクライアント部分
    tabと同じオプション
  • labelframe
  • text
    ラベルなんかで使う
    -text
    -font
    -foreground
    -background
    -underline
    -width
    -justify
    -wraplength
    -embossed
  • image
    -image
    -stipple
    -background
  • label
    -compound
    -anchor
    -space
    -text
    -font
    -foreground
    -background
    -underline
    -width
    -justify
    -wraplength
    -embossed
    -image
    -stipple
    -background

デフォのレイアウトたち

  • TFrame
  • TLabelframe
  • TLabel
  • TButton
  • TCheckbutton
  • TRadiobutton
  • TMenubutton
  • Vertical.TScrollbar
  • Horizontal.TScrollbar
  • Vertical.TScale
  • Horizontal.TScale
  • TSeparator

これ加えてTreeview、sashのレイアウトとエレメントが追加されてるようだ。あとよくわからんエレメントもいくつか・・・。つうかレイアウトの一覧の取得の仕方がわからん。


コメントをどーぞ



CategoryTclTk


|New|Edit|Freeze|Diff|Backup|Upload|Copy|Rename|
Last-modified: 2005-11-17 (Thu) 00:00:00 (1008d)
HTML convert time: 0.075 sec.