Source

clutter-ocaml / html / type_ClutterProps.Stage.html

Full commit
<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="Clutter" rel="Chapter" href="Clutter.html">
<link title="ClutterEnums" rel="Chapter" href="ClutterEnums.html">
<link title="PangolibEnums" rel="Chapter" href="PangolibEnums.html">
<link title="ClutterData" rel="Chapter" href="ClutterData.html">
<link title="Event" rel="Chapter" href="Event.html">
<link title="Structs" rel="Chapter" href="Structs.html">
<link title="ClutterProps" rel="Chapter" href="ClutterProps.html">
<link title="OclutterProps" rel="Chapter" href="OclutterProps.html">
<link title="ClutterActor" rel="Chapter" href="ClutterActor.html">
<link title="ClutterContainer" rel="Chapter" href="ClutterContainer.html">
<link title="ClutterTexture" rel="Chapter" href="ClutterTexture.html">
<link title="ClutterBehaviour" rel="Chapter" href="ClutterBehaviour.html">
<link title="ClutterGroup" rel="Chapter" href="ClutterGroup.html">
<link title="ClutterStage" rel="Chapter" href="ClutterStage.html">
<link title="ClutterRectangle" rel="Chapter" href="ClutterRectangle.html">
<link title="ClutterTimeline" rel="Chapter" href="ClutterTimeline.html">
<link title="ClutterAlpha" rel="Chapter" href="ClutterAlpha.html">
<link title="ClutterEffects" rel="Chapter" href="ClutterEffects.html">
<link title="ClutterLabel" rel="Chapter" href="ClutterLabel.html">
<link title="ClutterScore" rel="Chapter" href="ClutterScore.html">
<link title="ClutterCairo" rel="Chapter" href="ClutterCairo.html">
<link title="CoglEnums" rel="Chapter" href="CoglEnums.html">
<link title="Cogl" rel="Chapter" href="Cogl.html"><title>ClutterOcaml : ClutterProps.Stage</title>
</head>
<body>
<code class="code"><span class="keyword">sig</span><br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;cast&nbsp;:&nbsp;<span class="keywordsign">'</span>a&nbsp;<span class="constructor">Gobject</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Clutter</span>.stage&nbsp;<span class="constructor">Clutter</span>.obj<br>
&nbsp;&nbsp;<span class="keyword">module</span>&nbsp;<span class="constructor">P</span>&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">sig</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;color&nbsp;:&nbsp;([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;],&nbsp;<span class="constructor">Clutter</span>.<span class="constructor">Color</span>.color)&nbsp;<span class="constructor">Gobject</span>.property<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;cursor_visible&nbsp;:&nbsp;([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;],&nbsp;bool)&nbsp;<span class="constructor">Gobject</span>.property<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;fullscreen&nbsp;:&nbsp;([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;],&nbsp;bool)&nbsp;<span class="constructor">Gobject</span>.property<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;offscreen&nbsp;:&nbsp;([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;],&nbsp;bool)&nbsp;<span class="constructor">Gobject</span>.property<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;title&nbsp;:&nbsp;([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;],&nbsp;string)&nbsp;<span class="constructor">Gobject</span>.property<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;use_fog&nbsp;:&nbsp;([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;],&nbsp;bool)&nbsp;<span class="constructor">Gobject</span>.property<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;user_resizable&nbsp;:&nbsp;([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;],&nbsp;bool)&nbsp;<span class="constructor">Gobject</span>.property<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">end</span><br>
&nbsp;&nbsp;<span class="keyword">module</span>&nbsp;<span class="constructor">S</span>&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">sig</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;activate&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;],&nbsp;<span class="constructor">Clutter</span>.stage&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit)&nbsp;<span class="constructor">GtkSignal</span>.t<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;deactivate&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;],&nbsp;<span class="constructor">Clutter</span>.stage&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit)&nbsp;<span class="constructor">GtkSignal</span>.t<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;fullscreen&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;],&nbsp;<span class="constructor">Clutter</span>.stage&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit)&nbsp;<span class="constructor">GtkSignal</span>.t<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;unfullscreen&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;],&nbsp;<span class="constructor">Clutter</span>.stage&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit)&nbsp;<span class="constructor">GtkSignal</span>.t<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">end</span><br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;create&nbsp;:&nbsp;<span class="constructor">Clutter</span>.stage&nbsp;<span class="constructor">Gobject</span>.param&nbsp;list&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Clutter</span>.stage&nbsp;<span class="constructor">Clutter</span>.obj<br>
&nbsp;&nbsp;<span class="keyword">external</span>&nbsp;get_default&nbsp;:&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Clutter</span>.stage<br>
&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;<span class="string">"ml_clutter_stage_get_default"</span><br>
&nbsp;&nbsp;<span class="keyword">external</span>&nbsp;get_actor_at_pos&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;x:int&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;y:int&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Clutter</span>.actor&nbsp;<span class="constructor">Clutter</span>.obj<br>
&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;<span class="string">"ml_clutter_stage_get_actor_at_pos"</span><br>
&nbsp;&nbsp;<span class="keyword">external</span>&nbsp;snapshot&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;int&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;int&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;int&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;int&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">GdkPixbuf</span>.pixbuf<br>
&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;<span class="string">"ml_clutter_stage_snapshot"</span><br>
&nbsp;&nbsp;<span class="keyword">external</span>&nbsp;event&nbsp;:&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span><span class="constructor">ANY</span>&nbsp;]&nbsp;<span class="constructor">Clutter</span>.event&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;bool<br>
&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;<span class="string">"ml_clutter_stage_event"</span><br>
&nbsp;&nbsp;<span class="keyword">external</span>&nbsp;set_key_focus&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Clutter</span>.actor&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit<br>
&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;<span class="string">"ml_clutter_stage_set_key_focus"</span><br>
&nbsp;&nbsp;<span class="keyword">external</span>&nbsp;get_key_focus&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Clutter</span>.actor&nbsp;<span class="constructor">Clutter</span>.obj<br>
&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;<span class="string">"ml_clutter_stage_get_key_focus"</span><br>
&nbsp;&nbsp;<span class="keyword">external</span>&nbsp;get_resolution&nbsp;:&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;float<br>
&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;<span class="string">"ml_clutter_stage_get_resolution"</span><br>
&nbsp;&nbsp;<span class="keyword">external</span>&nbsp;set_perspective&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;fovy:float&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;aspect:float&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;z_near:float&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;z_far:float&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit<br>
&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;<span class="string">"ml_clutter_stage_set_perspective"</span><br>
&nbsp;&nbsp;<span class="keyword">external</span>&nbsp;get_perspective&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;float&nbsp;*&nbsp;float&nbsp;*&nbsp;float&nbsp;*&nbsp;float<br>
&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;<span class="string">"ml_clutter_stage_get_perspective"</span><br>
&nbsp;&nbsp;<span class="keyword">external</span>&nbsp;set_fog&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;density:float&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;z_near:float&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;z_far:float&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit<br>
&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;<span class="string">"ml_clutter_stage_set_fog"</span><br>
&nbsp;&nbsp;<span class="keyword">external</span>&nbsp;get_fog&nbsp;:&nbsp;[&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="constructor">Clutter</span>.obj&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;float&nbsp;*&nbsp;float&nbsp;*&nbsp;float<br>
&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;<span class="string">"ml_clutter_stage_get_fog"</span><br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;make_params&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;cont:(([&gt;&nbsp;<span class="keywordsign">`</span>stage&nbsp;]&nbsp;<span class="keyword">as</span>&nbsp;<span class="keywordsign">'</span>a)&nbsp;<span class="constructor">Gobject</span>.param&nbsp;list&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>b)&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">'</span>a&nbsp;<span class="constructor">Gobject</span>.param&nbsp;list&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;?color:<span class="constructor">Clutter</span>.<span class="constructor">Color</span>.color&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;?cursor_visible:bool&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;?fullscreen:bool&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;?offscreen:bool&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;?title:string&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;?use_fog:bool&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;?user_resizable:bool&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>b<br>
<span class="keyword">end</span></code></body></html>