Files
clapper/doc/clapper-gtk/class.Container.html
github-actions[bot] 1daccb2a43 doc: Update
2025-04-11 18:12:52 +00:00

1049 lines
45 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
SPDX-FileCopyrightText: Rafał Dzięgiel
SPDX-License-Identifier: LGPL-2.1-or-later
-->
<!DOCTYPE html>
<html lang="en">
<head>
<title>ClapperGtk.Container</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8" />
<meta property="og:type" content="website"/>
<meta property="og:image:width" content="256"/>
<meta property="og:image:height" content="256"/>
<meta property="og:image:secure_url" content="clapper-logo.svg"/>
<meta property="og:image:alt" content="ClapperGtk-0.0"/>
<meta property="og:title" content="ClapperGtk.Container"/>
<meta property="og:description" content="Reference for ClapperGtk.Container"/>
<meta name="twitter:title" content="ClapperGtk.Container"/>
<meta name="twitter:description" content="Reference for ClapperGtk.Container"/>
<meta name="twitter:card" content="summary"/>
<link rel="search" type="application/opensearchdescription+xml" title="ClapperGtk" href="opensearch.xml">
<link rel="stylesheet" href="style.css" type="text/css" />
<script src="urlmap.js"></script>
<script src="fzy.js"></script>
<script src="search.js"></script>
<script src="main.js"></script>
</head>
<body>
<div id="body-wrapper" tabindex="-1">
<nav class="sidebar devhelp-hidden">
<div class="section">
<a href="index.html"><img src="clapper-logo.svg" class="logo"/></a>
</div>
<div class="search section">
<form id="search-form" autocomplete="off">
<input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
</form>
</div>
<div class="section namespace">
<h3><a href="index.html">ClapperGtk</a></h3>
<p>API Version: 0.0</p>
<p>Library Version: 0.9.0</p>
</div>
<div class="section">
<h5>Type</h5>
<div class="links">
<a class="current" href="class.Container.html#description">Container</a>
</div>
</div>
<div class="section">
<h5>Constructors</h5>
<div class="links">
<a class="ctor" href="ctor.Container.new.html">new</a>
</div>
</div>
<div class="section">
<h5>Instance methods</h5>
<div class="links">
<a class="method" href="method.Container.get_adaptive_height.html">get_adaptive_height</a>
<a class="method" href="method.Container.get_adaptive_width.html">get_adaptive_width</a>
<a class="method" href="method.Container.get_child.html">get_child</a>
<a class="method" href="method.Container.get_height_target.html">get_height_target</a>
<a class="method" href="method.Container.get_width_target.html">get_width_target</a>
<a class="method" href="method.Container.set_adaptive_height.html">set_adaptive_height</a>
<a class="method" href="method.Container.set_adaptive_width.html">set_adaptive_width</a>
<a class="method" href="method.Container.set_child.html">set_child</a>
<a class="method" href="method.Container.set_height_target.html">set_height_target</a>
<a class="method" href="method.Container.set_width_target.html">set_width_target</a>
</div>
</div>
<div class="section">
<h5>Properties</h5>
<div class="links">
<a class="property" href="property.Container.adaptive-height.html">adaptive-height</a>
<a class="property" href="property.Container.adaptive-width.html">adaptive-width</a>
<a class="property" href="property.Container.height-target.html">height-target</a>
<a class="property" href="property.Container.width-target.html">width-target</a>
</div>
</div>
<div class="section">
<h5>Signals</h5>
<div class="links">
<a class="signal" href="signal.Container.adapt.html">adapt</a>
</div>
</div>
<div class="section generator">
<p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2025.3</p>
</div>
</nav>
<button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
<section id="main" class="content">
<header>
<h3>Class</h3>
<h1 aria-label="Name"><a href="index.html">ClapperGtk</a><span class="sep" role="presentation"></span>Container</h1>
</header>
<section>
<summary>
<div class="docblock">
<p></p>
</div>
<div class="toggle-wrapper">
<h4 id="description" style="display:flex;">
Description
<a href="#description" class="anchor"></a>
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper-gtk/clapper-gtk-container.c#L20">[src]</a>
</h4>
<pre><code>class ClapperGtk.Container : Gtk.Widget
implements Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
/* No available fields */
}</pre></code>
<div class="docblock">
<p>A simple container widget that holds just one&nbsp;child.</p>
<p>It is designed to work well with <span class="caps">OSD</span> overlay, adding some useful functionalities
to it, such as width and height that widget should target. This helps with
implementing simple adaptive widgets by observing its own width and signalling
when adaptive threshold is&nbsp;reached.</p>
<p>You can use this when you need to create a widget that is adaptive or should have
a limited maximal&nbsp;width/height.</p>
<p>If you need to have more then single widget as child, place a widget that
can hold multiple children such as <a href="javascript:void(0)" data-namespace="Gtk" data-link="class.Box.html" class="external"><code>GtkBox</code></a> as a single conatiner child
and then your widgets into that&nbsp;child.</p>
</div>
<div class="docblock">
</div>
</div>
</summary>
<div class="toggle-wrapper hierarchy">
<h4 id="hierarchy">
Hierarchy
<a href="#hierarchy" class="anchor"></a>
</h4>
<div class="docblock" alt="Hierarchy for ClapperGtk.Container">
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
-->
<!-- Title: hierarchy Pages: 1 -->
<svg width="403pt" height="332pt"
viewBox="0.00 0.00 402.88 332.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 328)">
<title>hierarchy</title>
<!-- this -->
<g id="node1" class="node">
<title>this</title>
<g id="a_node1"><a xlink:title="ClapperGtkContainer">
<path fill="none" stroke="black" d="M229.88,-108C229.88,-108 121.62,-108 121.62,-108 115.62,-108 109.62,-102 109.62,-96 109.62,-96 109.62,-84 109.62,-84 109.62,-78 115.62,-72 121.62,-72 121.62,-72 229.88,-72 229.88,-72 235.88,-72 241.88,-78 241.88,-84 241.88,-84 241.88,-96 241.88,-96 241.88,-102 235.88,-108 229.88,-108"/>
<text text-anchor="middle" x="175.75" y="-83.83" font-family="Times,serif" font-size="14.00">ClapperGtkContainer</text>
</a>
</g>
</g>
<!-- implements_0 -->
<g id="node5" class="node">
<title>implements_0</title>
<g id="a_node5"><a xlink:title="Gtk.Accessible">
<polygon fill="none" stroke="black" points="107.5,-36 0,-36 0,0 107.5,0 107.5,-36"/>
<text text-anchor="middle" x="53.75" y="-14.45" font-family="sans-serif" font-size="14.00">GtkAccessible</text>
</a>
</g>
</g>
<!-- this&#45;&#45;implements_0 -->
<g id="edge4" class="edge">
<title>this&#45;&#45;implements_0</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M145.28,-71.52C126.51,-60.74 102.53,-46.99 83.83,-36.26"/>
</g>
<!-- implements_1 -->
<g id="node6" class="node">
<title>implements_1</title>
<g id="a_node6"><a xlink:title="Gtk.Buildable">
<polygon fill="none" stroke="black" points="226.12,-36 125.38,-36 125.38,0 226.12,0 226.12,-36"/>
<text text-anchor="middle" x="175.75" y="-14.45" font-family="sans-serif" font-size="14.00">GtkBuildable</text>
</a>
</g>
</g>
<!-- this&#45;&#45;implements_1 -->
<g id="edge5" class="edge">
<title>this&#45;&#45;implements_1</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M175.75,-71.7C175.75,-60.85 175.75,-46.92 175.75,-36.1"/>
</g>
<!-- implements_2 -->
<g id="node7" class="node">
<title>implements_2</title>
<g id="a_node7"><a xlink:title="Gtk.ConstraintTarget">
<polygon fill="none" stroke="black" points="394.88,-36 244.62,-36 244.62,0 394.88,0 394.88,-36"/>
<text text-anchor="middle" x="319.75" y="-14.45" font-family="sans-serif" font-size="14.00">GtkConstraintTarget</text>
</a>
</g>
</g>
<!-- this&#45;&#45;implements_2 -->
<g id="edge6" class="edge">
<title>this&#45;&#45;implements_2</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M211.72,-71.52C233.87,-60.74 262.17,-46.99 284.24,-36.26"/>
</g>
<!-- ancestor_0 -->
<g id="node2" class="node">
<title>ancestor_0</title>
<g id="a_node2"><a xlink:title="Gtk.Widget">
<path fill="none" stroke="black" d="M201.75,-180C201.75,-180 149.75,-180 149.75,-180 143.75,-180 137.75,-174 137.75,-168 137.75,-168 137.75,-156 137.75,-156 137.75,-150 143.75,-144 149.75,-144 149.75,-144 201.75,-144 201.75,-144 207.75,-144 213.75,-150 213.75,-156 213.75,-156 213.75,-168 213.75,-168 213.75,-174 207.75,-180 201.75,-180"/>
<text text-anchor="middle" x="175.75" y="-155.82" font-family="Times,serif" font-size="14.00">GtkWidget</text>
</a>
</g>
</g>
<!-- ancestor_0&#45;&#45;this -->
<g id="edge3" class="edge">
<title>ancestor_0&#45;&#45;this</title>
<path fill="none" stroke="black" d="M175.75,-143.7C175.75,-132.85 175.75,-118.92 175.75,-108.1"/>
</g>
<!-- ancestor_1 -->
<g id="node3" class="node">
<title>ancestor_1</title>
<g id="a_node3"><a xlink:title="GObject.InitiallyUnowned">
<path fill="none" stroke="black" d="M224.25,-252C224.25,-252 127.25,-252 127.25,-252 121.25,-252 115.25,-246 115.25,-240 115.25,-240 115.25,-228 115.25,-228 115.25,-222 121.25,-216 127.25,-216 127.25,-216 224.25,-216 224.25,-216 230.25,-216 236.25,-222 236.25,-228 236.25,-228 236.25,-240 236.25,-240 236.25,-246 230.25,-252 224.25,-252"/>
<text text-anchor="middle" x="175.75" y="-227.82" font-family="Times,serif" font-size="14.00">GInitiallyUnowned</text>
</a>
</g>
</g>
<!-- ancestor_1&#45;&#45;ancestor_0 -->
<g id="edge2" class="edge">
<title>ancestor_1&#45;&#45;ancestor_0</title>
<path fill="none" stroke="black" d="M175.75,-215.7C175.75,-204.85 175.75,-190.92 175.75,-180.1"/>
</g>
<!-- ancestor_2 -->
<g id="node4" class="node">
<title>ancestor_2</title>
<g id="a_node4"><a xlink:title="GObject.Object">
<path fill="none" stroke="black" d="M194.62,-324C194.62,-324 156.88,-324 156.88,-324 150.88,-324 144.88,-318 144.88,-312 144.88,-312 144.88,-300 144.88,-300 144.88,-294 150.88,-288 156.88,-288 156.88,-288 194.62,-288 194.62,-288 200.62,-288 206.62,-294 206.62,-300 206.62,-300 206.62,-312 206.62,-312 206.62,-318 200.62,-324 194.62,-324"/>
<text text-anchor="middle" x="175.75" y="-299.82" font-family="Times,serif" font-size="14.00">GObject</text>
</a>
</g>
</g>
<!-- ancestor_2&#45;&#45;ancestor_1 -->
<g id="edge1" class="edge">
<title>ancestor_2&#45;&#45;ancestor_1</title>
<path fill="none" stroke="black" d="M175.75,-287.7C175.75,-276.85 175.75,-262.92 175.75,-252.1"/>
</g>
</g>
</svg>
</div>
</div>
<div class="toggle-wrapper ancestors">
<h4 id="ancestors">
Ancestors
<a href="#ancestors" class="anchor"></a>
</h4>
<div class="docblock">
<ul>
<li class="class"><a class="external" href="javascript:void(0)" data-link="class.Widget.html" data-namespace="Gtk">GtkWidget</a></li>
<li class="class"><a class="external" href="javascript:void(0)" data-link="class.InitiallyUnowned.html" data-namespace="GObject">GInitiallyUnowned</a></li>
<li class="class"><a class="external" href="javascript:void(0)" data-link="class.Object.html" data-namespace="GObject">GObject</a></li>
</ul>
</div>
</div>
<div class="descendants toggle-wrapper default-hide">
<h4 id="descendants">Descendants <a href="#descendants" class="anchor"></a></h4>
<div class="docblock">
<ul>
<li class="class"><a href="class.Billboard.html" title="Billboard">ClapperGtkBillboard</a></li>
<li class="class"><a href="class.LeadContainer.html" title="LeadContainer">ClapperGtkLeadContainer</a></li>
<li class="class"><a href="class.SimpleControls.html" title="SimpleControls">ClapperGtkSimpleControls</a></li>
</ul>
</div>
</div>
<div class="toggle-wrapper implements">
<h4 id="implements">
Implements
<a href="#implements" class="anchor"></a>
</h4>
<div class="docblock">
<ul>
<li class="interface"><a class="external" href="javascript:void(0)" data-link="iface.Accessible.html" data-namespace="Gtk">GtkAccessible</a></li>
<li class="interface"><a class="external" href="javascript:void(0)" data-link="iface.Buildable.html" data-namespace="Gtk">GtkBuildable</a></li>
<li class="interface"><a class="external" href="javascript:void(0)" data-link="iface.ConstraintTarget.html" data-namespace="Gtk">GtkConstraintTarget</a></li>
</ul>
</div>
</div>
<div class="toggle-wrapper constructors">
<h4 id="constructors">
Constructors
<a href="#constructors" class="anchor"></a>
</h4>
<div class="docblock">
<div class="">
<h6><a href="ctor.Container.new.html">clapper_gtk_container_new</a></h6>
<div class="docblock">
<p>Creates a new <code>ClapperGtkContainer</code> instance.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
</div>
</div>
<div class="toggle-wrapper methods">
<h4 id="methods">
Instance methods
<a href="#methods" class="anchor"></a>
</h4>
<div class="docblock">
<div class="">
<h6><a href="method.Container.get_adaptive_height.html">clapper_gtk_container_get_adaptive_height</a></h6>
<div class="docblock">
<p>Get a <code>container</code> adaptive height&nbsp;threshold.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="method.Container.get_adaptive_width.html">clapper_gtk_container_get_adaptive_width</a></h6>
<div class="docblock">
<p>Get a <code>container</code> adaptive width&nbsp;threshold.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="method.Container.get_child.html">clapper_gtk_container_get_child</a></h6>
<div class="docblock">
<p>Get a child <code>GtkWidget</code> of <code>container</code>.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="method.Container.get_height_target.html">clapper_gtk_container_get_height_target</a></h6>
<div class="docblock">
<p>Get a <code>container</code> height&nbsp;target.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="method.Container.get_width_target.html">clapper_gtk_container_get_width_target</a></h6>
<div class="docblock">
<p>Get a <code>container</code> width&nbsp;target.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="method.Container.set_adaptive_height.html">clapper_gtk_container_set_adaptive_height</a></h6>
<div class="docblock">
<p>Set an adaptive height threshold. When widget is resized to value or lower,
an <code>ClapperGtkContainer::adapt</code> signal will be emitted with <code>TRUE</code> to
notify implementation about mobile adaptation request, otherwise <code>FALSE</code> when
both threshold values are&nbsp;exceeded.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="method.Container.set_adaptive_width.html">clapper_gtk_container_set_adaptive_width</a></h6>
<div class="docblock">
<p>Set an adaptive width threshold. When widget is resized to value or lower,
an <code>ClapperGtkContainer::adapt</code> signal will be emitted with <code>TRUE</code> to
notify implementation about mobile adaptation request, otherwise <code>FALSE</code> when
both threshold values are&nbsp;exceeded.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="method.Container.set_child.html">clapper_gtk_container_set_child</a></h6>
<div class="docblock">
<p>Set a child <code>GtkWidget</code> of <code>container</code>.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="method.Container.set_height_target.html">clapper_gtk_container_set_height_target</a></h6>
<div class="docblock">
<p>Same as <code>clapper_gtk_container_set_width_target()</code> but for widget&nbsp;height.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="method.Container.set_width_target.html">clapper_gtk_container_set_width_target</a></h6>
<div class="docblock">
<p>Set a width that <code>container</code> should target. When set container
will not stretch beyond set <code>width</code> while still expanding into
possible boundaries trying to reach its&nbsp;target.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
</div>
<div class="toggle-wrapper default-hide ancestor-methods"><h5 style="display:block;">Methods inherited from <a class="external" href="javascript:void(0)" data-link="class.Widget.html" data-namespace="Gtk">GtkWidget</a> (162)</h5>
<div class="docblock">
<div class="docblock">
<p>Please see&nbsp;<a class="external" href="javascript:void(0)" data-link="class.Widget.html#methods" data-namespace="Gtk">GtkWidget</a>&nbsp;for a full list of methods.</em></p>
</div>
</div>
</div>
<div class="toggle-wrapper default-hide ancestor-methods"><h5 style="display:block;">Methods inherited from <a class="external" href="javascript:void(0)" data-link="class.Object.html" data-namespace="GObject">GObject</a> (43)</h5>
<div class="docblock">
<div class="docblock">
<p>Please see&nbsp;<a class="external" href="javascript:void(0)" data-link="class.Object.html#methods" data-namespace="GObject">GObject</a>&nbsp;for a full list of methods.</em></p>
</div>
</div>
</div>
<div class="toggle-wrapper default-hide ancestor-methods"><h5 style="display:block;">Methods inherited from <a class="external" href="javascript:void(0)" data-link="iface.Accessible.html" data-namespace="Gtk">GtkAccessible</a> (19)</h5>
<div class="docblock">
<h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.announce.html">gtk_accessible_announce</a></h6>
<div class="docblock">
<p>Requests the user&#8217;s screen reader to announce the given&nbsp;message.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.get_accessible_parent.html">gtk_accessible_get_accessible_parent</a></h6>
<div class="docblock">
<p>Retrieves the accessible parent for an accessible&nbsp;object.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.get_accessible_role.html">gtk_accessible_get_accessible_role</a></h6>
<div class="docblock">
<p>Retrieves the accessible role of an accessible&nbsp;object.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.get_at_context.html">gtk_accessible_get_at_context</a></h6>
<div class="docblock">
<p>Retrieves the accessible implementation for the given <code>GtkAccessible</code>.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.get_bounds.html">gtk_accessible_get_bounds</a></h6>
<div class="docblock">
<p>Queries the coordinates and dimensions of this&nbsp;accessible.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.get_first_accessible_child.html">gtk_accessible_get_first_accessible_child</a></h6>
<div class="docblock">
<p>Retrieves the first accessible child of an accessible&nbsp;object.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.get_next_accessible_sibling.html">gtk_accessible_get_next_accessible_sibling</a></h6>
<div class="docblock">
<p>Retrieves the next accessible sibling of an accessible&nbsp;object.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.get_platform_state.html">gtk_accessible_get_platform_state</a></h6>
<div class="docblock">
<p>Query a platform state, such as&nbsp;focus.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.reset_property.html">gtk_accessible_reset_property</a></h6>
<div class="docblock">
<p>Resets the accessible <code>property</code> to its default&nbsp;value.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.reset_relation.html">gtk_accessible_reset_relation</a></h6>
<div class="docblock">
<p>Resets the accessible <code>relation</code> to its default&nbsp;value.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.reset_state.html">gtk_accessible_reset_state</a></h6>
<div class="docblock">
<p>Resets the accessible <code>state</code> to its default&nbsp;value.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.set_accessible_parent.html">gtk_accessible_set_accessible_parent</a></h6>
<div class="docblock">
<p>Sets the parent and sibling of an accessible&nbsp;object.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.update_next_accessible_sibling.html">gtk_accessible_update_next_accessible_sibling</a></h6>
<div class="docblock">
<p>Updates the next accessible sibling of <code>self</code>.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.update_property.html">gtk_accessible_update_property</a></h6>
<div class="docblock">
<p>Updates a list of accessible&nbsp;properties.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.update_property_value.html">gtk_accessible_update_property_value</a></h6>
<div class="docblock">
<p>Updates an array of accessible&nbsp;properties.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.update_relation.html">gtk_accessible_update_relation</a></h6>
<div class="docblock">
<p>Updates a list of accessible&nbsp;relations.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.update_relation_value.html">gtk_accessible_update_relation_value</a></h6>
<div class="docblock">
<p>Updates an array of accessible&nbsp;relations.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.update_state.html">gtk_accessible_update_state</a></h6>
<div class="docblock">
<p>Updates a list of accessible states. See the <code>GtkAccessibleState</code>
documentation for the value types of accessible&nbsp;states.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Accessible.update_state_value.html">gtk_accessible_update_state_value</a></h6>
<div class="docblock">
<p>Updates an array of accessible&nbsp;states.</p>
</div>
</div>
</div>
<div class="toggle-wrapper default-hide ancestor-methods"><h5 style="display:block;">Methods inherited from <a class="external" href="javascript:void(0)" data-link="iface.Buildable.html" data-namespace="Gtk">GtkBuildable</a> (1)</h5>
<div class="docblock">
<h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="method.Buildable.get_buildable_id.html">gtk_buildable_get_buildable_id</a></h6>
<div class="docblock">
<p>Gets the <span class="caps">ID</span> of the <code>buildable</code> object.</p>
</div>
</div>
</div>
</div>
<div class="toggle-wrapper properties">
<h4 id="properties">
Properties
<a href="#properties" class="anchor"></a>
</h4>
<div class="docblock">
<div class="">
<h6><a href="property.Container.adaptive-height.html">ClapperGtk.Container:adaptive-height</a></h6>
<div class="docblock">
<p>Adaptive height threshold that triggers <code>ClapperGtkContainer::adapt</code> signal.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="property.Container.adaptive-width.html">ClapperGtk.Container:adaptive-width</a></h6>
<div class="docblock">
<p>Adaptive width threshold that triggers <code>ClapperGtkContainer::adapt</code> signal.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="property.Container.height-target.html">ClapperGtk.Container:height-target</a></h6>
<div class="docblock">
<p>Height that container should&nbsp;target.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
<div class="">
<h6><a href="property.Container.width-target.html">ClapperGtk.Container:width-target</a></h6>
<div class="docblock">
<p>Width that container should&nbsp;target.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
</div>
<div class="toggle-wrapper default-hide ancestor-properties"><h5 style="display:block;">Properties inherited from <a class="external" href="javascript:void(0)" data-link="class.Widget.html" data-namespace="Gtk">GtkWidget</a> (34)</h5>
<div class="docblock">
<h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.can-focus.html">Gtk.Widget:can-focus</a></h6>
<div class="docblock">
<p>Whether the widget or any of its descendents can accept
the input&nbsp;focus.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.can-target.html">Gtk.Widget:can-target</a></h6>
<div class="docblock">
<p>Whether the widget can receive pointer&nbsp;events.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.css-classes.html">Gtk.Widget:css-classes</a></h6>
<div class="docblock">
<p>A list of css classes applied to this&nbsp;widget.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.css-name.html">Gtk.Widget:css-name</a></h6>
<div class="docblock">
<p>The name of this widget in the <span class="caps">CSS</span>&nbsp;tree.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.cursor.html">Gtk.Widget:cursor</a></h6>
<div class="docblock">
<p>The cursor used by <code>widget</code>.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.focus-on-click.html">Gtk.Widget:focus-on-click</a></h6>
<div class="docblock">
<p>Whether the widget should grab focus when it is clicked with the&nbsp;mouse.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.focusable.html">Gtk.Widget:focusable</a></h6>
<div class="docblock">
<p>Whether this widget itself will accept the input&nbsp;focus.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.halign.html">Gtk.Widget:halign</a></h6>
<div class="docblock">
<p>How to distribute horizontal space if widget gets extra&nbsp;space.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.has-default.html">Gtk.Widget:has-default</a></h6>
<div class="docblock">
<p>Whether the widget is the default&nbsp;widget.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.has-focus.html">Gtk.Widget:has-focus</a></h6>
<div class="docblock">
<p>Whether the widget has the input&nbsp;focus.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.has-tooltip.html">Gtk.Widget:has-tooltip</a></h6>
<div class="docblock">
<p>Enables or disables the emission of the ::query-tooltip signal on <code>widget</code>.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.height-request.html">Gtk.Widget:height-request</a></h6>
<div class="docblock">
<p>Override for height request of the&nbsp;widget.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.hexpand.html">Gtk.Widget:hexpand</a></h6>
<div class="docblock">
<p>Whether to expand&nbsp;horizontally.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.hexpand-set.html">Gtk.Widget:hexpand-set</a></h6>
<div class="docblock">
<p>Whether to use the <code>hexpand</code> property.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.layout-manager.html">Gtk.Widget:layout-manager</a></h6>
<div class="docblock">
<p>The <code>GtkLayoutManager</code> instance to use to compute the preferred size
of the widget, and allocate its&nbsp;children.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.margin-bottom.html">Gtk.Widget:margin-bottom</a></h6>
<div class="docblock">
<p>Margin on bottom side of&nbsp;widget.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.margin-end.html">Gtk.Widget:margin-end</a></h6>
<div class="docblock">
<p>Margin on end of widget,&nbsp;horizontally.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.margin-start.html">Gtk.Widget:margin-start</a></h6>
<div class="docblock">
<p>Margin on start of widget,&nbsp;horizontally.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.margin-top.html">Gtk.Widget:margin-top</a></h6>
<div class="docblock">
<p>Margin on top side of&nbsp;widget.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.name.html">Gtk.Widget:name</a></h6>
<div class="docblock">
<p>The name of the&nbsp;widget.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.opacity.html">Gtk.Widget:opacity</a></h6>
<div class="docblock">
<p>The requested opacity of the&nbsp;widget.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.overflow.html">Gtk.Widget:overflow</a></h6>
<div class="docblock">
<p>How content outside the widget&#8217;s content area is&nbsp;treated.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.parent.html">Gtk.Widget:parent</a></h6>
<div class="docblock">
<p>The parent widget of this&nbsp;widget.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.receives-default.html">Gtk.Widget:receives-default</a></h6>
<div class="docblock">
<p>Whether the widget will receive the default action when it is&nbsp;focused.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.root.html">Gtk.Widget:root</a></h6>
<div class="docblock">
<p>The <code>GtkRoot</code> widget of the widget tree containing this&nbsp;widget.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.scale-factor.html">Gtk.Widget:scale-factor</a></h6>
<div class="docblock">
<p>The scale factor of the&nbsp;widget.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.sensitive.html">Gtk.Widget:sensitive</a></h6>
<div class="docblock">
<p>Whether the widget responds to&nbsp;input.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.tooltip-markup.html">Gtk.Widget:tooltip-markup</a></h6>
<div class="docblock">
<p>Sets the text of tooltip to be the given string, which is marked up
with Pango&nbsp;markup.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.tooltip-text.html">Gtk.Widget:tooltip-text</a></h6>
<div class="docblock">
<p>Sets the text of tooltip to be the given&nbsp;string.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.valign.html">Gtk.Widget:valign</a></h6>
<div class="docblock">
<p>How to distribute vertical space if widget gets extra&nbsp;space.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.vexpand.html">Gtk.Widget:vexpand</a></h6>
<div class="docblock">
<p>Whether to expand&nbsp;vertically.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.vexpand-set.html">Gtk.Widget:vexpand-set</a></h6>
<div class="docblock">
<p>Whether to use the <code>vexpand</code> property.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.visible.html">Gtk.Widget:visible</a></h6>
<div class="docblock">
<p>Whether the widget is&nbsp;visible.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Widget.width-request.html">Gtk.Widget:width-request</a></h6>
<div class="docblock">
<p>Override for width request of the&nbsp;widget.</p>
</div>
</div>
</div>
<div class="toggle-wrapper default-hide ancestor-properties"><h5 style="display:block;">Properties inherited from <a class="external" href="javascript:void(0)" data-link="iface.Accessible.html" data-namespace="Gtk">GtkAccessible</a> (1)</h5>
<div class="docblock">
<h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="property.Accessible.accessible-role.html">Gtk.Accessible:accessible-role</a></h6>
<div class="docblock">
<p>The accessible role of the given <code>GtkAccessible</code> implementation.</p>
</div>
</div>
</div>
</div>
<div class="signals toggle-wrapper">
<h4 id="signals">
Signals
<a href="#signals" class="anchor"></a>
</h4>
<div class="docblock">
<div class="">
<h6><a href="signal.Container.adapt.html">ClapperGtk.Container::adapt</a></h6>
<div class="docblock">
<p>A helper signal for implementing mobile/narrow adaptive
behavior on&nbsp;descendants.</p>
</div>
<div class="docblock">
<p></p>
</div>
</div>
</div>
<div class="toggle-wrapper default-hide ancestor-signals"><h5 style="display:block;">Signals inherited from <a class="external" href="javascript:void(0)" data-link="class.Widget.html" data-namespace="Gtk">GtkWidget</a> (13)</h5>
<div class="docblock">
<h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.destroy.html">GtkWidget::destroy</a></h6>
<div class="docblock">
<p>Signals that all holders of a reference to the widget should release
the reference that they&nbsp;hold.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.direction-changed.html">GtkWidget::direction-changed</a></h6>
<div class="docblock">
<p>Emitted when the text direction of a widget&nbsp;changes.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.hide.html">GtkWidget::hide</a></h6>
<div class="docblock">
<p>Emitted when <code>widget</code> is&nbsp;hidden.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.keynav-failed.html">GtkWidget::keynav-failed</a></h6>
<div class="docblock">
<p>Emitted if keyboard navigation&nbsp;fails.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.map.html">GtkWidget::map</a></h6>
<div class="docblock">
<p>Emitted when <code>widget</code> is going to be&nbsp;mapped.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.mnemonic-activate.html">GtkWidget::mnemonic-activate</a></h6>
<div class="docblock">
<p>Emitted when a widget is activated via a&nbsp;mnemonic.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.move-focus.html">GtkWidget::move-focus</a></h6>
<div class="docblock">
<p>Emitted when the focus is&nbsp;moved.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.query-tooltip.html">GtkWidget::query-tooltip</a></h6>
<div class="docblock">
<p>Emitted when the widgets tooltip is about to be&nbsp;shown.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.realize.html">GtkWidget::realize</a></h6>
<div class="docblock">
<p>Emitted when <code>widget</code> is associated with a <code>GdkSurface</code>.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.show.html">GtkWidget::show</a></h6>
<div class="docblock">
<p>Emitted when <code>widget</code> is&nbsp;shown.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.state-flags-changed.html">GtkWidget::state-flags-changed</a></h6>
<div class="docblock">
<p>Emitted when the widget state&nbsp;changes.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.unmap.html">GtkWidget::unmap</a></h6>
<div class="docblock">
<p>Emitted when <code>widget</code> is going to be&nbsp;unmapped.</p>
</div><h6><a class="external" href="javascript:void(0)" data-namespace="Gtk" data-link="signal.Widget.unrealize.html">GtkWidget::unrealize</a></h6>
<div class="docblock">
<p>Emitted when the <code>GdkSurface</code> associated with <code>widget</code> is&nbsp;destroyed.</p>
</div>
</div>
</div>
<div class="toggle-wrapper default-hide ancestor-signals"><h5 style="display:block;">Signals inherited from <a class="external" href="javascript:void(0)" data-link="class.Object.html" data-namespace="GObject">GObject</a> (1)</h5>
<div class="docblock">
<h6><a class="external" href="javascript:void(0)" data-namespace="GObject" data-link="signal.Object.notify.html">GObject::notify</a></h6>
<div class="docblock">
<p>The notify signal is emitted on an object when one of its properties has
its value set through g_object_set_property(), g_object_set(), et&nbsp;al.</p>
</div>
</div>
</div>
</div>
<div class="class toggle-wrapper default-hide">
<h4 id="class-struct">
Class structure
<a href="#class-struct" class="anchor"></a>
</h4>
<div class="docblock">
<pre><code>struct ClapperGtkContainerClass {
GtkWidgetClass parent_class;
}</code></pre>
</div>
<div class="docblock">
<p>No description available.</p>
</div>
<div class="docblock">
<h6>Class members</h6>
<dl class="members">
<dt><code>parent_class: GtkWidgetClass</code></dt>
<dd><p>No description available.</p></dd>
</dd>
</div>
</div>
</section>
</section>
<div id="toc" class="toc">
<nav aria-labelledby="toc-title">
<p id="toc-title">Content</p>
<ul class="toc-list">
<li class="toc-list-item"><a href="#description"><span class="link-text">Description</span></a></li>
<li class="toc-list-item"><a href="#hierarchy"><span class="link-text">Hierarchy</span></a></li>
<li class="toc-list-item"><a href="#ancestors"><span class="link-text">Ancestors</span></a></li>
<li class="toc-list-item"><a href="#implements"><span class="link-text">Implements</span></a></li>
<li class="toc-list-item"><a href="#constructors"><span class="link-text">Constructors</span></a></li>
<li class="toc-list-item"><a href="#methods"><span class="link-text">Methods</span></a></li>
<li class="toc-list-item"><a href="#properties"><span class="link-text">Properties</span></a></li>
<li class="toc-list-item"><a href="#signals"><span class="link-text">Signals</span></a></li>
</ul>
</nav>
</div>
<section id="search" class="content hidden"></section>
<footer>
</footer>
</div>
</body>
</html>