libcosmic/cosmic/iced/widget/index.html
2026-04-18 20:11:25 +00:00

20 lines
No EOL
30 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Use the built-in widgets or create your own."><title>cosmic::iced::widget - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module widget</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#macros" title="Macros">Macros</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>iced</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">iced</a></div><h1>Module <span>widget</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Use the built-in widgets or create your own.</p>
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="button/index.html" title="mod cosmic::iced::widget::button">button</a></dt><dd>Buttons allow your users to perform actions by pressing them.</dd><dt><a class="mod" href="canvas/index.html" title="mod cosmic::iced::widget::canvas">canvas</a></dt><dd>Canvases can be leveraged to draw interactive 2D graphics.</dd><dt><a class="mod" href="checkbox/index.html" title="mod cosmic::iced::widget::checkbox">checkbox</a></dt><dd>Checkboxes can be used to let users make binary choices.</dd><dt><a class="mod" href="column/index.html" title="mod cosmic::iced::widget::column">column</a></dt><dd>Distribute content vertically.</dd><dt><a class="mod" href="combo_box/index.html" title="mod cosmic::iced::widget::combo_box">combo_<wbr>box</a></dt><dd>Combo boxes display a dropdown list of searchable and selectable options.</dd><dt><a class="mod" href="container/index.html" title="mod cosmic::iced::widget::container">container</a></dt><dd>Containers let you align a widget inside their boundaries.</dd><dt><a class="mod" href="float/index.html" title="mod cosmic::iced::widget::float">float</a></dt><dd>Make elements float!</dd><dt><a class="mod" href="grid/index.html" title="mod cosmic::iced::widget::grid">grid</a></dt><dd>Distribute content on a grid.</dd><dt><a class="mod" href="image/index.html" title="mod cosmic::iced::widget::image">image</a></dt><dd>Images display raster graphics in different formats (PNG, JPG, etc.).</dd><dt><a class="mod" href="keyed/index.html" title="mod cosmic::iced::widget::keyed">keyed</a></dt><dd>Keyed widgets can provide hints to ensure continuity.</dd><dt><a class="mod" href="list/index.html" title="mod cosmic::iced::widget::list">list</a></dt><dt><a class="mod" href="overlay/index.html" title="mod cosmic::iced::widget::overlay">overlay</a></dt><dd>Display interactive elements on top of other widgets.</dd><dt><a class="mod" href="pane_grid/index.html" title="mod cosmic::iced::widget::pane_grid">pane_<wbr>grid</a></dt><dd>Pane grids let your users split regions of your application and organize layout dynamically.</dd><dt><a class="mod" href="pick_list/index.html" title="mod cosmic::iced::widget::pick_list">pick_<wbr>list</a></dt><dd>Pick lists display a dropdown list of selectable options.</dd><dt><a class="mod" href="progress_bar/index.html" title="mod cosmic::iced::widget::progress_bar">progress_<wbr>bar</a></dt><dd>Progress bars visualize the progression of an extended computer operation, such as a download, file transfer, or installation.</dd><dt><a class="mod" href="radio/index.html" title="mod cosmic::iced::widget::radio">radio</a></dt><dd>Radio buttons let users choose a single option from a bunch of options.</dd><dt><a class="mod" href="row/index.html" title="mod cosmic::iced::widget::row">row</a></dt><dd>Distribute content horizontally.</dd><dt><a class="mod" href="rule/index.html" title="mod cosmic::iced::widget::rule">rule</a></dt><dd>Rules divide space horizontally or vertically.</dd><dt><a class="mod" href="scrollable/index.html" title="mod cosmic::iced::widget::scrollable">scrollable</a></dt><dd>Scrollables let users navigate an endless amount of content with a scrollbar.</dd><dt><a class="mod" href="sensor/index.html" title="mod cosmic::iced::widget::sensor">sensor</a></dt><dd>Generate messages when content pops in and out of view.</dd><dt><a class="mod" href="slider/index.html" title="mod cosmic::iced::widget::slider">slider</a></dt><dd>Sliders let users set a value by moving an indicator.</dd><dt><a class="mod" href="space/index.html" title="mod cosmic::iced::widget::space">space</a></dt><dd>Add some explicit spacing between elements.</dd><dt><a class="mod" href="svg/index.html" title="mod cosmic::iced::widget::svg">svg</a></dt><dd>Svg widgets display vector graphics in your application.</dd><dt><a class="mod" href="table/index.html" title="mod cosmic::iced::widget::table">table</a></dt><dd>Display tables.</dd><dt><a class="mod" href="text/index.html" title="mod cosmic::iced::widget::text">text</a></dt><dd>Draw and interact with text.</dd><dt><a class="mod" href="text_editor/index.html" title="mod cosmic::iced::widget::text_editor">text_<wbr>editor</a></dt><dd>Text editors display a multi-line text input for text editing.</dd><dt><a class="mod" href="text_input/index.html" title="mod cosmic::iced::widget::text_input">text_<wbr>input</a></dt><dd>Text inputs display fields that can be filled with text.</dd><dt><a class="mod" href="toggler/index.html" title="mod cosmic::iced::widget::toggler">toggler</a></dt><dd>Togglers let users make binary choices by toggling a switch.</dd><dt><a class="mod" href="tooltip/index.html" title="mod cosmic::iced::widget::tooltip">tooltip</a></dt><dd>Tooltips display a hint of information over some element when hovered.</dd><dt><a class="mod" href="vertical_slider/index.html" title="mod cosmic::iced::widget::vertical_slider">vertical_<wbr>slider</a></dt><dd>Sliders let users set a value by moving an indicator.</dd></dl><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.column.html" title="macro cosmic::iced::widget::column">column</a></dt><dd>Creates a <a href="../../widget/struct.Column.html" title="struct cosmic::widget::Column"><code>Column</code></a> with the given children.</dd><dt><a class="macro" href="macro.grid.html" title="macro cosmic::iced::widget::grid">grid</a></dt><dd>Creates a <a href="struct.Grid.html" title="struct cosmic::iced::widget::Grid"><code>Grid</code></a> with the given children.</dd><dt><a class="macro" href="macro.keyed_column.html" title="macro cosmic::iced::widget::keyed_column">keyed_<wbr>column</a></dt><dd>Creates a keyed <a href="keyed/struct.Column.html" title="struct cosmic::iced::widget::keyed::Column"><code>Column</code></a> with the given children.</dd><dt><a class="macro" href="macro.rich_text.html" title="macro cosmic::iced::widget::rich_text">rich_<wbr>text</a></dt><dd>Creates some <a href="text/struct.Rich.html" title="struct cosmic::iced::widget::text::Rich"><code>Rich</code></a> text with the given spans.</dd><dt><a class="macro" href="macro.row.html" title="macro cosmic::iced::widget::row">row</a></dt><dd>Creates a <a href="../../widget/struct.Row.html" title="struct cosmic::widget::Row"><code>Row</code></a> with the given children.</dd><dt><a class="macro" href="macro.stack.html" title="macro cosmic::iced::widget::stack">stack</a></dt><dd>Creates a <a href="struct.Stack.html" title="struct cosmic::iced::widget::Stack"><code>Stack</code></a> with the given children.</dd><dt><a class="macro" href="macro.text.html" title="macro cosmic::iced::widget::text">text</a></dt><dd>Creates a new <a href="../advanced/widget/struct.Text.html" title="struct cosmic::iced::advanced::widget::Text"><code>Text</code></a> widget with the provided content.</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Action.html" title="struct cosmic::iced::widget::Action">Action</a></dt><dd>A runtime action that can be performed by some widgets.</dd><dt><a class="struct" href="struct.Button.html" title="struct cosmic::iced::widget::Button">Button</a></dt><dd>A generic widget that produces a message when pressed.</dd><dt><a class="struct" href="struct.Canvas.html" title="struct cosmic::iced::widget::Canvas">Canvas</a></dt><dd>A widget capable of drawing 2D graphics.</dd><dt><a class="struct" href="struct.Checkbox.html" title="struct cosmic::iced::widget::Checkbox">Checkbox</a></dt><dd>A box that can be checked.</dd><dt><a class="struct" href="struct.Column.html" title="struct cosmic::iced::widget::Column">Column</a></dt><dd>A container that distributes its contents vertically.</dd><dt><a class="struct" href="struct.ComboBox.html" title="struct cosmic::iced::widget::ComboBox">Combo<wbr>Box</a></dt><dd>A widget for searching and selecting a single value from a list of options.</dd><dt><a class="struct" href="struct.Container.html" title="struct cosmic::iced::widget::Container">Container</a></dt><dd>A widget that aligns its contents inside of its boundaries.</dd><dt><a class="struct" href="struct.Float.html" title="struct cosmic::iced::widget::Float">Float</a></dt><dd>A widget that can make its contents float over other widgets.</dd><dt><a class="struct" href="struct.Grid.html" title="struct cosmic::iced::widget::Grid">Grid</a></dt><dd>A container that distributes its contents on a responsive grid.</dd><dt><a class="struct" href="struct.Id.html" title="struct cosmic::iced::widget::Id">Id</a></dt><dd>The identifier of a generic widget.</dd><dt><a class="struct" href="struct.Image.html" title="struct cosmic::iced::widget::Image">Image</a></dt><dd>A frame that displays an image while keeping aspect ratio.</dd><dt><a class="struct" href="struct.Lazy.html" title="struct cosmic::iced::widget::Lazy">Lazy</a></dt><dd>A widget that only rebuilds its contents when necessary.</dd><dt><a class="struct" href="struct.List.html" title="struct cosmic::iced::widget::List">List</a></dt><dt><a class="struct" href="struct.MouseArea.html" title="struct cosmic::iced::widget::MouseArea">Mouse<wbr>Area</a></dt><dd>Emit messages on mouse events.</dd><dt><a class="struct" href="struct.PaneGrid.html" title="struct cosmic::iced::widget::PaneGrid">Pane<wbr>Grid</a></dt><dd>A collection of panes distributed using either vertical or horizontal splits
to completely fill the space available.</dd><dt><a class="struct" href="struct.PickList.html" title="struct cosmic::iced::widget::PickList">Pick<wbr>List</a></dt><dd>A widget for selecting a single value from a list of options.</dd><dt><a class="struct" href="struct.Pin.html" title="struct cosmic::iced::widget::Pin">Pin</a></dt><dd>A widget that positions its contents at some fixed coordinates inside of its boundaries.</dd><dt><a class="struct" href="struct.ProgressBar.html" title="struct cosmic::iced::widget::ProgressBar">Progress<wbr>Bar</a></dt><dd>A bar that displays progress.</dd><dt><a class="struct" href="struct.Radio.html" title="struct cosmic::iced::widget::Radio">Radio</a></dt><dd>A circular button representing a choice.</dd><dt><a class="struct" href="struct.Responsive.html" title="struct cosmic::iced::widget::Responsive">Responsive</a></dt><dd>A widget that is aware of its dimensions.</dd><dt><a class="struct" href="struct.Row.html" title="struct cosmic::iced::widget::Row">Row</a></dt><dd>A container that distributes its contents horizontally.</dd><dt><a class="struct" href="struct.Rule.html" title="struct cosmic::iced::widget::Rule">Rule</a></dt><dd>Display a horizontal or vertical rule for dividing content.</dd><dt><a class="struct" href="struct.Scrollable.html" title="struct cosmic::iced::widget::Scrollable">Scrollable</a></dt><dd>A widget that can vertically display an infinite amount of content with a
scrollbar.</dd><dt><a class="struct" href="struct.Sensor.html" title="struct cosmic::iced::widget::Sensor">Sensor</a></dt><dd>A widget that can generate messages when its content pops in and out of view.</dd><dt><a class="struct" href="struct.Slider.html" title="struct cosmic::iced::widget::Slider">Slider</a></dt><dd>An horizontal bar and a handle that selects a single value from a range of
values.</dd><dt><a class="struct" href="struct.Space.html" title="struct cosmic::iced::widget::Space">Space</a></dt><dd>An amount of empty space.</dd><dt><a class="struct" href="struct.Stack.html" title="struct cosmic::iced::widget::Stack">Stack</a></dt><dd>A container that displays children on top of each other.</dd><dt><a class="struct" href="struct.Svg.html" title="struct cosmic::iced::widget::Svg">Svg</a></dt><dd>A vector graphics image.</dd><dt><a class="struct" href="struct.TextEditor.html" title="struct cosmic::iced::widget::TextEditor">Text<wbr>Editor</a></dt><dd>A multi-line text input.</dd><dt><a class="struct" href="struct.TextInput.html" title="struct cosmic::iced::widget::TextInput">Text<wbr>Input</a></dt><dd>A field that can be filled with text.</dd><dt><a class="struct" href="struct.Themer.html" title="struct cosmic::iced::widget::Themer">Themer</a></dt><dd>A widget that applies any <code>Theme</code> to its contents.</dd><dt><a class="struct" href="struct.Toggler.html" title="struct cosmic::iced::widget::Toggler">Toggler</a></dt><dd>A toggler widget.</dd><dt><a class="struct" href="struct.Tooltip.html" title="struct cosmic::iced::widget::Tooltip">Tooltip</a></dt><dd>An element to display a widget over another.</dd><dt><a class="struct" href="struct.VerticalSlider.html" title="struct cosmic::iced::widget::VerticalSlider">Vertical<wbr>Slider</a></dt><dd>An vertical bar and a handle that selects a single value from a range of
values.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.Theme.html" title="enum cosmic::iced::widget::Theme">Theme</a></dt><dd>A built-in theme.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.Component.html" title="trait cosmic::iced::widget::Component">Component</a><wbr><span class="stab deprecated" title="">Deprecated</span></dt><dd>A reusable, custom widget that uses The Elm Architecture.</dd></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.bottom.html" title="fn cosmic::iced::widget::bottom">bottom</a></dt><dd>Creates a new <a href="../../widget/struct.Container.html" title="struct cosmic::widget::Container"><code>Container</code></a> that fills all the available space
vertically and bottom-aligns its contents inside.</dd><dt><a class="fn" href="fn.bottom_center.html" title="fn cosmic::iced::widget::bottom_center">bottom_<wbr>center</a></dt><dd>Creates a new <a href="../../widget/struct.Container.html" title="struct cosmic::widget::Container"><code>Container</code></a> that fills all the available space
and aligns its contents inside to the bottom center.</dd><dt><a class="fn" href="fn.bottom_right.html" title="fn cosmic::iced::widget::bottom_right">bottom_<wbr>right</a></dt><dd>Creates a new <a href="../../widget/struct.Container.html" title="struct cosmic::widget::Container"><code>Container</code></a> that fills all the available space
and aligns its contents inside to the bottom right corner.</dd><dt><a class="fn" href="fn.button.html" title="fn cosmic::iced::widget::button">button</a></dt><dd>Creates a new <a href="struct.Button.html" title="struct cosmic::iced::widget::Button"><code>Button</code></a> with the provided content.</dd><dt><a class="fn" href="fn.canvas.html" title="fn cosmic::iced::widget::canvas">canvas</a></dt><dd>Creates a new <a href="../../widget/struct.Canvas.html" title="struct cosmic::widget::Canvas"><code>Canvas</code></a>.</dd><dt><a class="fn" href="fn.center.html" title="fn cosmic::iced::widget::center">center</a></dt><dd>Creates a new <a href="../../widget/struct.Container.html" title="struct cosmic::widget::Container"><code>Container</code></a> that fills all the available space
and centers its contents inside.</dd><dt><a class="fn" href="fn.center_x.html" title="fn cosmic::iced::widget::center_x">center_<wbr>x</a></dt><dd>Creates a new <a href="../../widget/struct.Container.html" title="struct cosmic::widget::Container"><code>Container</code></a> that fills all the available space
horizontally and centers its contents inside.</dd><dt><a class="fn" href="fn.center_y.html" title="fn cosmic::iced::widget::center_y">center_<wbr>y</a></dt><dd>Creates a new <a href="../../widget/struct.Container.html" title="struct cosmic::widget::Container"><code>Container</code></a> that fills all the available space
vertically and centers its contents inside.</dd><dt><a class="fn" href="fn.checkbox.html" title="fn cosmic::iced::widget::checkbox">checkbox</a></dt><dd>Creates a new <a href="../../widget/struct.Checkbox.html" title="struct cosmic::widget::Checkbox"><code>Checkbox</code></a>.</dd><dt><a class="fn" href="fn.column.html" title="fn cosmic::iced::widget::column">column</a></dt><dd>Creates a new <a href="../../widget/struct.Column.html" title="struct cosmic::widget::Column"><code>Column</code></a> with the given children.</dd><dt><a class="fn" href="fn.combo_box.html" title="fn cosmic::iced::widget::combo_box">combo_<wbr>box</a></dt><dd>Creates a new <a href="../../widget/struct.ComboBox.html" title="struct cosmic::widget::ComboBox"><code>ComboBox</code></a>.</dd><dt><a class="fn" href="fn.component.html" title="fn cosmic::iced::widget::component">component</a><wbr><span class="stab deprecated" title="">Deprecated</span></dt><dd>Turns an implementor of <a href="trait.Component.html" title="trait cosmic::iced::widget::Component"><code>Component</code></a> into an <a href="../daemon/program/graphics/core/struct.Element.html" title="struct cosmic::iced::daemon::program::graphics::core::Element"><code>Element</code></a> that can be
embedded in any application.</dd><dt><a class="fn" href="fn.container.html" title="fn cosmic::iced::widget::container">container</a></dt><dd>Creates a new <a href="../../widget/struct.Container.html" title="struct cosmic::widget::Container"><code>Container</code></a> with the provided content.</dd><dt><a class="fn" href="fn.float.html" title="fn cosmic::iced::widget::float">float</a></dt><dd>Creates a new <a href="struct.Float.html" title="struct cosmic::iced::widget::Float"><code>Float</code></a> widget with the given content.</dd><dt><a class="fn" href="fn.grid.html" title="fn cosmic::iced::widget::grid">grid</a></dt><dd>Creates a new <a href="struct.Grid.html" title="struct cosmic::iced::widget::Grid"><code>Grid</code></a> from an iterator.</dd><dt><a class="fn" href="fn.hover.html" title="fn cosmic::iced::widget::hover">hover</a></dt><dd>Displays a widget on top of another one, only when the base widget is hovered.</dd><dt><a class="fn" href="fn.iced.html" title="fn cosmic::iced::widget::iced">iced</a></dt><dd>Creates an <a href="../daemon/program/graphics/core/struct.Element.html" title="struct cosmic::iced::daemon::program::graphics::core::Element"><code>Element</code></a> that displays the iced logo with the given <code>text_size</code>.</dd><dt><a class="fn" href="fn.image.html" title="fn cosmic::iced::widget::image">image</a></dt><dd>Creates a new <a href="../../widget/struct.Image.html" title="struct cosmic::widget::Image"><code>Image</code></a>.</dd><dt><a class="fn" href="fn.keyed_column.html" title="fn cosmic::iced::widget::keyed_column">keyed_<wbr>column</a></dt><dd>Creates a new <a href="keyed/struct.Column.html" title="struct cosmic::iced::widget::keyed::Column"><code>keyed::Column</code></a> from an iterator of elements.</dd><dt><a class="fn" href="fn.lazy.html" title="fn cosmic::iced::widget::lazy">lazy</a></dt><dd>Creates a new <a href="../../widget/struct.Lazy.html" title="struct cosmic::widget::Lazy"><code>Lazy</code></a> widget with the given data <code>Dependency</code> and a
closure that can turn this data into a widget tree.</dd><dt><a class="fn" href="fn.list.html" title="fn cosmic::iced::widget::list">list</a></dt><dd>Creates a new <a href="struct.List.html" title="struct cosmic::iced::widget::List"><code>List</code></a> with the provided <a href="list/struct.Content.html" title="struct cosmic::iced::widget::list::Content"><code>Content</code></a> and
closure to view an item of the <a href="struct.List.html" title="struct cosmic::iced::widget::List"><code>List</code></a>.</dd><dt><a class="fn" href="fn.mouse_area.html" title="fn cosmic::iced::widget::mouse_area">mouse_<wbr>area</a></dt><dd>Creates a new <a href="../../widget/struct.MouseArea.html" title="struct cosmic::widget::MouseArea"><code>MouseArea</code></a>.</dd><dt><a class="fn" href="fn.opaque.html" title="fn cosmic::iced::widget::opaque">opaque</a></dt><dd>Wraps the given widget and captures any mouse button presses inside the bounds of
the widget—effectively making it <em>opaque</em>.</dd><dt><a class="fn" href="fn.pane_grid.html" title="fn cosmic::iced::widget::pane_grid">pane_<wbr>grid</a></dt><dd>Creates a <a href="../../widget/struct.PaneGrid.html" title="struct cosmic::widget::PaneGrid"><code>PaneGrid</code></a> with the given <a href="../../widget/pane_grid/struct.State.html" title="struct cosmic::widget::pane_grid::State"><code>pane_grid::State</code></a> and view function.</dd><dt><a class="fn" href="fn.pick_list.html" title="fn cosmic::iced::widget::pick_list">pick_<wbr>list</a></dt><dd>Creates a new <a href="struct.PickList.html" title="struct cosmic::iced::widget::PickList"><code>PickList</code></a>.</dd><dt><a class="fn" href="fn.pin.html" title="fn cosmic::iced::widget::pin">pin</a></dt><dd>Creates a new <a href="struct.Pin.html" title="struct cosmic::iced::widget::Pin"><code>Pin</code></a> widget with the given content.</dd><dt><a class="fn" href="fn.progress_bar.html" title="fn cosmic::iced::widget::progress_bar">progress_<wbr>bar</a></dt><dd>Creates a new <a href="struct.ProgressBar.html" title="struct cosmic::iced::widget::ProgressBar"><code>ProgressBar</code></a>.</dd><dt><a class="fn" href="fn.radio.html" title="fn cosmic::iced::widget::radio">radio</a></dt><dd>Creates a new <a href="struct.Radio.html" title="struct cosmic::iced::widget::Radio"><code>Radio</code></a>.</dd><dt><a class="fn" href="fn.responsive.html" title="fn cosmic::iced::widget::responsive">responsive</a></dt><dd>Creates a new <a href="../../widget/struct.Responsive.html" title="struct cosmic::widget::Responsive"><code>Responsive</code></a> widget with a closure that produces its
contents.</dd><dt><a class="fn" href="fn.rich_text.html" title="fn cosmic::iced::widget::rich_text">rich_<wbr>text</a></dt><dd>Creates a new <a href="text/struct.Rich.html" title="struct cosmic::iced::widget::text::Rich"><code>Rich</code></a> text widget with the provided spans.</dd><dt><a class="fn" href="fn.right.html" title="fn cosmic::iced::widget::right">right</a></dt><dd>Creates a new <a href="../../widget/struct.Container.html" title="struct cosmic::widget::Container"><code>Container</code></a> that fills all the available space
horizontally and right-aligns its contents inside.</dd><dt><a class="fn" href="fn.right_center.html" title="fn cosmic::iced::widget::right_center">right_<wbr>center</a></dt><dd>Creates a new <a href="../../widget/struct.Container.html" title="struct cosmic::widget::Container"><code>Container</code></a> that fills all the available space
and aligns its contents inside to the right center.</dd><dt><a class="fn" href="fn.row.html" title="fn cosmic::iced::widget::row">row</a></dt><dd>Creates a new <a href="../../widget/struct.Row.html" title="struct cosmic::widget::Row"><code>Row</code></a> from an iterator.</dd><dt><a class="fn" href="fn.scrollable.html" title="fn cosmic::iced::widget::scrollable">scrollable</a></dt><dd>Creates a new <a href="struct.Scrollable.html" title="struct cosmic::iced::widget::Scrollable"><code>Scrollable</code></a> with the provided content.</dd><dt><a class="fn" href="fn.sensor.html" title="fn cosmic::iced::widget::sensor">sensor</a></dt><dd>Creates a new <a href="struct.Sensor.html" title="struct cosmic::iced::widget::Sensor"><code>Sensor</code></a> widget.</dd><dt><a class="fn" href="fn.slider.html" title="fn cosmic::iced::widget::slider">slider</a></dt><dd>Creates a new <a href="../../widget/struct.Slider.html" title="struct cosmic::widget::Slider"><code>Slider</code></a>.</dd><dt><a class="fn" href="fn.space.html" title="fn cosmic::iced::widget::space">space</a></dt><dd>Creates some empty <a href="../../widget/struct.Space.html" title="struct cosmic::widget::Space"><code>Space</code></a> with no size.</dd><dt><a class="fn" href="fn.span.html" title="fn cosmic::iced::widget::span">span</a></dt><dd>Creates a new <a href="text/struct.Span.html" title="struct cosmic::iced::widget::text::Span"><code>Span</code></a> of text with the provided content.</dd><dt><a class="fn" href="fn.stack.html" title="fn cosmic::iced::widget::stack">stack</a></dt><dd>Creates a new <a href="struct.Stack.html" title="struct cosmic::iced::widget::Stack"><code>Stack</code></a> with the given children.</dd><dt><a class="fn" href="fn.svg.html" title="fn cosmic::iced::widget::svg">svg</a></dt><dd>Creates a new <a href="../../widget/struct.Svg.html" title="struct cosmic::widget::Svg"><code>Svg</code></a> widget from the given <a href="../../widget/svg/struct.Handle.html" title="struct cosmic::widget::svg::Handle"><code>Handle</code></a>.</dd><dt><a class="fn" href="fn.table.html" title="fn cosmic::iced::widget::table">table</a></dt><dd>Creates a new <a href="table/struct.Table.html" title="struct cosmic::iced::widget::table::Table"><code>Table</code></a> with the given columns and rows.</dd><dt><a class="fn" href="fn.text.html" title="fn cosmic::iced::widget::text">text</a></dt><dd>Creates a new <a href="../../widget/type.Text.html" title="type cosmic::widget::Text"><code>Text</code></a> widget with the provided content.</dd><dt><a class="fn" href="fn.text_editor.html" title="fn cosmic::iced::widget::text_editor">text_<wbr>editor</a></dt><dd>Creates a new <a href="../../widget/struct.TextEditor.html" title="struct cosmic::widget::TextEditor"><code>TextEditor</code></a>.</dd><dt><a class="fn" href="fn.text_input.html" title="fn cosmic::iced::widget::text_input">text_<wbr>input</a></dt><dd>Creates a new <a href="struct.TextInput.html" title="struct cosmic::iced::widget::TextInput"><code>TextInput</code></a>.</dd><dt><a class="fn" href="fn.themer.html" title="fn cosmic::iced::widget::themer">themer</a></dt><dd>A widget that applies any <code>Theme</code> to its contents.</dd><dt><a class="fn" href="fn.toggler.html" title="fn cosmic::iced::widget::toggler">toggler</a></dt><dd>Creates a new <a href="struct.Toggler.html" title="struct cosmic::iced::widget::Toggler"><code>Toggler</code></a>.</dd><dt><a class="fn" href="fn.tooltip.html" title="fn cosmic::iced::widget::tooltip">tooltip</a></dt><dd>Creates a new <a href="struct.Tooltip.html" title="struct cosmic::iced::widget::Tooltip"><code>Tooltip</code></a> for the provided content with the given
<a href="../daemon/program/graphics/core/struct.Element.html" title="struct cosmic::iced::daemon::program::graphics::core::Element"><code>Element</code></a> and <a href="../../widget/tooltip/enum.Position.html" title="enum cosmic::widget::tooltip::Position"><code>tooltip::Position</code></a>.</dd><dt><a class="fn" href="fn.value.html" title="fn cosmic::iced::widget::value">value</a></dt><dd>Creates a new <a href="../../widget/type.Text.html" title="type cosmic::widget::Text"><code>Text</code></a> widget that displays the provided value.</dd><dt><a class="fn" href="fn.vertical_slider.html" title="fn cosmic::iced::widget::vertical_slider">vertical_<wbr>slider</a></dt><dd>Creates a new <a href="../../widget/struct.VerticalSlider.html" title="struct cosmic::widget::VerticalSlider"><code>VerticalSlider</code></a>.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.Renderer.html" title="type cosmic::iced::widget::Renderer">Renderer</a></dt><dd>The default graphics renderer for <a href="https://github.com/iced-rs/iced"><code>iced</code></a>.</dd><dt><a class="type" href="type.Text.html" title="type cosmic::iced::widget::Text">Text</a></dt><dd>A bunch of text.</dd></dl></section></div></main></body></html>