
| Name | Type | Default | Access |
|---|---|---|---|
| XmNarrowLength | int | 8 | CSG |
| XmNarrowStyle | int | XintFILLED | CSG |
| XmNbaseAngle | int | 45 | CSG |
| XmNline | XintLine * | {{0,0}, {1,1}} | CSG |
| XmNlineEnd | int | XintNO_ARROW | CSG |
| XmNtipAngle | int | 25 | CSG |
typedef struct {
float start_x;
float start_y;
float end_x;
float end_y;
} XintLine;
where
| Member | Description |
|---|---|
| start_x, start_y | Coordinates of the line starting point. |
| end_x, end_y | Coordinates of the line ending point. |
| Resource Value | Description |
|---|---|
| XintNO_ARROW | No arrow is drawn. |
| XintDOUBLE_ARROW | An arrow on each end of the line is drawn. |
| XintEND_ARROW | An arrow on the line ending point is drawn. |
| XintSTART_ARROW | An arrow on the line starting point is draw. |
| Data Type | Member | Description |
|---|---|---|
| int | reason | Indicates why the callback was invoked. |
| XEvent * | event | Points to the XEvent that triggered the callback. |
| Boolean | doit | Set to False to cancel the operation on the Line object. |
| XintLine * | old_line | Current end points for the line. |
| XintLine * | new_line | Proposed new end points for the line. |
Object XintCreateLine (...)
| Widget | parent | Parent of new Line object. |
| char * | name | Name of new Line object. |
| ArgList | arglist | List of resource/value items. |
| Cardinal | argcount | Number of items in arglist. |
Boolean XintIsLine (Object object)