Module: Tk::BLT::Treeview::ConfigMethod

Module | Tk::BLT::Treeview::ConfigMethod
In: | tk/lib/tkextlib/blt/treeview.rb

### Methods

button_cget button_configinfo button_configure column_cget column_configinfo column_configure current_button_configinfo current_column_configinfo current_entry_configinfo current_sort_configinfo current_text_configinfo entry_cget entry_configinfo entry_configure sort_cget sort_configinfo sort_configure text_cget text_configinfo text_configure

### Included Modules

TkItemConfigMethod

### Public Instance methods

button_cget(option)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 111
      def button_cget(option)
        itemcget('button', option)
      end

button_configinfo(slot=nil)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 117
      def button_configinfo(slot=nil)
        itemconfiginfo('button', slot)
      end

button_configure(slot, value=None)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 114
      def button_configure(slot, value=None)
        itemconfigure('button', slot, value)
      end

column_cget(name, option)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 98
      def column_cget(name, option)
        itemcget(['column', name], option)
      end

column_configinfo(name, slot=nil)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 104
      def column_configinfo(name, slot=nil)
        itemconfiginfo(['column', name], slot)
      end

column_configure(name, slot, value=None)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 101
      def column_configure(name, slot, value=None)
        itemconfigure(['column', name], slot, value)
      end

current_button_configinfo(slot=nil)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 120
      def current_button_configinfo(slot=nil)
        current_itemconfiginfo('button', slot)
      end

current_column_configinfo(name, slot=nil)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 107
      def current_column_configinfo(name, slot=nil)
        current_itemconfiginfo(['column', name], slot)
      end

current_entry_configinfo(slot=nil)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 160
      def current_entry_configinfo(slot=nil)
        ret = current_itemconfiginfo('entry', slot)

        if (val = ret['bindtags'])
          ret['bindtags'] = val.collect{|tag| TkBindTag.id2obj(tag)}
        end

        ret
      end

current_sort_configinfo(slot=nil)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 179
      def current_sort_configinfo(slot=nil)
        current_itemconfiginfo('sort', slot)
      end

current_text_configinfo(slot=nil)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 192
      def current_text_configinfo(slot=nil)
        current_itemconfiginfo('text', slot)
      end

entry_cget(option)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 124
      def entry_cget(option)
        ret = itemcget('entry', option)
        if option == 'bindtags' || option == :bindtags
          ret.collect{|tag| TkBindTag.id2obj(tag)}
        else
          ret
        end
      end

entry_configinfo(slot=nil)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 135
      def entry_configinfo(slot=nil)
        ret = itemconfiginfo('entry', slot)

        if TkComm::GET_CONFIGINFO_AS_ARRAY
          if slot
            if slot == 'bindtags' || slot == :bindtags
              ret[-2] = ret[-2].collect{|tag| TkBindTag.id2obj(tag)}
              ret[-1] = ret[-1].collect{|tag| TkBindTag.id2obj(tag)}
            end
          else
            inf = ret.assoc('bindtags')
            inf[-2] = inf[-2].collect{|tag| TkBindTag.id2obj(tag)}
            inf[-1] = inf[-1].collect{|tag| TkBindTag.id2obj(tag)}
          end

        else # ! TkComm::GET_CONFIGINFO_AS_ARRAY
          if (inf = ret['bindtags'])
            inf[-2] = inf[-2].collect{|tag| TkBindTag.id2obj(tag)}
            inf[-1] = inf[-1].collect{|tag| TkBindTag.id2obj(tag)}
            ret['bindtags'] = inf
          end
        end

        ret
      end

entry_configure(slot, value=None)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 132
      def entry_configure(slot, value=None)
        itemconfigure('entry', slot, value)
      end

sort_cget(option)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 170
      def sort_cget(option)
        itemcget('sort', option)
      end

sort_configinfo(slot=nil)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 176
      def sort_configinfo(slot=nil)
        itemconfiginfo('sort', slot)
      end

sort_configure(slot, value=None)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 173
      def sort_configure(slot, value=None)
        itemconfigure('sort', slot, value)
      end

text_cget(option)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 183
      def text_cget(option)
        itemcget('text', option)
      end

text_configinfo(slot=nil)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 189
      def text_configinfo(slot=nil)
        itemconfiginfo('text', slot)
      end

text_configure(slot, value=None)

[Source]

    # File tk/lib/tkextlib/blt/treeview.rb, line 186
      def text_configure(slot, value=None)
        itemconfigure('text', slot, value)
      end

[Validate]