Rechercher une page de manuel
Clutter::Stage.3pm
Langue: en
Version: 2008-02-20 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
NAME
Clutter::StageHIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Clutter::Actor +----Clutter::Group +----Clutter::Stage
INTERFACES
Glib::Object::_Unregistered::ClutterScriptable Clutter::Container
METHODS
actor = $stage->get_actor_at_pos ($x, $y)
actor = $stage->get_actor_at_pos ($x, $y)
-
- •
- $x (integer)
- •
- $y (integer)
color = $stage->get_color
color = $stage->get_color
$stage->set_color ($color)
$stage->set_color ($color)
-
- •
- $color (Clutter::Color)
actor = Clutter::Stage->get_default
$stage->event ($event)
$stage->event ($event)
-
- •
- $event (Clutter::Event)
(density, z_near, z_far) = $stage->get_fog
(density, z_near, z_far) = $stage->get_fog
$stage->set_fog ($density, $z_near, $z_far)
$stage->set_fog ($density, $z_near, $z_far)
-
- •
- $density (double)
- •
- $z_near (double)
- •
- $z_far (double)
$stage->fullscreen
$stage->fullscreen
$stage->hide_cursor
$stage->hide_cursor
actor = $stage->get_key_focus
actor = $stage->get_key_focus
$stage->set_key_focus ($actor)
$stage->set_key_focus ($actor)
-
- •
- $actor (Clutter::Actor or undef)
(fovy, aspect, z_near, z_far) = $stage->get_perspective
(fovy, aspect, z_near, z_far) = $stage->get_perspective
$stage->set_perspective ($fovy, $aspect, $z_near, $z_far)
$stage->set_perspective ($fovy, $aspect, $z_near, $z_far)
-
- •
- $fovy (double)
- •
- $aspect (double)
- •
- $z_near (double)
- •
- $z_far (double)
double = $stage->get_resolution
double = $stage->get_resolution
$stage->show_cursor
$stage->show_cursor
pixbuf = $stage->snapshot ($x, $y, $width, $height)
pixbuf = $stage->snapshot ($x, $y, $width, $height)
-
- •
- $x (integer)
- •
- $y (integer)
- •
- $width (integer)
- •
- $height (integer)
string = $stage->get_title
string = $stage->get_title
$stage->set_title ($title)
$stage->set_title ($title)
-
- •
- $title (string or undef)
$stage->unfullscreen
$stage->unfullscreen
boolean = $stage->get_use_fog
boolean = $stage->get_use_fog
$stage->set_use_fog ($use_fog)
$stage->set_use_fog ($use_fog)
-
- •
- $use_fog (boolean)
boolean = $stage->get_user_resizable
boolean = $stage->get_user_resizable
$stage->set_user_resizable ($resizable)
$stage->set_user_resizable ($resizable)
-
- •
- $resizable (boolean)
PROPERTIES
- 'color' (Clutter::Color : readable / writable / private)
- The color of the main stage
- 'cursor-visible' (boolean : readable / writable / construct / private)
- Whether the mouse pointer is visible on the main stage
- 'fullscreen' (boolean : readable / writable / construct / private)
- Whether the main stage is fullscreen
- 'offscreen' (boolean : readable / writable / construct / private)
- Whether the main stage is renderer offscreen
- 'title' (string : readable / writable / private)
- Stage Title
- 'use-fog' (boolean : readable / writable / private)
- Whether to enable depth cueing
- 'user-resizable' (boolean : readable / writable / construct / private)
- Whether the stage is able to be resized via user interaction
SIGNALS
- fullscreen (Clutter::Stage)
- unfullscreen (Clutter::Stage)
- activate (Clutter::Stage)
- deactivate (Clutter::Stage)
SEE ALSO
Clutter, Glib::Object, Glib::InitiallyUnowned, Clutter::Actor, Clutter::GroupCOPYRIGHT
Copyright (C) 2006 OpenedHand Ltd.This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Library version 2.1, or under the terms of the Artistic License. See Clutter for the full copyright notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre