/usr/share/gtk-doc/html/libgwydgets/GwyVectorLayer.html is in libgwyddion20-doc 2.34-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gwyddion Widgets Library Reference Manual: GwyVectorLayer</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Gwyddion Widgets Library Reference Manual">
<link rel="up" href="DataWindowWidgets.html" title="Data Windows and Views">
<link rel="prev" href="GwyPixmapLayer.html" title="GwyPixmapLayer">
<link rel="next" href="GwyLayerBasic.html" title="GwyLayerBasic">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
|
<a href="#GwyVectorLayer.description" class="shortcut">Description</a>
|
<a href="#GwyVectorLayer.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GwyVectorLayer.properties" class="shortcut">Properties</a>
|
<a href="#GwyVectorLayer.signals" class="shortcut">Signals</a>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="DataWindowWidgets.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GwyPixmapLayer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GwyLayerBasic.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GwyVectorLayer"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GwyVectorLayer.top_of_page"></a>GwyVectorLayer</span></h2>
<p>GwyVectorLayer — Base class for GwyDataView vector (interactive) layers</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GwyVectorLayer.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libgwydgets/gwydgets.h>
struct <a class="link" href="GwyVectorLayer.html#GwyVectorLayer-struct" title="struct GwyVectorLayer">GwyVectorLayer</a>;
struct <a class="link" href="GwyVectorLayer.html#GwyVectorLayerClass" title="struct GwyVectorLayerClass">GwyVectorLayerClass</a>;
<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-class-get-selection-type" title="gwy_vector_layer_class_get_selection_type ()">gwy_vector_layer_class_get_selection_type</a>
(<em class="parameter"><code><a class="link" href="GwyVectorLayer.html#GwyVectorLayerClass" title="struct GwyVectorLayerClass"><span class="type">GwyVectorLayerClass</span></a> *klass</code></em>);
#define <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-get-selection-type" title="gwy_vector_layer_get_selection_type()">gwy_vector_layer_get_selection_type</a> (layer)
<span class="returnvalue">void</span> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-set-selection-key" title="gwy_vector_layer_set_selection_key ()">gwy_vector_layer_set_selection_key</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-get-selection-key" title="gwy_vector_layer_get_selection_key ()">gwy_vector_layer_get_selection_key</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>);
<a href="../libgwydraw/GwySelection.html"><span class="returnvalue">GwySelection</span></a> * <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-ensure-selection" title="gwy_vector_layer_ensure_selection ()">gwy_vector_layer_ensure_selection</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-get-focus" title="gwy_vector_layer_get_focus ()">gwy_vector_layer_get_focus</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-set-focus" title="gwy_vector_layer_set_focus ()">gwy_vector_layer_set_focus</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> focus</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-get-editable" title="gwy_vector_layer_get_editable ()">gwy_vector_layer_get_editable</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-set-editable" title="gwy_vector_layer_set_editable ()">gwy_vector_layer_set_editable</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> editable</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-draw" title="gwy_vector_layer_draw ()">gwy_vector_layer_draw</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
<em class="parameter"><code><span class="type">GwyRenderingTarget</span> target</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-button-press" title="gwy_vector_layer_button_press ()">gwy_vector_layer_button_press</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/gdk3-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a> *event</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-button-release" title="gwy_vector_layer_button_release ()">gwy_vector_layer_button_release</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/gdk3-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a> *event</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-motion-notify" title="gwy_vector_layer_motion_notify ()">gwy_vector_layer_motion_notify</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/gdk3-Event-Structures.html#GdkEventMotion"><span class="type">GdkEventMotion</span></a> *event</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-key-press" title="gwy_vector_layer_key_press ()">gwy_vector_layer_key_press</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-key-release" title="gwy_vector_layer_key_release ()">gwy_vector_layer_key_release</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-object-chosen" title="gwy_vector_layer_object_chosen ()">gwy_vector_layer_object_chosen</a> (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GwyVectorLayer.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a href="/usr/share/gtk-doc/html/gtk2/GtkObject.html">GtkObject</a>
+----<a class="link" href="GwyDataViewLayer.html" title="GwyDataViewLayer">GwyDataViewLayer</a>
+----GwyVectorLayer
</pre>
</div>
<div class="refsect1">
<a name="GwyVectorLayer.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GwyVectorLayer.html#GwyVectorLayer--editable" title='The "editable" property'>editable</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="GwyVectorLayer.html#GwyVectorLayer--focus" title='The "focus" property'>focus</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
"<a class="link" href="GwyVectorLayer.html#GwyVectorLayer--selection-key" title='The "selection-key" property'>selection-key</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GwyVectorLayer.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="GwyVectorLayer.html#GwyVectorLayer-object-chosen" title='The "object-chosen" signal'>object-chosen</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GwyVectorLayer.description"></a><h2>Description</h2>
<p>
<a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> is a base class for <a class="link" href="GwyDataViewLayer.html" title="GwyDataViewLayer"><span class="type">GwyDataViewLayer</span></a>s displaying
selections and handling user input. It is a <a class="link" href="GwyDataView.html" title="GwyDataView"><span class="type">GwyDataView</span></a> component and it
is not normally usable outside of it.
</p>
<p>
The layer takes the selection to display from its parent <a class="link" href="GwyDataView.html" title="GwyDataView"><span class="type">GwyDataView</span></a>'s
container. The key under which the selection is found is set with
<a class="link" href="GwyVectorLayer.html#gwy-vector-layer-set-selection-key" title="gwy_vector_layer_set_selection_key ()"><code class="function">gwy_vector_layer_set_selection_key()</code></a>. The selection either can be put
there beforehand (the corresponding selection type can be obtained with
<a class="link" href="GwyVectorLayer.html#gwy-vector-layer-class-get-selection-type" title="gwy_vector_layer_class_get_selection_type ()"><code class="function">gwy_vector_layer_class_get_selection_type()</code></a>) or
<a class="link" href="GwyVectorLayer.html#gwy-vector-layer-ensure-selection" title="gwy_vector_layer_ensure_selection ()"><code class="function">gwy_vector_layer_ensure_selection()</code></a> can be used to create it if it doesn't
exist.
</p>
<p>
<a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> provides two independent means to restrict user interaction
with displayed selection: editability and focus. When a layer is set
noneditable (see <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-set-editable" title="gwy_vector_layer_set_editable ()"><code class="function">gwy_vector_layer_set_editable()</code></a>), the user cannot modify
displayed objects, however "object-chosen" is emitted normally. Focus
(see <a class="link" href="GwyVectorLayer.html#gwy-vector-layer-set-focus" title="gwy_vector_layer_set_focus ()"><code class="function">gwy_vector_layer_set_focus()</code></a>) on the other hand limits all possible
interactions to a single selection object. It is possible although not
very useful to combine both restrictions.
</p>
<p>
The other methods are rarely useful outside <a class="link" href="GwyDataView.html" title="GwyDataView"><span class="type">GwyDataView</span></a> and/or layer
implementation.
</p>
</div>
<div class="refsect1">
<a name="GwyVectorLayer.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GwyVectorLayer-struct"></a><h3>struct GwyVectorLayer</h3>
<pre class="programlisting">struct GwyVectorLayer;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyVectorLayerClass"></a><h3>struct GwyVectorLayerClass</h3>
<pre class="programlisting">struct GwyVectorLayerClass {
GwyDataViewLayerClass parent_class;
GType selection_type;
/* Signals */
gboolean (*object_chosen)(GwyVectorLayer *layer,
gint id);
/* Virtual table */
void (*draw)(GwyVectorLayer *layer,
GdkDrawable *drawable,
GwyRenderingTarget target);
gboolean (*button_press)(GwyVectorLayer *layer,
GdkEventButton *event);
gboolean (*button_release)(GwyVectorLayer *layer,
GdkEventButton *event);
gboolean (*motion_notify)(GwyVectorLayer *layer,
GdkEventMotion *event);
gboolean (*key_press)(GwyVectorLayer *layer,
GdkEventKey *event);
gboolean (*key_release)(GwyVectorLayer *layer,
GdkEventKey *event);
gboolean (*set_focus)(GwyVectorLayer *layer,
gint object);
void (*reserved1)(void);
void (*reserved2)(void);
void (*reserved3)(void);
void (*reserved4)(void);
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-class-get-selection-type"></a><h3>gwy_vector_layer_class_get_selection_type ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a> gwy_vector_layer_class_get_selection_type
(<em class="parameter"><code><a class="link" href="GwyVectorLayer.html#GwyVectorLayerClass" title="struct GwyVectorLayerClass"><span class="type">GwyVectorLayerClass</span></a> *klass</code></em>);</pre>
<p>
Returns the selection type of a vector layer class.
</p>
<p>
Note this is a class method, to get the type from an instance one can use
<code class="function">gwy_vector_layer_class_selection_type()</code>. To get the type from layer's
<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> one has to use <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-class-peek"><code class="function">g_type_class_peek()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
<td>A vector layer class.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The type of selection used by layers of class <em class="parameter"><code>klass</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-get-selection-type"></a><h3>gwy_vector_layer_get_selection_type()</h3>
<pre class="programlisting">#define gwy_vector_layer_get_selection_type(layer)</pre>
<p>
Gets the selection type of a vector layer.
</p>
<p>
This is a convenience wrapper around
<a class="link" href="GwyVectorLayer.html#gwy-vector-layer-class-get-selection-type" title="gwy_vector_layer_class_get_selection_type ()"><code class="function">gwy_vector_layer_class_get_selection_type()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector layer.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-set-selection-key"></a><h3>gwy_vector_layer_set_selection_key ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_vector_layer_set_selection_key (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
<p>
Sets the selection object to use by a vector layer.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>Container string key identifying the selection object.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-get-selection-key"></a><h3>gwy_vector_layer_get_selection_key ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gwy_vector_layer_get_selection_key (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>);</pre>
<p>
Gets the key identifying selection this vector layer displays.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The string key, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it isn't set.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-ensure-selection"></a><h3>gwy_vector_layer_ensure_selection ()</h3>
<pre class="programlisting"><a href="../libgwydraw/GwySelection.html"><span class="returnvalue">GwySelection</span></a> * gwy_vector_layer_ensure_selection (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>);</pre>
<p>
Ensures a vector layer's selection exist in data container.
</p>
<p>
This method can be called only when layer is plugged into a data view and it
has a selection key set. If the data container contains a selection under
the specified key the selection is returned. If there is none,
a selection of appropriate type is created and put to the container first.
</p>
<p>
Provided the above conditions are met this method is suitable for just
obtaining the selection object a vector layer uses too.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The layer's selection (no reference is added).</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-get-focus"></a><h3>gwy_vector_layer_get_focus ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gwy_vector_layer_get_focus (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>);</pre>
<p>
Gets focused object index.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector data view layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Focued object index, or -1 if no object is focused.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-set-focus"></a><h3>gwy_vector_layer_set_focus ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gwy_vector_layer_set_focus (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> focus</code></em>);</pre>
<p>
Focues on one selection object.
</p>
<p>
When a selection object is focused, it becomes the only one user can
interact with. More precisely, "object-chosen" signal is emitted only
for this object, and if the layer is editable only this object can be
modified by the user.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector data view layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>focus</code></em> :</span></p></td>
<td>Index of object to focus on, use -1 to unfocus (allow interaction
with any object).</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the object was focused, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure. Failure can
be caused by user currently moving another object, wrong object
index, or the feature being unimplemented in <em class="parameter"><code>layer</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-get-editable"></a><h3>gwy_vector_layer_get_editable ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gwy_vector_layer_get_editable (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>);</pre>
<p>
Gets editability of a vector layer.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector data view layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if layer is edtiable, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it is not editable.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-set-editable"></a><h3>gwy_vector_layer_set_editable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_vector_layer_set_editable (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> editable</code></em>);</pre>
<p>
Sets a vector layer editability.
</p>
<p>
It is an error to attempt to set a layer non-editabile while it is being
edited.
</p>
<p>
When a layer is set noneditable, the user cannot change the selection.
However, "object-chosen" signal is still emitted.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector data view layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>editable</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to set layer editable, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to set it noneditable.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-draw"></a><h3>gwy_vector_layer_draw ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_vector_layer_draw (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
<em class="parameter"><code><span class="type">GwyRenderingTarget</span> target</code></em>);</pre>
<p>
Draws <em class="parameter"><code>layer</code></em> on given drawable (which should be a <a class="link" href="GwyDataView.html" title="GwyDataView"><span class="type">GwyDataView</span></a> window).
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector data view layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
<td>A drawable to draw on.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td>
<td>Rendering target.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-button-press"></a><h3>gwy_vector_layer_button_press ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gwy_vector_layer_button_press (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a> *event</code></em>);</pre>
<p>
Sends a mouse button press event to a layer.
</p>
<p>
This method primarily exists for <a class="link" href="GwyDataView.html" title="GwyDataView"><span class="type">GwyDataView</span></a> to forward events to
layers. You should rarely need it.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector data view layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td>A Gdk mouse button event.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event was handled. In practice, it returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-button-release"></a><h3>gwy_vector_layer_button_release ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gwy_vector_layer_button_release (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a> *event</code></em>);</pre>
<p>
Sends a mouse button release event to a layer.
</p>
<p>
This method primarily exists for <a class="link" href="GwyDataView.html" title="GwyDataView"><span class="type">GwyDataView</span></a> to forward events to
layers. You should rarely need it.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector data view layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td>A Gdk mouse button event.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event was handled. In practice, it returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-motion-notify"></a><h3>gwy_vector_layer_motion_notify ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gwy_vector_layer_motion_notify (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEventMotion"><span class="type">GdkEventMotion</span></a> *event</code></em>);</pre>
<p>
Sends a mouse pointer motion notification event to a layer.
</p>
<p>
This method primarily exists for <a class="link" href="GwyDataView.html" title="GwyDataView"><span class="type">GwyDataView</span></a> to forward events to
layers. You should rarely need it.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector data view layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td>A Gdk mouse pointer motion notification event. It can be a hint.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event was handled. In practice, it returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-key-press"></a><h3>gwy_vector_layer_key_press ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gwy_vector_layer_key_press (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);</pre>
<p>
Sends a key press event to a layer.
</p>
<p>
This method primarily exists for <a class="link" href="GwyDataView.html" title="GwyDataView"><span class="type">GwyDataView</span></a> to forward events to
layers. You should rarely need it.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector data view layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td>A Gdk key event.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event was handled. In practice, it returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-key-release"></a><h3>gwy_vector_layer_key_release ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gwy_vector_layer_key_release (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);</pre>
<p>
Sends a key release event to a layer.
</p>
<p>
This method primarily exists for <a class="link" href="GwyDataView.html" title="GwyDataView"><span class="type">GwyDataView</span></a> to forward events to
layers. You should rarely need it.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector data view layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td>A Gdk key event.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event was handled. In practice, it returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-vector-layer-object-chosen"></a><h3>gwy_vector_layer_object_chosen ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_vector_layer_object_chosen (<em class="parameter"><code><a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>);</pre>
<p>
Emits "object-chosen" signal on a vector layer.
</p>
<p>
This function is primarily intended for layer implementations.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
<td>A vector data view layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
<td>Index of the chosen object.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GwyVectorLayer.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GwyVectorLayer--editable"></a><h3>The <code class="literal">"editable"</code> property</h3>
<pre class="programlisting"> "editable" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>Whether selection objects are editable.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyVectorLayer--focus"></a><h3>The <code class="literal">"focus"</code> property</h3>
<pre class="programlisting"> "focus" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
<p>The id of focused object, or -1 if all objects are active.</p>
<p>Allowed values: >= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyVectorLayer--selection-key"></a><h3>The <code class="literal">"selection-key"</code> property</h3>
<pre class="programlisting"> "selection-key" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>The key identifying selection object in data container.</p>
<p>Default value: NULL</p>
</div>
</div>
<div class="refsect1">
<a name="GwyVectorLayer.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GwyVectorLayer-object-chosen"></a><h3>The <code class="literal">"object-chosen"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> *gwyvectorlayer,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> arg1,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
The ::object-chosen signal is emitted when user starts interacting
with a selection object, even before modifying it. It is emitted
even if the layer is not editable, but it is not emitted when focus
is set and the user attempts to choose a different object.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwyvectorlayer</code></em> :</span></p></td>
<td>The <a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer"><span class="type">GwyVectorLayer</span></a> which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>The number (index) of the chosen selection object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GwyVectorLayer.see-also"></a><h2>See Also</h2>
<a class="link" href="standard-vector-layers.html" title="Standard Vector Layers">Standard vector
layers</a>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|