PtRegion

PtRegion -- A means to access and control regions of the interface.

Synopsis

class PtRegion PtContainer
{
    region_fields;         // flag  (Pt_ARG_REGION_FIELDS)    
    region_flags;          // flag  (Pt_ARG_REGION_FLAGS)    
    region_handle;         // unsigned long  (Pt_ARG_REGION_HANDLE)    
    region_infront;        // region ID  (Pt_ARG_REGION_INFRONT)    
    region_input_group;    // unsigned short  (Pt_ARG_REGION_INPUT_GROUP)    
    region_opaque;         // flag  (Pt_ARG_REGION_OPAQUE)    
    region_owner;          // long  (Pt_ARG_REGION_OWNER)    
    region_parent;         // region ID  (Pt_ARG_REGION_PARENT)    
    region_sense;          // flag  (Pt_ARG_REGION_SENSE)    
}
		

Base Classes

PtWidget <-- PtBasic <-- PtContainer <-- PtRegion

Description

This is a widget representation of the PhRegion class, providing access and control of a region in the widget environment.

Note

For detailed information, please refer to PtRegion in the Photon documentation.

Instance Variables

region_fields

Most of these flags control access to instance variables. They must be set before any changes for that variable will take effect.

This instance variable may be a combination of zero or more of the following flags:

region_flags

This instance variable specifies region characteristics, and may be a combination of zero or more of the following flags:

region_handle

A widget pointer that specifies the widget associated with the region. Set to 0 or leave the default. This variable's corresponding flag must be set in the region_fields variable.

region_infront

A region ID number that specifies the region in front of this region when it is opened. 0 puts this region in front of all brothers. This variable's corresponding flag must be set in the region_fields variable.

region_input_group

A number that specifies the region's input group. This variable's corresponding flag must be set in the region_fields variable.

region_opaque

Flags that specify any events that the region is opaque to. This variable's corresponding flag must be set in the region_fields variable.

region_owner

A number that specifies the owner of the region. This variable's corresponding flag must be set in the region_fields variable.

region_parent

A region ID number that specifies the parent region for this region. This variable's corresponding flag must be set in the region_fields variable.

region_sense

Flags that specify events the region is sensitive to. This variable's corresponding flag must be set in the region_fields variable.

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.