widgets/
mgwidobjectwidget__define.pro
This is a base class to inherit from to create an object widget.
Class description for mgwidobjectwidget
Properties
- offset get set
- size get
- name init
- title set
Routines
mgwidobjectwidget::setProperty [, title=string] [, offset=lonarr(2)]
Set properties of the object widget.
mgwidobjectwidget::getProperty [, offset=lonarr(2)] [, size=lonarr(2)]
Get properties of the object widget.
mgwidobjectwidget::handleEvents, event
Event handler for all widgets in the program.
mgwidobjectwidget::cleanupWidgets, tlb
Called when the widget program is being destroyed.
mgwidobjectwidget::startXManager
Start XMANAGER.
mgwidobjectwidget::cleanup
Cleanup resources.
result = mgwidobjectwidget::init(name=name)
Create on object widget.
mgwidobjectwidget__define
Define member variables.
Routine details
top source mgwidobjectwidget::setProperty
mgwidobjectwidget::setProperty [, title=string] [, offset=lonarr(2)]
Set properties of the object widget.
Keywords
- title in optional type=string
title of the base
- offset in optional type=lonarr(2)
offset in pixels of the upper-left corner of the base from the upper-left corner of the widget
top source mgwidobjectwidget::getProperty
mgwidobjectwidget::getProperty [, offset=lonarr(2)] [, size=lonarr(2)]
Get properties of the object widget.
Keywords
- offset out optional type=lonarr(2)
offset in pixels of the upper-left corner of the base from the upper-left corner of the widget
- size out optional type=lonarr(2)
size in pixels of the tlb
top source mgwidobjectwidget::handleEventsabstract
mgwidobjectwidget::handleEvents, event
Event handler for all widgets in the program.
Parameters
- event in required type=structure
event structure for any generated by the widget program
top source mgwidobjectwidget::cleanupWidgetsabstract
mgwidobjectwidget::cleanupWidgets, tlb
Called when the widget program is being destroyed.
Parameters
- tlb in required type=long
widget ID for the top-level base
File attributes
Modification date: | Mon Nov 29 18:32:28 2010 |
Lines: | 133 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.