gtkTestFindSibling {RGtk2} | R Documentation

## gtkTestFindSibling

### Description

This function will search siblings of `base.widget` and siblings of its ancestors for all widgets matching `widget.type`. Of the matching widgets, the one that is geometrically closest to `base.widget` will be returned. The general purpose of this function is to find the most likely "action" widget, relative to another labeling widget. Such as finding a button or text entry widget, given it's corresponding label widget.

### Usage

    gtkTestFindSibling(base.widget, widget.type)

### Arguments

``base.widget`` | Valid widget, part of a widget hierarchy
``widget.type`` | Type of a aearched for sibling widget

### Details

Since 2.14

### Value

[`GtkWidget`] a widget of type `widget.type` if any is found.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]