/* This file was automatically generated.
 * Do not edit, you'll loose your changes anyway.
 * file: Widget.h  */
#ifndef Widget_H_
#define Widget_H_
#ifndef _APRICOT_H_
#include "apricot.h"
#endif
#include "Drawable.h"
#include "Types.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _Widget_vmt {
/* internal runtime classifiers */
   char *className;
   void *super;
   void *base;
   int instanceSize;
   VmtPatch *patch;
   int patchLength;
   int vmtSize;
/* methods definition */
   SV * ( *can)( Handle self, char * name ,Bool cacheIt );
   void ( *cleanup)( Handle self);
   void ( *done)( Handle self);
   void ( *init)( Handle self, HV * profile );
   void ( *profile_add)( Handle self, SV * profile );
   void ( *profile_check_in)( Handle self, SV * profile ,SV * default_profile );
   SV * ( *profile_default)( Handle self);
   void ( *set)( Handle self, HV * profile );
   void ( *setup)( Handle self);
   Bool ( *eventFlag)( Handle self, Bool set, Bool value);
   SV * ( *delegations)( Handle self, Bool set, SV * value);
   SV * ( *name)( Handle self, Bool set, SV * value);
   Handle ( *owner)( Handle self, Bool set, Handle value);
   long ( *add_notification)( Handle self, char * name ,SV * subroutine ,Handle referer ,int index );
   void ( *attach)( Handle self, Handle objectHandle );
   Handle ( *bring)( Handle self, char * componentName );
   Bool ( *can_event)( Handle self);
   void ( *clear_event)( Handle self);
   void ( *detach)( Handle self, Handle objectHandle ,Bool kill );
   void ( *event_error)( Handle self);
   Handle ( *first_that_component)( Handle self, void * actionProc ,void * params );
   void ( *get_components)( Handle self);
   SV * ( *get_handle)( Handle self);
   void ( *get_notification)( Handle self, char * name ,int index );
   void ( *handle_event)( Handle self, PEvent event );
   Bool ( *message)( Handle self, PEvent event );
   Bool ( *migrate)( Handle self, Handle attachTo );
   SV * ( *notification_types)( Handle self);
   Bool ( *notify)( Handle self, char * format ,... );
   Bool ( *pop_event)( Handle self);
   void ( *post_message)( Handle self, SV * info1 ,SV * info2 );
   void ( *push_event)( Handle self);
   void ( *recreate)( Handle self);
   void ( *remove_notification)( Handle self, long id );
   void ( *set_notification)( Handle self, char * name ,SV * subroutine );
   void ( *unlink_notifier)( Handle self, Handle referer );
   void ( *update_sys_handle)( Handle self, HV * profile );
   Bool ( *validate_owner)( Handle self, Handle * newOwner ,HV * profile );
   Color ( *backColor)( Handle self, Bool set, Color value);
   Color ( *color)( Handle self, Bool set, Color value);
   Rect ( *clipRect)( Handle self, Bool set, Rect value);
   SV * ( *fillPattern)( Handle self, Bool set, SV * value);
   int ( *height)( Handle self, Bool set, int value);
   int ( *lineEnd)( Handle self, Bool set, int value);
   SV * ( *linePattern)( Handle self, Bool set, SV * value);
   int ( *lineWidth)( Handle self, Bool set, int value);
   SV * ( *palette)( Handle self, Bool set, SV * value);
   SV * ( *pixel)( Handle self, Bool set, int x ,int y, SV * value);
   Handle ( *region)( Handle self, Bool set, Handle value);
   Point ( *resolution)( Handle self, Bool set, Point value);
   int ( *rop)( Handle self, Bool set, int value);
   int ( *rop2)( Handle self, Bool set, int value);
   Point ( *size)( Handle self, Bool set, Point value);
   int ( *splinePrecision)( Handle self, Bool set, int value);
   Bool ( *textOpaque)( Handle self, Bool set, Bool value);
   Bool ( *textOutBaseline)( Handle self, Bool set, Bool value);
   Point ( *translate)( Handle self, Bool set, Point value);
   int ( *width)( Handle self, Bool set, int value);
   Bool ( *begin_paint)( Handle self);
   Bool ( *begin_paint_info)( Handle self);
   void ( *end_paint)( Handle self);
   void ( *end_paint_info)( Handle self);
   Font * ( *font_match)( char * dummy ,Font * source ,Font * dest ,Bool pick );
   Bool ( *font_add)( Handle self, Font * source ,Font * dest );
   void ( *set_font)( Handle self, Font font );
   int ( *get_bpp)( Handle self);
   Font ( *get_font)( Handle self);
   SV * ( *get_font_abc)( Handle self, int first ,int last ,Bool unicode );
   SV * ( *get_font_ranges)( Handle self);
   Color ( *get_nearest_color)( Handle self, Color color );
   int ( *get_paint_state)( Handle self);
   SV * ( *get_physical_palette)( Handle self);
   int ( *get_text_width)( Handle self, SV * text ,int len ,Bool addOverhang );
   SV * ( *get_text_box)( Handle self, SV * text ,int len );
   Bool ( *arc)( Handle self, int x ,int y ,int dX ,int dY ,double startAngle ,double endAngle );
   Bool ( *bar)( Handle self, int x1 ,int y1 ,int x2 ,int y2 );
   Bool ( *chord)( Handle self, int x ,int y ,int dX ,int dY ,double startAngle ,double endAngle );
   Bool ( *clear)( Handle self, int x1 ,int y1 ,int x2 ,int y2 );
   Bool ( *ellipse)( Handle self, int x ,int y ,int dX ,int dY );
   Bool ( *fill_chord)( Handle self, int x ,int y ,int dX ,int dY ,double startAngle ,double endAngle );
   Bool ( *fill_ellipse)( Handle self, int x ,int y ,int dX ,int dY );
   Bool ( *fillpoly)( Handle self, SV * points );
   Bool ( *fill_sector)( Handle self, int x ,int y ,int dX ,int dY ,double startAngle ,double endAngle );
   Bool ( *fill_spline)( Handle self, SV * points );
   Bool ( *flood_fill)( Handle self, int x ,int y ,Color color ,Bool singleBorder );
   Bool ( *line)( Handle self, int x1 ,int y1 ,int x2 ,int y2 );
   Bool ( *lines)( Handle self, SV * points );
   Bool ( *polyline)( Handle self, SV * points );
   Bool ( *put_image_indirect)( Handle self, Handle image ,int x ,int y ,int xFrom ,int yFrom ,int xDestLen ,int yDestLen ,int xLen ,int yLen ,int rop );
   Bool ( *rectangle)( Handle self, int x1 ,int y1 ,int x2 ,int y2 );
   Bool ( *sector)( Handle self, int x ,int y ,int dX ,int dY ,double startAngle ,double endAngle );
   Bool ( *spline)( Handle self, SV * points );
   Bool ( *text_out)( Handle self, SV * text ,int x ,int y ,int len );
   SV * ( *text_wrap)( Handle self, SV * text ,int width ,int options ,int tabIndent ,int textLen );
   SV * ( *accelItems)( Handle self, Bool set, SV * value);
   Handle ( *accelTable)( Handle self, Bool set, Handle value);
   Bool ( *autoEnableChildren)( Handle self, Bool set, Bool value);
   int ( *bottom)( Handle self, Bool set, int value);
   Bool ( *briefKeys)( Handle self, Bool set, Bool value);
   Bool ( *buffered)( Handle self, Bool set, Bool value);
   Bool ( *clipOwner)( Handle self, Bool set, Bool value);
   Color ( *colorIndex)( Handle self, Bool set, int index, Color value);
   Bool ( *current)( Handle self, Bool set, Bool value);
   Handle ( *currentWidget)( Handle self, Bool set, Handle value);
   Point ( *cursorPos)( Handle self, Bool set, Point value);
   Point ( *cursorSize)( Handle self, Bool set, Point value);
   Bool ( *cursorVisible)( Handle self, Bool set, Bool value);
   NPoint ( *designScale)( Handle self, Bool set, NPoint value);
   Bool ( *enabled)( Handle self, Bool set, Bool value);
   int ( *geometry)( Handle self, Bool set, int value);
   int ( *geomHeight)( Handle self, Bool set, int value);
   Point ( *geomSize)( Handle self, Bool set, Point value);
   int ( *geomWidth)( Handle self, Bool set, int value);
   int ( *growMode)( Handle self, Bool set, int value);
   Bool ( *firstClick)( Handle self, Bool set, Bool value);
   Bool ( *focused)( Handle self, Bool set, Bool value);
   SV * ( *helpContext)( Handle self, Bool set, SV * value);
   SV * ( *hint)( Handle self, Bool set, SV * value);
   int ( *hintVisible)( Handle self, Bool set, int value);
   int ( *left)( Handle self, Bool set, int value);
   Handle ( *popup)( Handle self, Bool set, Handle value);
   SV * ( *popupItems)( Handle self, Bool set, SV * value);
   Bool ( *ownerBackColor)( Handle self, Bool set, Bool value);
   Bool ( *ownerColor)( Handle self, Bool set, Bool value);
   Bool ( *ownerFont)( Handle self, Bool set, Bool value);
   Bool ( *ownerHint)( Handle self, Bool set, Bool value);
   Bool ( *ownerShowHint)( Handle self, Bool set, Bool value);
   Bool ( *ownerPalette)( Handle self, Bool set, Bool value);
   Point ( *origin)( Handle self, Bool set, Point value);
   SV * ( *packInfo)( Handle self, Bool set, SV * value);
   SV * ( *placeInfo)( Handle self, Bool set, SV * value);
   Point ( *pointerHotSpot)( Handle self, Bool set, Point value);
   Handle ( *pointerIcon)( Handle self, Bool set, Handle value);
   Point ( *pointerPos)( Handle self, Bool set, Point value);
   int ( *pointerType)( Handle self, Bool set, int value);
   Color ( *popupColorIndex)( Handle self, Bool set, int index, Color value);
   Bool ( *packPropagate)( Handle self, Bool set, Bool value);
   Rect ( *rect)( Handle self, Bool set, Rect value);
   int ( *right)( Handle self, Bool set, int value);
   Bool ( *scaleChildren)( Handle self, Bool set, Bool value);
   Bool ( *selectable)( Handle self, Bool set, Bool value);
   Bool ( *selected)( Handle self, Bool set, Bool value);
   Handle ( *selectedWidget)( Handle self, Bool set, Handle value);
   int ( *selectingButtons)( Handle self, Bool set, int value);
   Handle ( *shape)( Handle self, Bool set, Handle value);
   Bool ( *showHint)( Handle self, Bool set, Bool value);
   Point ( *sizeMax)( Handle self, Bool set, Point value);
   Point ( *sizeMin)( Handle self, Bool set, Point value);
   Bool ( *syncPaint)( Handle self, Bool set, Bool value);
   int ( *tabOrder)( Handle self, Bool set, int value);
   Bool ( *tabStop)( Handle self, Bool set, Bool value);
   SV * ( *text)( Handle self, Bool set, SV * value);
   int ( *top)( Handle self, Bool set, int value);
   Bool ( *transparent)( Handle self, Bool set, Bool value);
   Bool ( *visible)( Handle self, Bool set, Bool value);
   int ( *widgetClass)( Handle self, Bool set, int value);
   void ( *bring_to_front)( Handle self);
   Bool ( *can_close)( Handle self);
   void ( *client_to_screen)( Handle self);
   Bool ( *close)( Handle self);
   Bool ( *custom_paint)( Handle self);
   Bool ( *exposed)( Handle self);
   SV * ( *fetch_resource)( char * className ,char * name ,char * classRes ,char * res ,Handle owner ,int resType );
   Handle ( *first)( Handle self);
   Handle ( *first_that)( Handle self, void * actionProc ,void * params );
   void ( *hide)( Handle self);
   void ( *hide_cursor)( Handle self);
   Bool ( *help)( Handle self);
   void ( *insert_behind)( Handle self, Handle view );
   void ( *invalidate_rect)( Handle self, Rect rect );
   Bool ( *is_child)( Handle self, Handle possibleOwner );
   void ( *key_event)( Handle self, int command ,int code ,int key ,int mod ,int repeat ,Bool post );
   Handle ( *last)( Handle self);
   Bool ( *lock)( Handle self);
   Color ( *map_color)( Handle self, Color color );
   void ( *mouse_event)( Handle self, int command ,int button ,int mod ,int x ,int y ,Bool dblclk ,Bool post );
   Handle ( *next)( Handle self);
   Handle ( *next_tab)( Handle self, Bool forward );
   Handle ( *next_positional)( Handle self, int dx ,int dy );
   Bool ( *process_accel)( Handle self, int key );
   Handle ( *prev)( Handle self);
   void ( *repaint)( Handle self);
   Bool ( *responsive)( Handle self);
   void ( *screen_to_client)( Handle self);
   void ( *scroll)( Handle self, int dx ,int dy ,Rect * confine ,Rect * clip ,Bool withChildren );
   void ( *send_to_back)( Handle self);
   void ( *show)( Handle self);
   void ( *show_cursor)( Handle self);
   Bool ( *showing)( Handle self);
   Bool ( *unlock)( Handle self);
   void ( *update_view)( Handle self);
   Bool ( *validate_rect)( Handle self, Rect rect );
   Bool ( *get_capture)( Handle self);
   Font ( *get_default_font)( char * dummy );
   Font ( *get_default_popup_font)( char * dummy );
   Rect ( *get_invalid_rect)( Handle self);
   Bool ( *get_locked)( Handle self);
   int ( *get_mouse_state)( Handle self);
   void ( *get_pack_slaves)( Handle self);
   Handle ( *get_parent)( Handle self);
   SV * ( *get_parent_handle)( Handle self);
   void ( *get_place_slaves)( Handle self);
   Point ( *get_pointer_size)( char * dummy );
   Font ( *get_popup_font)( Handle self);
   Handle ( *get_selectee)( Handle self);
   int ( *get_shift_state)( Handle self);
   Point ( *get_virtual_size)( Handle self);
   void ( *get_widgets)( Handle self);
   void ( *set_capture)( Handle self, Bool capture ,Handle confineTo );
   void ( *set_centered)( Handle self, Bool x ,Bool y );
   void ( *set_popup_font)( Handle self, Font font );
   void ( *on_paint)( Handle self, SV * canvas );
} Widget_vmt, *PWidget_vmt;

