<!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="API documentation for the Rust `functions` mod in crate `gtk`."> <meta name="keywords" content="rust, rustlang, rust-lang, functions"> <title>gtk::functions - Rust</title> <link rel="stylesheet" type="text/css" href="../../normalize.css"> <link rel="stylesheet" type="text/css" href="../../rustdoc.css"> <link rel="stylesheet" type="text/css" href="../../main.css"> </head> <body class="rustdoc mod"> <!--[if lte IE 8]> <div class="warning"> This old browser is unsupported and will most likely display funky things. </div> <![endif]--> <nav class="sidebar"> <p class='location'>Module functions</p><div class="block items"><ul><li><a href="#functions">Functions</a></li></ul></div><p class='location'><a href='../index.html'>gtk</a></p><script>window.sidebarCurrent = {name: 'functions', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script> </nav> <nav class="sub"> <form class="search-form js-only"> <div class="search-container"> <input class="search-input" name="search" autocomplete="off" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"> </div> </form> </nav> <section id='main' class="content"> <h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>gtk</a>::<wbr><a class="mod" href=''>functions</a></span><span class='out-of-band'><span id='render-detail'> <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> </span><a class='srclink' href='../../src/gtk/auto/functions.rs.html#4-742' title='goto source code'>[src]</a></span></h1> <h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2> <table> <tr class=' module-item'> <td><a class="fn" href="fn.accel_groups_activate.html" title='fn gtk::functions::accel_groups_activate'>accel_groups_activate</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.accel_groups_from_object.html" title='fn gtk::functions::accel_groups_from_object'>accel_groups_from_object</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.accelerator_get_default_mod_mask.html" title='fn gtk::functions::accelerator_get_default_mod_mask'>accelerator_get_default_mod_mask</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.accelerator_get_label.html" title='fn gtk::functions::accelerator_get_label'>accelerator_get_label</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.accelerator_get_label_with_keycode.html" title='fn gtk::functions::accelerator_get_label_with_keycode'>accelerator_get_label_with_keycode</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.accelerator_name.html" title='fn gtk::functions::accelerator_name'>accelerator_name</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.accelerator_name_with_keycode.html" title='fn gtk::functions::accelerator_name_with_keycode'>accelerator_name_with_keycode</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.accelerator_parse.html" title='fn gtk::functions::accelerator_parse'>accelerator_parse</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.accelerator_set_default_mod_mask.html" title='fn gtk::functions::accelerator_set_default_mod_mask'>accelerator_set_default_mod_mask</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.accelerator_valid.html" title='fn gtk::functions::accelerator_valid'>accelerator_valid</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.alternative_dialog_button_order.html" title='fn gtk::functions::alternative_dialog_button_order'>alternative_dialog_button_order</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.bindings_activate.html" title='fn gtk::functions::bindings_activate'>bindings_activate</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.bindings_activate_event.html" title='fn gtk::functions::bindings_activate_event'>bindings_activate_event</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.cairo_should_draw_window.html" title='fn gtk::functions::cairo_should_draw_window'>cairo_should_draw_window</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.cairo_transform_to_window.html" title='fn gtk::functions::cairo_transform_to_window'>cairo_transform_to_window</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.device_grab_add.html" title='fn gtk::functions::device_grab_add'>device_grab_add</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.device_grab_remove.html" title='fn gtk::functions::device_grab_remove'>device_grab_remove</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.disable_setlocale.html" title='fn gtk::functions::disable_setlocale'>disable_setlocale</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.events_pending.html" title='fn gtk::functions::events_pending'>events_pending</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.false_.html" title='fn gtk::functions::false_'>false_</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.get_current_event.html" title='fn gtk::functions::get_current_event'>get_current_event</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.get_current_event_device.html" title='fn gtk::functions::get_current_event_device'>get_current_event_device</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.get_current_event_state.html" title='fn gtk::functions::get_current_event_state'>get_current_event_state</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.get_current_event_time.html" title='fn gtk::functions::get_current_event_time'>get_current_event_time</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.get_debug_flags.html" title='fn gtk::functions::get_debug_flags'>get_debug_flags</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.get_default_language.html" title='fn gtk::functions::get_default_language'>get_default_language</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.get_event_widget.html" title='fn gtk::functions::get_event_widget'>get_event_widget</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.get_locale_direction.html" title='fn gtk::functions::get_locale_direction'>get_locale_direction</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.grab_get_current.html" title='fn gtk::functions::grab_get_current'>grab_get_current</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.main.html" title='fn gtk::functions::main'>main</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.main_do_event.html" title='fn gtk::functions::main_do_event'>main_do_event</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.main_iteration.html" title='fn gtk::functions::main_iteration'>main_iteration</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.main_iteration_do.html" title='fn gtk::functions::main_iteration_do'>main_iteration_do</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.main_level.html" title='fn gtk::functions::main_level'>main_level</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.print_run_page_setup_dialog.html" title='fn gtk::functions::print_run_page_setup_dialog'>print_run_page_setup_dialog</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.propagate_event.html" title='fn gtk::functions::propagate_event'>propagate_event</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_activity.html" title='fn gtk::functions::render_activity'>render_activity</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_arrow.html" title='fn gtk::functions::render_arrow'>render_arrow</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_background.html" title='fn gtk::functions::render_background'>render_background</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_background_get_clip.html" title='fn gtk::functions::render_background_get_clip'>render_background_get_clip</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_check.html" title='fn gtk::functions::render_check'>render_check</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_expander.html" title='fn gtk::functions::render_expander'>render_expander</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_extension.html" title='fn gtk::functions::render_extension'>render_extension</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_focus.html" title='fn gtk::functions::render_focus'>render_focus</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_frame.html" title='fn gtk::functions::render_frame'>render_frame</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_frame_gap.html" title='fn gtk::functions::render_frame_gap'>render_frame_gap</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_handle.html" title='fn gtk::functions::render_handle'>render_handle</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_icon.html" title='fn gtk::functions::render_icon'>render_icon</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_icon_pixbuf.html" title='fn gtk::functions::render_icon_pixbuf'>render_icon_pixbuf</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_icon_surface.html" title='fn gtk::functions::render_icon_surface'>render_icon_surface</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_insertion_cursor.html" title='fn gtk::functions::render_insertion_cursor'>render_insertion_cursor</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_layout.html" title='fn gtk::functions::render_layout'>render_layout</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_line.html" title='fn gtk::functions::render_line'>render_line</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_option.html" title='fn gtk::functions::render_option'>render_option</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.render_slider.html" title='fn gtk::functions::render_slider'>render_slider</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.rgb_to_hsv.html" title='fn gtk::functions::rgb_to_hsv'>rgb_to_hsv</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.selection_add_target.html" title='fn gtk::functions::selection_add_target'>selection_add_target</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.selection_clear_targets.html" title='fn gtk::functions::selection_clear_targets'>selection_clear_targets</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.selection_convert.html" title='fn gtk::functions::selection_convert'>selection_convert</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.selection_owner_set.html" title='fn gtk::functions::selection_owner_set'>selection_owner_set</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.selection_owner_set_for_display.html" title='fn gtk::functions::selection_owner_set_for_display'>selection_owner_set_for_display</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.selection_remove_all.html" title='fn gtk::functions::selection_remove_all'>selection_remove_all</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.set_debug_flags.html" title='fn gtk::functions::set_debug_flags'>set_debug_flags</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.show_uri.html" title='fn gtk::functions::show_uri'>show_uri</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.show_uri_on_window.html" title='fn gtk::functions::show_uri_on_window'>show_uri_on_window</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.stock_list_ids.html" title='fn gtk::functions::stock_list_ids'>stock_list_ids</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.targets_include_image.html" title='fn gtk::functions::targets_include_image'>targets_include_image</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.targets_include_rich_text.html" title='fn gtk::functions::targets_include_rich_text'>targets_include_rich_text</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.targets_include_text.html" title='fn gtk::functions::targets_include_text'>targets_include_text</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.targets_include_uri.html" title='fn gtk::functions::targets_include_uri'>targets_include_uri</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_create_simple_window.html" title='fn gtk::functions::test_create_simple_window'>test_create_simple_window</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_find_label.html" title='fn gtk::functions::test_find_label'>test_find_label</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_find_sibling.html" title='fn gtk::functions::test_find_sibling'>test_find_sibling</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_find_widget.html" title='fn gtk::functions::test_find_widget'>test_find_widget</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_register_all_types.html" title='fn gtk::functions::test_register_all_types'>test_register_all_types</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_slider_get_value.html" title='fn gtk::functions::test_slider_get_value'>test_slider_get_value</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_slider_set_perc.html" title='fn gtk::functions::test_slider_set_perc'>test_slider_set_perc</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_spin_button_click.html" title='fn gtk::functions::test_spin_button_click'>test_spin_button_click</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_text_get.html" title='fn gtk::functions::test_text_get'>test_text_get</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_text_set.html" title='fn gtk::functions::test_text_set'>test_text_set</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_widget_click.html" title='fn gtk::functions::test_widget_click'>test_widget_click</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_widget_send_key.html" title='fn gtk::functions::test_widget_send_key'>test_widget_send_key</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.test_widget_wait_for_draw.html" title='fn gtk::functions::test_widget_wait_for_draw'>test_widget_wait_for_draw</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.tree_get_row_drag_data.html" title='fn gtk::functions::tree_get_row_drag_data'>tree_get_row_drag_data</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.tree_set_row_drag_data.html" title='fn gtk::functions::tree_set_row_drag_data'>tree_set_row_drag_data</a></td> <td class='docblock-short'> </td> </tr> <tr class=' module-item'> <td><a class="fn" href="fn.true_.html" title='fn gtk::functions::true_'>true_</a></td> <td class='docblock-short'> </td> </tr></table></section> <section id='search' class="content hidden"></section> <section class="footer"></section> <aside id="help" class="hidden"> <div> <h1 class="hidden">Help</h1> <div class="shortcuts"> <h2>Keyboard Shortcuts</h2> <dl> <dt>?</dt> <dd>Show this help dialog</dd> <dt>S</dt> <dd>Focus the search field</dd> <dt>⇤</dt> <dd>Move up in search results</dd> <dt>⇥</dt> <dd>Move down in search results</dd> <dt>⏎</dt> <dd>Go to active search result</dd> <dt>+</dt> <dd>Collapse/expand all sections</dd> </dl> </div> <div class="infos"> <h2>Search Tricks</h2> <p> Prefix searches with a type followed by a colon (e.g. <code>fn:</code>) to restrict the search to a given type. </p> <p> Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>. </p> <p> Search functions by type signature (e.g. <code>vec -> usize</code> or <code>* -> vec</code>) </p> </div> </div> </aside> <script> window.rootPath = "../../"; window.currentCrate = "gtk"; </script> <script src="../../main.js"></script> <script defer src="../../search-index.js"></script> </body> </html>