mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
237 lines
6.5 KiB
HTML
237 lines
6.5 KiB
HTML
<!--
|
|
SPDX-FileCopyrightText: Rafał Dzięgiel
|
|
|
|
SPDX-License-Identifier: LGPL-2.1-or-later
|
|
-->
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>ClapperGtk.Container.set_adaptive_height</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 priority="og:title" content="ClapperGtk.Container.set_adaptive_height"/>
|
|
<meta priority="og:description" content="Reference for ClapperGtk.Container.set_adaptive_height"/>
|
|
<meta name="twitter:title" content="ClapperGtk.Container.set_adaptive_height"/>
|
|
<meta name="twitter:description" content="Reference for ClapperGtk.Container.set_adaptive_height"/>
|
|
|
|
|
|
|
|
<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">
|
|
<img src="clapper-logo.svg" class="logo"/>
|
|
</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.5.2</p>
|
|
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h5>Type</h5>
|
|
<div class="links">
|
|
<a href="class.Container.html">Container</a>
|
|
</div>
|
|
</div>
|
|
<div class="section">
|
|
<h5>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 current" 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 generator">
|
|
<p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2023.3</p>
|
|
</div>
|
|
</nav>
|
|
|
|
<button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
|
|
|
|
|
|
<section id="main" class="content">
|
|
<header>
|
|
<h3>Method</h3>
|
|
<h1><a href="index.html">ClapperGtk</a><span class="sep"></span><a href="class.Container.html">Container</a><span class="sep"></span>set_adaptive_height</h1>
|
|
</header>
|
|
|
|
<section>
|
|
<div class="docblock">
|
|
<p></p>
|
|
</div>
|
|
|
|
<div class="declaration toggle-wrapper">
|
|
<h4 style="display:flex;" id="declaration">
|
|
Declaration
|
|
<a class="anchor" href="#declaration"></a>
|
|
|
|
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/lib/clapper-gtk/clapper-gtk-container.h#L59">[src]</a>
|
|
|
|
</h4>
|
|
|
|
<div class="docblock c-decl">
|
|
<pre><code><div class="highlight"><pre><span></span><span class="kt">void</span>
|
|
<span class="n">clapper_gtk_container_set_adaptive_height</span><span class="w"> </span><span class="p">(</span>
|
|
<span class="w"> </span><span class="n">ClapperGtkContainer</span><span class="o">*</span><span class="w"> </span><span class="n">container</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="n">gint</span><span class="w"> </span><span class="n">height</span>
|
|
<span class="p">)</span>
|
|
</pre></div>
|
|
</code></pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="description toggle-wrapper">
|
|
<h4 style="display:flex;" id="description">
|
|
Description
|
|
<a class="anchor" href="#description"></a>
|
|
|
|
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/lib/clapper-gtk/clapper-gtk-container.c#L235">[src]</a>
|
|
|
|
</h4>
|
|
|
|
<div class="docblock">
|
|
<p>Set an adaptive height threshold. When widget is resized to value or lower,
|
|
an <a href="signal.Container.adapt.html"><code>ClapperGtkContainer::adapt</code></a> signal will be emitted with <code>TRUE</code> to
|
|
notify implementation about mobile adaptation request, otherwise <code>FALSE</code> when
|
|
both threshold values are exceeded.</p>
|
|
</div>
|
|
|
|
<div class="docblock">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="docblock">
|
|
<table>
|
|
|
|
<tr><td>Sets property</td><td><a href="property.Container.adaptive-height.html"><code>ClapperGtk.Container:adaptive-height</code></a></td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="parameters toggle-wrapper">
|
|
<h4 id="parameters">
|
|
Parameters
|
|
<a href="#parameters" class="anchor"></a>
|
|
</h4>
|
|
|
|
<div class="docblock">
|
|
<dl class="arguments">
|
|
|
|
<dt class="arg-name"><code>height</code></dt>
|
|
<dd class="arg-description">
|
|
<p><em>Type:</em> <code>gint</code></p>
|
|
<p><p>A threshold on which adapt signal should be triggered or -1 to disable.</p></p>
|
|
<table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</table>
|
|
</dd>
|
|
|
|
|
|
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</section>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section id="search" class="content hidden"></section>
|
|
|
|
<footer>
|
|
|
|
</footer>
|
|
</div>
|
|
</body>
|
|
</html> |