extern PWidget_vmt CWidget;

typedef struct _Widget {
/* internal pointers */
   PWidget_vmt self;
   PDrawable_vmt super;
   SV  *mate;
   struct _AnyObject *killPtr;
/* instance variables */
   int stage;
   int protectCount;
   int destroyRefCount;
   Handle owner;
   void * transient_class;
   ObjectOptions options;
   void * sysData;
   char * name;
   ApiHandle handle;
   char * evStack;
   int evPtr;
   int evLimit;
   PList postList;
   PList components;
   PList evQueue;
   PList refs;
   PList events;
   PHash eventIDs;
   int eventIDCount;
   Font font;
   int w;
   int h;
   PRGBColor palette;
   int palSize;
   int splinePrecision;
   int splinePrecision_saved;
   PFontABC font_abc_ascii;
   PList font_abc_unicode;
   Handle accelTable;
   Handle currentWidget;
   int cursorLock;
   NPoint designScale;
   char * helpContext;
   char * hint;
   int lockCount;
   Font popupFont;
   ColorSet popupColor;
   Handle popupMenu;
   int pointerType;
   Point pos;
   int selectingButtons;
   Point sizeMin;
   Point sizeMax;
   int tabOrder;
   char * text;
   int widgetClass;
   List widgets;
   int geometry;
   Point geomSize;
   GeomInfo geomInfo;
   int growMode;
   Point virtualSize;
   Handle packSlaves;
   Handle placeSlaves;
} Widget, *PWidget;

