Clutter::Gtk::Viewport Class Reference
#include <viewport.h>
List of all members.
Public Member Functions |
virtual | ~Viewport () |
GtkClutterViewport * | gobj () |
| Provides access to the underlying C GObject.
|
const GtkClutterViewport * | gobj () const |
| Provides access to the underlying C GObject.
|
GtkClutterViewport * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
void | get_origin (float &x, float &y, float &z) |
| Retrieves the current translation factor ("origin") used when displaying the child of viewport.
|
Static Public Member Functions |
static Glib::RefPtr< Viewport > | create (::Gtk::Adjustment &h_adjustment,::Gtk::Adjustment &v_adjustment) |
Protected Member Functions |
| Viewport (::Gtk::Adjustment &h_adjustment,::Gtk::Adjustment &v_adjustment) |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr
< Clutter::Gtk::Viewport > | wrap (GtkClutterViewport *object, bool take_copy=false) |
| A Glib::wrap() method for this object.
|
Constructor & Destructor Documentation
virtual Clutter::Gtk::Viewport::~Viewport |
( |
|
) |
[virtual] |
Clutter::Gtk::Viewport::Viewport |
( |
::Gtk::Adjustment & |
h_adjustment, |
|
|
::Gtk::Adjustment & |
v_adjustment | |
|
) |
| | [explicit, protected] |
Member Function Documentation
static Glib::RefPtr<Viewport> Clutter::Gtk::Viewport::create |
( |
::Gtk::Adjustment & |
h_adjustment, |
|
|
::Gtk::Adjustment & |
v_adjustment | |
|
) |
| | [static] |
void Clutter::Gtk::Viewport::get_origin |
( |
float & |
x, |
|
|
float & |
y, |
|
|
float & |
z | |
|
) |
| | |
Retrieves the current translation factor ("origin") used when displaying the child of viewport.
Since: 1.0.
- Parameters:
-
| x | Return location for the X origin in pixels, or 0 . |
| y | Return location for the Y origin in pixels, or 0 . |
| z | Return location for the Z origin in pixels, or 0 . |
const GtkClutterViewport* Clutter::Gtk::Viewport::gobj |
( |
|
) |
const [inline] |
Provides access to the underlying C GObject.
GtkClutterViewport* Clutter::Gtk::Viewport::gobj |
( |
|
) |
[inline] |
Provides access to the underlying C GObject.
GtkClutterViewport* Clutter::Gtk::Viewport::gobj_copy |
( |
|
) |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Friends And Related Function Documentation
A Glib::wrap() method for this object.
- Parameters:
-
| object | The C instance. |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns:
- A C++ instance that wraps this C instance.
The documentation for this class was generated from the following file: