Notation used in Ruby API documentation
Module: lay
Description: Specifies how selected objects interact with already selected ones.
This class is equivalent to the class LayoutView::SelectionMode
This enum was introduced in version 0.27.
new LayoutView::SelectionMode ptr | new | (int i) | Creates an enum from an integer value |
new LayoutView::SelectionMode ptr | new | (string s) | Creates an enum from a string value |
[const] | bool | != | (const LayoutView::SelectionMode other) | Compares two enums for inequality |
[const] | bool | != | (int other) | Compares an enum with an integer for inequality |
[const] | bool | < | (const LayoutView::SelectionMode other) | Returns true if the first enum is less (in the enum symbol order) than the second |
[const] | bool | < | (int other) | Returns true if the enum is less (in the enum symbol order) than the integer value |
[const] | bool | == | (const LayoutView::SelectionMode other) | Compares two enums |
[const] | bool | == | (int other) | Compares an enum with an integer value |
[const] | int | hash | Gets the hash value from the enum | |
[const] | string | inspect | Converts an enum to a visual string | |
[const] | int | to_i | Gets the integer value from the enum | |
[const] | string | to_s | Gets the symbolic string from an enum |
[static,const] | LayoutView::SelectionMode | Add | Adds to any existing selection | |
[static,const] | LayoutView::SelectionMode | Invert | Adds to any existing selection, if it's not there yet or removes it from the selection if it's already selected | |
[static,const] | LayoutView::SelectionMode | Replace | Replaces the existing selection | |
[static,const] | LayoutView::SelectionMode | Reset | Removes from any existing selection |
!= | (1) Signature: [const] bool != (const LayoutView::SelectionMode other) Description: Compares two enums for inequality |
(2) Signature: [const] bool != (int other) Description: Compares an enum with an integer for inequality | |
< | (1) Signature: [const] bool < (const LayoutView::SelectionMode other) Description: Returns true if the first enum is less (in the enum symbol order) than the second |
(2) Signature: [const] bool < (int other) Description: Returns true if the enum is less (in the enum symbol order) than the integer value | |
== | (1) Signature: [const] bool == (const LayoutView::SelectionMode other) Description: Compares two enums |
(2) Signature: [const] bool == (int other) Description: Compares an enum with an integer value | |
Add | Signature: [static,const] LayoutView::SelectionMode Add Description: Adds to any existing selection Python specific notes: |
Invert | Signature: [static,const] LayoutView::SelectionMode Invert Description: Adds to any existing selection, if it's not there yet or removes it from the selection if it's already selected Python specific notes: |
Replace | Signature: [static,const] LayoutView::SelectionMode Replace Description: Replaces the existing selection Python specific notes: |
Reset | Signature: [static,const] LayoutView::SelectionMode Reset Description: Removes from any existing selection Python specific notes: |
hash | Signature: [const] int hash Description: Gets the hash value from the enum Python specific notes: |
inspect | Signature: [const] string inspect Description: Converts an enum to a visual string Python specific notes: |
new | (1) Signature: [static] new LayoutView::SelectionMode ptr new (int i) Description: Creates an enum from an integer value Python specific notes: |
(2) Signature: [static] new LayoutView::SelectionMode ptr new (string s) Description: Creates an enum from a string value Python specific notes: | |
to_i | Signature: [const] int to_i Description: Gets the integer value from the enum Python specific notes: |
to_s | Signature: [const] string to_s Description: Gets the symbolic string from an enum Python specific notes: |