extern void register_Widget_Class( void);

/* Local methods definitions */
extern void Widget_cleanup( Handle self);
extern void Widget_done( Handle self);
extern void Widget_init( Handle self, HV * profile );
extern SV * Widget_profile_default( Handle self);
extern void Widget_set( Handle self, HV * profile );
extern void Widget_setup( Handle self);
extern void Widget_attach( Handle self, Handle objectHandle );
extern void Widget_detach( Handle self, Handle objectHandle ,Bool kill );
extern SV * Widget_get_handle( Handle self);
extern void Widget_handle_event( Handle self, PEvent event );
extern SV * Widget_notification_types( Handle self);
extern void Widget_post_message( Handle self, SV * info1 ,SV * info2 );
extern void Widget_update_sys_handle( Handle self, HV * profile );
extern Bool Widget_validate_owner( Handle self, Handle * newOwner ,HV * profile );
extern Color Widget_backColor( Handle self, Bool set, Color value);
extern Color Widget_color( Handle self, Bool set, Color value);
extern SV * Widget_palette( Handle self, Bool set, SV * value);
extern Point Widget_size( Handle self, Bool set, Point value);
extern Bool Widget_begin_paint( Handle self);
extern Bool Widget_begin_paint_info( Handle self);
extern void Widget_end_paint( Handle self);
extern void Widget_end_paint_info( Handle self);
extern void Widget_set_font( Handle self, Font font );
extern SV * Widget_accelItems( Handle self, Bool set, SV * value);
extern Handle Widget_accelTable( Handle self, Bool set, Handle value);
extern Bool Widget_autoEnableChildren( Handle self, Bool set, Bool value);
extern int Widget_bottom( Handle self, Bool set, int value);
extern Bool Widget_briefKeys( Handle self, Bool set, Bool value);
extern Bool Widget_buffered( Handle self, Bool set, Bool value);
extern Bool Widget_clipOwner( Handle self, Bool set, Bool value);
extern Color Widget_colorIndex( Handle self, Bool set, int index, Color value);
extern Bool Widget_current( Handle self, Bool set, Bool value);
extern Handle Widget_currentWidget( Handle self, Bool set, Handle value);
extern Point Widget_cursorPos( Handle self, Bool set, Point value);
extern Point Widget_cursorSize( Handle self, Bool set, Point value);
extern Bool Widget_cursorVisible( Handle self, Bool set, Bool value);
extern NPoint Widget_designScale( Handle self, Bool set, NPoint value);
extern Bool Widget_enabled( Handle self, Bool set, Bool value);
extern int Widget_geometry( Handle self, Bool set, int value);
extern int Widget_geomHeight( Handle self, Bool set, int value);
extern Point Widget_geomSize( Handle self, Bool set, Point value);
extern int Widget_geomWidth( Handle self, Bool set, int value);
extern int Widget_growMode( Handle self, Bool set, int value);
extern Bool Widget_firstClick( Handle self, Bool set, Bool value);
extern Bool Widget_focused( Handle self, Bool set, Bool value);
extern SV * Widget_helpContext( Handle self, Bool set, SV * value);
extern SV * Widget_hint( Handle self, Bool set, SV * value);
extern int Widget_hintVisible( Handle self, Bool set, int value);
extern int Widget_left( Handle self, Bool set, int value);
extern Handle Widget_popup( Handle self, Bool set, Handle value);
extern SV * Widget_popupItems( Handle self, Bool set, SV * value);
extern Bool Widget_ownerBackColor( Handle self, Bool set, Bool value);
extern Bool Widget_ownerColor( Handle self, Bool set, Bool value);
extern Bool Widget_ownerFont( Handle self, Bool set, Bool value);
extern Bool Widget_ownerHint( Handle self, Bool set, Bool value);
extern Bool Widget_ownerShowHint( Handle self, Bool set, Bool value);
extern Bool Widget_ownerPalette( Handle self, Bool set, Bool value);
extern Point Widget_origin( Handle self, Bool set, Point value);
extern SV * Widget_packInfo( Handle self, Bool set, SV * value);
extern SV * Widget_placeInfo( Handle self, Bool set, SV * value);
extern Point Widget_pointerHotSpot( Handle self, Bool set, Point value);
extern Handle Widget_pointerIcon( Handle self, Bool set, Handle value);
extern Point Widget_pointerPos( Handle self, Bool set, Point value);
extern int Widget_pointerType( Handle self, Bool set, int value);
extern Color Widget_popupColorIndex( Handle self, Bool set, int index, Color value);
extern Bool Widget_packPropagate( Handle self, Bool set, Bool value);
extern Rect Widget_rect( Handle self, Bool set, Rect value);
extern int Widget_right( Handle self, Bool set, int value);
extern Bool Widget_scaleChildren( Handle self, Bool set, Bool value);
extern Bool Widget_selectable( Handle self, Bool set, Bool value);
extern Bool Widget_selected( Handle self, Bool set, Bool value);
extern Handle Widget_selectedWidget( Handle self, Bool set, Handle value);
extern int Widget_selectingButtons( Handle self, Bool set, int value);
extern Handle Widget_shape( Handle self, Bool set, Handle value);
extern Bool Widget_showHint( Handle self, Bool set, Bool value);
extern Point Widget_sizeMax( Handle self, Bool set, Point value);
extern Point Widget_sizeMin( Handle self, Bool set, Point value);
extern Bool Widget_syncPaint( Handle self, Bool set, Bool value);
extern int Widget_tabOrder( Handle self, Bool set, int value);
extern Bool Widget_tabStop( Handle self, Bool set, Bool value);
extern SV * Widget_text( Handle self, Bool set, SV * value);
extern int Widget_top( Handle self, Bool set, int value);
extern Bool Widget_transparent( Handle self, Bool set, Bool value);
extern Bool Widget_visible( Handle self, Bool set, Bool value);
extern int Widget_widgetClass( Handle self, Bool set, int value);
extern void Widget_bring_to_front( Handle self);
extern Bool Widget_can_close( Handle self);
extern void Widget_client_to_screen( Handle self);
extern Bool Widget_close( Handle self);
extern Bool Widget_custom_paint( Handle self);
extern SV * Widget_fetch_resource( char * className ,char * name ,char * classRes ,char * res ,Handle owner ,int resType );
extern Handle Widget_first( Handle self);
extern Handle Widget_first_that( Handle self, void * actionProc ,void * params );
extern void Widget_hide( Handle self);
extern void Widget_hide_cursor( Handle self);
extern Bool Widget_help( Handle self);
extern void Widget_insert_behind( Handle self, Handle view );
extern void Widget_invalidate_rect( Handle self, Rect rect );
extern Bool Widget_is_child( Handle self, Handle possibleOwner );
extern void Widget_key_event( Handle self, int command ,int code ,int key ,int mod ,int repeat ,Bool post );
extern Handle Widget_last( Handle self);
extern Bool Widget_lock( Handle self);
extern void Widget_mouse_event( Handle self, int command ,int button ,int mod ,int x ,int y ,Bool dblclk ,Bool post );
extern Handle Widget_next( Handle self);
extern Handle Widget_next_tab( Handle self, Bool forward );
extern Handle Widget_next_positional( Handle self, int dx ,int dy );
extern Bool Widget_process_accel( Handle self, int key );
extern Handle Widget_prev( Handle self);
extern void Widget_repaint( Handle self);
extern void Widget_screen_to_client( Handle self);
extern void Widget_scroll( Handle self, int dx ,int dy ,Rect * confine ,Rect * clip ,Bool withChildren );
extern void Widget_send_to_back( Handle self);
extern void Widget_show( Handle self);
extern void Widget_show_cursor( Handle self);
extern Bool Widget_unlock( Handle self);
extern void Widget_update_view( Handle self);
extern Font Widget_get_default_font( char * dummy );
extern Font Widget_get_default_popup_font( char * dummy );
extern Bool Widget_get_locked( Handle self);
extern void Widget_get_pack_slaves( Handle self);
extern Handle Widget_get_parent( Handle self);
extern SV * Widget_get_parent_handle( Handle self);
extern void Widget_get_place_slaves( Handle self);
extern Point Widget_get_pointer_size( char * dummy );
extern Font Widget_get_popup_font( Handle self);
extern Handle Widget_get_selectee( Handle self);
extern Point Widget_get_virtual_size( Handle self);
extern void Widget_get_widgets( Handle self);
extern void Widget_set_capture( Handle self, Bool capture ,Handle confineTo );
extern void Widget_set_centered( Handle self, Bool x ,Bool y );
extern void Widget_set_popup_font( Handle self, Font font );
extern void Widget_on_paint( Handle self, SV * canvas );

