るりまサーチ

最速Rubyリファレンスマニュアル検索!
6件ヒット [1-6件を表示] (0.042秒)
トップページ > クエリ:split[x] > モジュール:TkGrid[x]

別のキーワード

  1. tcltklib _split_tklist
  2. _builtin split
  3. uri split
  4. shell split
  5. pathname split

ライブラリ

検索結果

TkGrid.#rowconfigure(master, index, args) (7.0)

@todo

...rame.new.pack
p TkGrid.rowconfigure(f, 0, {})
p TkGrid.rowconfigure(f, 0, {'minsize'=>10})
p TkGrid.rowconfigure(f, 0, {})

=> "-minsize 0 -pad 0 -weight 0"
""
"-minsize 10 -pad 0 -weight 0"

((-戻り値は、hashにしたい-))

require "tk"

module TkGrid
def columnc...
...onfigure(master, index, args=None)
Hash[tk_split_list(tk_call "grid", 'columnconfigure', master, index, *hash_kv(args))]
end

def rowconfigure(master, index, args=None)
tk_tcl2ruby(tk_call "grid", 'rowconfigure', master, index, *hash_kv(args))
end

module_function :co...
...:rowconfigure
end


f = TkFrame.new.pack
p TkGrid.columnconfigure(f, 0)
p TkGrid.columnconfigure(f, 0, {'minsize'=>10})
p TkGrid.columnconfigure(f, 0)

f = TkFrame.new.pack
p TkGrid.rowconfigure(f, 0)
p TkGrid.rowconfigure(f, 0, {'minsize'=>10})
p TkGrid.rowconfigure(f, 0)...