<html><head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of class attributes" rel=Appendix href="index_attributes.html"> <link title="Index of class methods" rel=Appendix href="index_methods.html"> <link title="Index of classes" rel=Appendix href="index_classes.html"> <link title="Index of class types" rel=Appendix href="index_class_types.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="LTerm" rel="Chapter" href="LTerm.html"> <link title="LTerm_key" rel="Chapter" href="LTerm_key.html"> <link title="LTerm_event" rel="Chapter" href="LTerm_event.html"> <link title="LTerm_unix" rel="Chapter" href="LTerm_unix.html"> <link title="LTerm_windows" rel="Chapter" href="LTerm_windows.html"> <link title="LTerm_style" rel="Chapter" href="LTerm_style.html"> <link title="LTerm_geom" rel="Chapter" href="LTerm_geom.html"> <link title="LTerm_draw" rel="Chapter" href="LTerm_draw.html"> <link title="LTerm_mouse" rel="Chapter" href="LTerm_mouse.html"> <link title="LTerm_widget" rel="Chapter" href="LTerm_widget.html"> <link title="LTerm_edit" rel="Chapter" href="LTerm_edit.html"> <link title="LTerm_read_line" rel="Chapter" href="LTerm_read_line.html"> <link title="LTerm_text" rel="Chapter" href="LTerm_text.html"> <link title="LTerm_ui" rel="Chapter" href="LTerm_ui.html"> <link title="LTerm_resources" rel="Chapter" href="LTerm_resources.html"> <link title="LTerm_inputrc" rel="Chapter" href="LTerm_inputrc.html"> <link title="LTerm_history" rel="Chapter" href="LTerm_history.html"><title>LTerm_widget.button</title> </head> <body> <code class="code">string <span class="keywordsign">-></span><br> <span class="keyword">object</span><br> <span class="keyword">method</span> allocation : <span class="constructor">LTerm_geom</span>.rect<br> <span class="keyword">method</span> can_focus : bool<br> <span class="keyword">method</span> children : t list<br> <span class="keyword">method</span> cursor_position : <span class="constructor">LTerm_geom</span>.coord option<br> <span class="keyword">method</span> draw : <span class="constructor">LTerm_draw</span>.context <span class="keywordsign">-></span> t <span class="keywordsign">-></span> unit<br> <span class="keyword">method</span> label : string<br> <span class="keyword">method</span> on_click : ?switch:<span class="constructor">LTerm_widget</span>.switch <span class="keywordsign">-></span> (unit <span class="keywordsign">-></span> unit) <span class="keywordsign">-></span> unit<br> <span class="keyword">method</span> on_event : ?switch:switch <span class="keywordsign">-></span> (<span class="constructor">LTerm_event</span>.t <span class="keywordsign">-></span> bool) <span class="keywordsign">-></span> unit<br> <span class="keyword">method</span> parent : t option<br> <span class="keyword">method</span> queue_draw : unit<br> <span class="keyword">method</span> resource_class : string<br> <span class="keyword">method</span> resources : <span class="constructor">LTerm_resources</span>.t<br> <span class="keyword">method</span> send_event : <span class="constructor">LTerm_event</span>.t <span class="keywordsign">-></span> unit<br> <span class="keyword">method</span> set_allocation : <span class="constructor">LTerm_geom</span>.rect <span class="keywordsign">-></span> unit<br> <span class="keyword">method</span> set_label : string <span class="keywordsign">-></span> unit<br> <span class="keyword">method</span> set_parent : t option <span class="keywordsign">-></span> unit<br> <span class="keyword">method</span> set_queue_draw : (unit <span class="keywordsign">-></span> unit) <span class="keywordsign">-></span> unit<br> <span class="keyword">method</span> set_resource_class : string <span class="keywordsign">-></span> unit<br> <span class="keyword">method</span> set_resources : <span class="constructor">LTerm_resources</span>.t <span class="keywordsign">-></span> unit<br> <span class="keyword">method</span> size_request : <span class="constructor">LTerm_geom</span>.size<br> <span class="keyword">method</span> update_resources : unit<br> <span class="keyword">end</span></code></body></html>