|
| __init__ (const MouseWatcherRegion) |
|
| __init__ (str name, const LVecBase4 frame) |
|
| __init__ (str name, float left, float right, float bottom, float top) |
|
bool | getActive () |
| Returns whether the region is active or not.
|
|
float | getArea () |
| Returns the area of the rectangular region.
|
|
const LVecBase4 | getFrame () |
|
bool | getKeyboard () |
| Returns whether the region is interested in global keyboard events; see set_keyboard().
|
|
int | getSort () |
| Returns the current sorting order of this region.
|
|
int | getSuppressFlags () |
| Returns the current suppress_flags.
|
|
| output (Ostream out) |
|
| setActive (bool active) |
| Sets whether the region is active or not.
|
|
| setFrame (const LVecBase4 frame) |
|
| setFrame (float left, float right, float bottom, float top) |
|
| setKeyboard (bool keyboard) |
| Sets whether the region is interested in global keyboard events.
|
|
| setSort (int sort) |
| Changes the sorting order of this particular region.
|
|
| setSuppressFlags (int suppress_flags) |
| Sets which events are suppressed when the mouse is over the region.
|
|
| write (Ostream out, int indent_level) |
|
Public Member Functions inherited from TypedWritable |
object | __reduce__ () |
|
object | __reduce_persist__ (object pickler) |
|
VectorUchar | encodeToBamStream () |
| Converts the TypedWritable object into a single stream of data using a BamWriter, and returns that data as a bytes object.
|
|
bool | encodeToBamStream (VectorUchar data, BamWriter writer) |
| Converts the TypedWritable object into a single stream of data using a BamWriter, and stores that data in the indicated string.
|
|
| fillin (DatagramIterator scan, BamReader manager) |
| This internal function is intended to be called by each class's make_from_bam() method to read in all of the relevant data from the BamFile for the new object.
|
|
UpdateSeq | getBamModified () |
| Returns the current bam_modified counter.
|
|
| markBamModified () |
| Increments the bam_modified counter, so that this object will be invalidated and retransmitted on any open bam streams.
|
|
Public Member Functions inherited from TypedObject |
TypeHandle | getType () |
|
int | getTypeIndex () |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
|
|
bool | isExactType (TypeHandle handle) |
| Returns true if the current object is the indicated type exactly.
|
|
bool | isOfType (TypeHandle handle) |
| Returns true if the current object is or derives from the indicated type.
|
|
Public Member Functions inherited from ReferenceCount |
int | getRefCount () |
| Returns the current reference count.
|
|
| ref () |
| Explicitly increments the reference count.
|
|
bool | testRefCountIntegrity () |
| Does some easy checks to make sure that the reference count isn't completely bogus.
|
|
bool | testRefCountNonzero () |
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus.
|
|
bool | unref () |
| Explicitly decrements the reference count.
|
|
Public Member Functions inherited from Namable |
| __init__ (const Namable) |
|
| __init__ (str initial_name) |
|
| clearName () |
| Resets the Namable's name to empty.
|
|
str | getName () |
|
bool | hasName () |
| Returns true if the Namable has a nonempty name set, false if the name is empty.
|
|
| output (Ostream out) |
| Outputs the Namable.
|
|
| setName (str name) |
|
This is the class that defines a rectangular region on the screen for the MouseWatcher.
Changes the sorting order of this particular region.
The sorting order is used to resolve conflicts in the case of overlapping region; the region with the highest sort value will be preferred, and between regions of the same sort value, the smallest region will be preferred. The default sorting order, if none is explicitly specified, is 0.
setSuppressFlags |
( |
int | suppress_flags | ) |
|
Sets which events are suppressed when the mouse is over the region.
This is the union of zero or more various SF_* values. Normally, this is 0, indicating that no events are suppressed.
If you set this to a non-zero value, for instance SF_mouse_position, then the mouse position will not be sent along the data graph when the mouse is over this particular region.