#undef  get_width
#undef  set_width
#define get_width(__hs)         width((__hs),0,(int)0)
#define set_width(__hs,__val)   width((__hs),1,(__val))
#undef  get_textOutBaseline
#undef  set_textOutBaseline
#define get_textOutBaseline(__hs)         textOutBaseline((__hs),0,(Bool)0)
#define set_textOutBaseline(__hs,__val)   textOutBaseline((__hs),1,(__val))
#undef  get_sizeMax
#undef  set_sizeMax
#define get_sizeMax(__hs)         sizeMax((__hs),0,Point_buffer)
#define set_sizeMax(__hs,__val)   sizeMax((__hs),1,(__val))
#undef  get_buffered
#undef  set_buffered
#define get_buffered(__hs)         buffered((__hs),0,(Bool)0)
#define set_buffered(__hs,__val)   buffered((__hs),1,(__val))
#undef  get_rop2
#undef  set_rop2
#define get_rop2(__hs)         rop2((__hs),0,(int)0)
#define set_rop2(__hs,__val)   rop2((__hs),1,(__val))
#undef  get_region
#undef  set_region
#define get_region(__hs)         region((__hs),0,(Handle)0)
#define set_region(__hs,__val)   region((__hs),1,(__val))
#undef  get_text
#undef  set_text
#define get_text(__hs)         text((__hs),0,(SV *)0)
#define set_text(__hs,__val)   text((__hs),1,(__val))
#undef  get_currentWidget
#undef  set_currentWidget
#define get_currentWidget(__hs)         currentWidget((__hs),0,(Handle)0)
#define set_currentWidget(__hs,__val)   currentWidget((__hs),1,(__val))
#undef  get_lineWidth
#undef  set_lineWidth
#define get_lineWidth(__hs)         lineWidth((__hs),0,(int)0)
#define set_lineWidth(__hs,__val)   lineWidth((__hs),1,(__val))
#undef  get_focused
#undef  set_focused
#define get_focused(__hs)         focused((__hs),0,(Bool)0)
#define set_focused(__hs,__val)   focused((__hs),1,(__val))
#undef  get_selectingButtons
#undef  set_selectingButtons
#define get_selectingButtons(__hs)         selectingButtons((__hs),0,(int)0)
#define set_selectingButtons(__hs,__val)   selectingButtons((__hs),1,(__val))
#undef  get_rect
#undef  set_rect
#define get_rect(__hs)         rect((__hs),0,Rect_buffer)
#define set_rect(__hs,__val)   rect((__hs),1,(__val))
#undef  get_helpContext
#undef  set_helpContext
#define get_helpContext(__hs)         helpContext((__hs),0,(SV *)0)
#define set_helpContext(__hs,__val)   helpContext((__hs),1,(__val))
#undef  get_backColor
#undef  set_backColor
#define get_backColor(__hs)         backColor((__hs),0,(Color)0)
#define set_backColor(__hs,__val)   backColor((__hs),1,(__val))
#undef  get_tabOrder
#undef  set_tabOrder
#define get_tabOrder(__hs)         tabOrder((__hs),0,(int)0)
#define set_tabOrder(__hs,__val)   tabOrder((__hs),1,(__val))
#undef  get_resolution
#undef  set_resolution
#define get_resolution(__hs)         resolution((__hs),0,Point_buffer)
#define set_resolution(__hs,__val)   resolution((__hs),1,(__val))
#undef  get_splinePrecision
#undef  set_splinePrecision
#define get_splinePrecision(__hs)         splinePrecision((__hs),0,(int)0)
#define set_splinePrecision(__hs,__val)   splinePrecision((__hs),1,(__val))
#undef  get_cursorSize
#undef  set_cursorSize
#define get_cursorSize(__hs)         cursorSize((__hs),0,Point_buffer)
#define set_cursorSize(__hs,__val)   cursorSize((__hs),1,(__val))
#undef  get_height
#undef  set_height
#define get_height(__hs)         height((__hs),0,(int)0)
#define set_height(__hs,__val)   height((__hs),1,(__val))
#undef  get_ownerShowHint
#undef  set_ownerShowHint
#define get_ownerShowHint(__hs)         ownerShowHint((__hs),0,(Bool)0)
#define set_ownerShowHint(__hs,__val)   ownerShowHint((__hs),1,(__val))
#undef  get_color
#undef  set_color
#define get_color(__hs)         color((__hs),0,(Color)0)
#define set_color(__hs,__val)   color((__hs),1,(__val))
#undef  get_hintVisible
#undef  set_hintVisible
#define get_hintVisible(__hs)         hintVisible((__hs),0,(int)0)
#define set_hintVisible(__hs,__val)   hintVisible((__hs),1,(__val))
#undef  get_packPropagate
#undef  set_packPropagate
#define get_packPropagate(__hs)         packPropagate((__hs),0,(Bool)0)
#define set_packPropagate(__hs,__val)   packPropagate((__hs),1,(__val))
#undef  get_pixel
#undef  set_pixel
#define get_pixel(__hs)         pixel((__hs),0,(SV *)0)
#define set_pixel(__hs,__val)   pixel((__hs),1,(__val))
#undef  get_pointerType
#undef  set_pointerType
#define get_pointerType(__hs)         pointerType((__hs),0,(int)0)
#define set_pointerType(__hs,__val)   pointerType((__hs),1,(__val))
#undef  get_geomSize
#undef  set_geomSize
#define get_geomSize(__hs)         geomSize((__hs),0,Point_buffer)
#define set_geomSize(__hs,__val)   geomSize((__hs),1,(__val))
#undef  get_current
#undef  set_current
#define get_current(__hs)         current((__hs),0,(Bool)0)
#define set_current(__hs,__val)   current((__hs),1,(__val))
#undef  get_linePattern
#undef  set_linePattern
#define get_linePattern(__hs)         linePattern((__hs),0,(SV *)0)
#define set_linePattern(__hs,__val)   linePattern((__hs),1,(__val))
#undef  get_origin
#undef  set_origin
#define get_origin(__hs)         origin((__hs),0,Point_buffer)
#define set_origin(__hs,__val)   origin((__hs),1,(__val))
#undef  get_popupColorIndex
#undef  set_popupColorIndex
#define get_popupColorIndex(__hs,__var1)         popupColorIndex((__hs),0,(__var1),(Color)0)
#define set_popupColorIndex(__hs,__var1,__val)   popupColorIndex((__hs),1,(__var1),(__val))
#undef  get_left
#undef  set_left
#define get_left(__hs)         left((__hs),0,(int)0)
#define set_left(__hs,__val)   left((__hs),1,(__val))
#undef  get_enabled
#undef  set_enabled
#define get_enabled(__hs)         enabled((__hs),0,(Bool)0)
#define set_enabled(__hs,__val)   enabled((__hs),1,(__val))
#undef  get_cursorPos
#undef  set_cursorPos
#define get_cursorPos(__hs)         cursorPos((__hs),0,Point_buffer)
#define set_cursorPos(__hs,__val)   cursorPos((__hs),1,(__val))
#undef  get_rop
#undef  set_rop
#define get_rop(__hs)         rop((__hs),0,(int)0)
#define set_rop(__hs,__val)   rop((__hs),1,(__val))
#undef  get_transparent
#undef  set_transparent
#define get_transparent(__hs)         transparent((__hs),0,(Bool)0)
#define set_transparent(__hs,__val)   transparent((__hs),1,(__val))
#undef  get_top
#undef  set_top
#define get_top(__hs)         top((__hs),0,(int)0)
#define set_top(__hs,__val)   top((__hs),1,(__val))
#undef  get_pointerPos
#undef  set_pointerPos
#define get_pointerPos(__hs)         pointerPos((__hs),0,Point_buffer)
#define set_pointerPos(__hs,__val)   pointerPos((__hs),1,(__val))
#undef  get_hint
#undef  set_hint
#define get_hint(__hs)         hint((__hs),0,(SV *)0)
#define set_hint(__hs,__val)   hint((__hs),1,(__val))
#undef  get_clipOwner
#undef  set_clipOwner
#define get_clipOwner(__hs)         clipOwner((__hs),0,(Bool)0)
#define set_clipOwner(__hs,__val)   clipOwner((__hs),1,(__val))
#undef  get_bottom
#undef  set_bottom
#define get_bottom(__hs)         bottom((__hs),0,(int)0)
#define set_bottom(__hs,__val)   bottom((__hs),1,(__val))
#undef  get_ownerBackColor
#undef  set_ownerBackColor
#define get_ownerBackColor(__hs)         ownerBackColor((__hs),0,(Bool)0)
#define set_ownerBackColor(__hs,__val)   ownerBackColor((__hs),1,(__val))
#undef  get_eventFlag
#undef  set_eventFlag
#define get_eventFlag(__hs)         eventFlag((__hs),0,(Bool)0)
#define set_eventFlag(__hs,__val)   eventFlag((__hs),1,(__val))
#undef  get_right
#undef  set_right
#define get_right(__hs)         right((__hs),0,(int)0)
#define set_right(__hs,__val)   right((__hs),1,(__val))
#undef  get_lineEnd
#undef  set_lineEnd
#define get_lineEnd(__hs)         lineEnd((__hs),0,(int)0)
#define set_lineEnd(__hs,__val)   lineEnd((__hs),1,(__val))
#undef  get_accelTable
#undef  set_accelTable
#define get_accelTable(__hs)         accelTable((__hs),0,(Handle)0)
#define set_accelTable(__hs,__val)   accelTable((__hs),1,(__val))
#undef  get_name
#undef  set_name
#define get_name(__hs)         name((__hs),0,(SV *)0)
#define set_name(__hs,__val)   name((__hs),1,(__val))
#undef  get_designScale
#undef  set_designScale
#define get_designScale(__hs)         designScale((__hs),0,NPoint_buffer)
#define set_designScale(__hs,__val)   designScale((__hs),1,(__val))
#undef  get_ownerFont
#undef  set_ownerFont
#define get_ownerFont(__hs)         ownerFont((__hs),0,(Bool)0)
#define set_ownerFont(__hs,__val)   ownerFont((__hs),1,(__val))
#undef  get_briefKeys
#undef  set_briefKeys
#define get_briefKeys(__hs)         briefKeys((__hs),0,(Bool)0)
#define set_briefKeys(__hs,__val)   briefKeys((__hs),1,(__val))
#undef  get_fillPattern
#undef  set_fillPattern
#define get_fillPattern(__hs)         fillPattern((__hs),0,(SV *)0)
#define set_fillPattern(__hs,__val)   fillPattern((__hs),1,(__val))
#undef  get_geomWidth
#undef  set_geomWidth
#define get_geomWidth(__hs)         geomWidth((__hs),0,(int)0)
#define set_geomWidth(__hs,__val)   geomWidth((__hs),1,(__val))
#undef  get_ownerColor
#undef  set_ownerColor
#define get_ownerColor(__hs)         ownerColor((__hs),0,(Bool)0)
#define set_ownerColor(__hs,__val)   ownerColor((__hs),1,(__val))
#undef  get_pointerIcon
#undef  set_pointerIcon
#define get_pointerIcon(__hs)         pointerIcon((__hs),0,(Handle)0)
#define set_pointerIcon(__hs,__val)   pointerIcon((__hs),1,(__val))
#undef  get_geometry
#undef  set_geometry
#define get_geometry(__hs)         geometry((__hs),0,(int)0)
#define set_geometry(__hs,__val)   geometry((__hs),1,(__val))
#undef  get_selectedWidget
#undef  set_selectedWidget
#define get_selectedWidget(__hs)         selectedWidget((__hs),0,(Handle)0)
#define set_selectedWidget(__hs,__val)   selectedWidget((__hs),1,(__val))
#undef  get_translate
#undef  set_translate
#define get_translate(__hs)         translate((__hs),0,Point_buffer)
#define set_translate(__hs,__val)   translate((__hs),1,(__val))
#undef  get_delegations
#undef  set_delegations
#define get_delegations(__hs)         delegations((__hs),0,(SV *)0)
#define set_delegations(__hs,__val)   delegations((__hs),1,(__val))
#undef  get_textOpaque
#undef  set_textOpaque
#define get_textOpaque(__hs)         textOpaque((__hs),0,(Bool)0)
#define set_textOpaque(__hs,__val)   textOpaque((__hs),1,(__val))
#undef  get_shape
#undef  set_shape
#define get_shape(__hs)         shape((__hs),0,(Handle)0)
#define set_shape(__hs,__val)   shape((__hs),1,(__val))
#undef  get_placeInfo
#undef  set_placeInfo
#define get_placeInfo(__hs)         placeInfo((__hs),0,(SV *)0)
#define set_placeInfo(__hs,__val)   placeInfo((__hs),1,(__val))
#undef  get_pointerHotSpot
#undef  set_pointerHotSpot
#define get_pointerHotSpot(__hs)         pointerHotSpot((__hs),0,Point_buffer)
#define set_pointerHotSpot(__hs,__val)   pointerHotSpot((__hs),1,(__val))
#undef  get_showHint
#undef  set_showHint
#define get_showHint(__hs)         showHint((__hs),0,(Bool)0)
#define set_showHint(__hs,__val)   showHint((__hs),1,(__val))
#undef  get_clipRect
#undef  set_clipRect
#define get_clipRect(__hs)         clipRect((__hs),0,Rect_buffer)
#define set_clipRect(__hs,__val)   clipRect((__hs),1,(__val))
#undef  get_popupItems
#undef  set_popupItems
#define get_popupItems(__hs)         popupItems((__hs),0,(SV *)0)
#define set_popupItems(__hs,__val)   popupItems((__hs),1,(__val))
#undef  get_colorIndex
#undef  set_colorIndex
#define get_colorIndex(__hs,__var1)         colorIndex((__hs),0,(__var1),(Color)0)
#define set_colorIndex(__hs,__var1,__val)   colorIndex((__hs),1,(__var1),(__val))
#undef  get_syncPaint
#undef  set_syncPaint
#define get_syncPaint(__hs)         syncPaint((__hs),0,(Bool)0)
#define set_syncPaint(__hs,__val)   syncPaint((__hs),1,(__val))
#undef  get_widgetClass
#undef  set_widgetClass
#define get_widgetClass(__hs)         widgetClass((__hs),0,(int)0)
#define set_widgetClass(__hs,__val)   widgetClass((__hs),1,(__val))
#undef  get_accelItems
#undef  set_accelItems
#define get_accelItems(__hs)         accelItems((__hs),0,(SV *)0)
#define set_accelItems(__hs,__val)   accelItems((__hs),1,(__val))
#undef  get_ownerPalette
#undef  set_ownerPalette
#define get_ownerPalette(__hs)         ownerPalette((__hs),0,(Bool)0)
#define set_ownerPalette(__hs,__val)   ownerPalette((__hs),1,(__val))
#undef  get_size
#undef  set_size
#define get_size(__hs)         size((__hs),0,Point_buffer)
#define set_size(__hs,__val)   size((__hs),1,(__val))
#undef  get_geomHeight
#undef  set_geomHeight
#define get_geomHeight(__hs)         geomHeight((__hs),0,(int)0)
#define set_geomHeight(__hs,__val)   geomHeight((__hs),1,(__val))
#undef  get_growMode
#undef  set_growMode
#define get_growMode(__hs)         growMode((__hs),0,(int)0)
#define set_growMode(__hs,__val)   growMode((__hs),1,(__val))
#undef  get_autoEnableChildren
#undef  set_autoEnableChildren
#define get_autoEnableChildren(__hs)         autoEnableChildren((__hs),0,(Bool)0)
#define set_autoEnableChildren(__hs,__val)   autoEnableChildren((__hs),1,(__val))
#undef  get_selected
#undef  set_selected
#define get_selected(__hs)         selected((__hs),0,(Bool)0)
#define set_selected(__hs,__val)   selected((__hs),1,(__val))
#undef  get_owner
#undef  set_owner
#define get_owner(__hs)         owner((__hs),0,(Handle)0)
#define set_owner(__hs,__val)   owner((__hs),1,(__val))
#undef  get_packInfo
#undef  set_packInfo
#define get_packInfo(__hs)         packInfo((__hs),0,(SV *)0)
#define set_packInfo(__hs,__val)   packInfo((__hs),1,(__val))
#undef  get_cursorVisible
#undef  set_cursorVisible
#define get_cursorVisible(__hs)         cursorVisible((__hs),0,(Bool)0)
#define set_cursorVisible(__hs,__val)   cursorVisible((__hs),1,(__val))
#undef  get_visible
#undef  set_visible
#define get_visible(__hs)         visible((__hs),0,(Bool)0)
#define set_visible(__hs,__val)   visible((__hs),1,(__val))
#undef  get_firstClick
#undef  set_firstClick
#define get_firstClick(__hs)         firstClick((__hs),0,(Bool)0)
#define set_firstClick(__hs,__val)   firstClick((__hs),1,(__val))
#undef  get_palette
#undef  set_palette
#define get_palette(__hs)         palette((__hs),0,(SV *)0)
#define set_palette(__hs,__val)   palette((__hs),1,(__val))
#undef  get_scaleChildren
#undef  set_scaleChildren
#define get_scaleChildren(__hs)         scaleChildren((__hs),0,(Bool)0)
#define set_scaleChildren(__hs,__val)   scaleChildren((__hs),1,(__val))
#undef  get_popup
#undef  set_popup
#define get_popup(__hs)         popup((__hs),0,(Handle)0)
#define set_popup(__hs,__val)   popup((__hs),1,(__val))
#undef  get_selectable
#undef  set_selectable
#define get_selectable(__hs)         selectable((__hs),0,(Bool)0)
#define set_selectable(__hs,__val)   selectable((__hs),1,(__val))
#undef  get_tabStop
#undef  set_tabStop
#define get_tabStop(__hs)         tabStop((__hs),0,(Bool)0)
#define set_tabStop(__hs,__val)   tabStop((__hs),1,(__val))
#undef  get_ownerHint
#undef  set_ownerHint
#define get_ownerHint(__hs)         ownerHint((__hs),0,(Bool)0)
#define set_ownerHint(__hs,__val)   ownerHint((__hs),1,(__val))
#undef  get_sizeMin
#undef  set_sizeMin
#define get_sizeMin(__hs)         sizeMin((__hs),0,Point_buffer)
#define set_sizeMin(__hs,__val)   sizeMin((__hs),1,(__val))

#ifdef __cplusplus
}
#endif
#endif
