bioCMWidget-class {gtkWidgets}R Documentation

Class "bioCMWidget" represents a RGtk widgets with only a menu containing menu bar

Description

A bioCMWidget object contains a mane bar on the top that has menu item. Functions are also provided to allow users to add new menu items

Objects from the Class

Objects can be created by calls of the form new("bioCMWidget", title, fileMenu) or use a creater bioCMWidget(title, fileMenu).

Slots

menuEnv:
Object of class "environment" an environment object that serves as the storage for all the objects that will be ceated

Methods

addMenuItem
signature(object = "bioCMWidget"): a function to allow users to add new menu items to the widget
menuEnv
signature(object = "bioCMWidget"): a function to allow users to access the environment where new objects will be stored
removeMenuItem
signature(object = "bioCMWidget"): a function to allow users to remove menu items from the widget
show
signature(object = "bioCMWidget"): a function that makes the mune widget visible
conBoxInsert
signature(object = "bioCMWidget"): a function that inserts the argument passed (a gtkWidget) into the gtkBox associated with a bioCMWidget and displays the contents of the widget passed. Only one widget can be inserted and the existing one will be destroyed/replaced
conBoxClear
signature(object = "bioCMWidget"): a function that destroys the gtkWidget that is in the gtkBox associated with a bioCMWidget

Author(s)

Jianhua Zhang

References

Programming with Data

See Also

menuItem-class

Examples

   if(interactive()){
       mWidget <- bioCMWidget("BioC RGtk Widget")
       show(mWidget)
   } 

[Package gtkWidgets version 0.6.6 Index]