In Files

  • tk/lib/tkextlib/tcllib/statusbar.rb

Class/Module Index [+]

Quicksearch

Tk::Tcllib::Widget::Statusbar

Public Class Methods

package_name() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/statusbar.rb, line 20
def self.package_name
  PACKAGE_NAME
end
            
package_version() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/statusbar.rb, line 24
def self.package_version
  begin
    TkPackage.require('widget::statusbar')
  rescue
    ''
  end
end
            

Public Instance Methods

add(w, keys={}) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/statusbar.rb, line 58
def add(w, keys={})
  window(tk_send_without_enc('setwidget', *(hash_kv(keys))))
end
            
delete(*wins) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/statusbar.rb, line 72
def delete(*wins)
  tk_send_without_enc('delete', *wins)
  self
end
            
get_frame() click to toggle source
Alias for: getframe
getframe() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/statusbar.rb, line 53
def getframe
  window(tk_send_without_enc('getframe'))
end
            
Also aliased as: get_frame
items(pat=None) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/statusbar.rb, line 77
def items(pat=None)
  tk_split_list(tk_send('items', pat))
end
            
remove(*wins) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/statusbar.rb, line 62
def remove(*wins)
  tk_send_without_enc('remove', *wins)
  self
end
            
remove_with_destroy(*wins) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/statusbar.rb, line 67
def remove_with_destroy(*wins)
  tk_send_without_enc('remove', '-destroy', *wins)
  self
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.