RGtk2 (version 2.20.31)

gtkTestFindSibling: 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

Value

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

Details

Since 2.14