gtkTestFindSibling: gtkTestFindSibling

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

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

1
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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.