Public Member Functions

workbench_model_ImageFigure Class Reference

a model figure representing an image More...

#include <structs.workbench.model.h>

Inheritance diagram for workbench_model_ImageFigure:
model_Figure model_Object GrtObject

List of all members.

Public Member Functions

grt::StringRef filename () const
 Getter for attribute filename (read-only).
grt::IntegerRef keepAspectRatio () const
 Getter for attribute keepAspectRatio.
virtual void keepAspectRatio (const grt::IntegerRef &value)
 Setter for attribute keepAspectRatio.
virtual grt::StringRef setImageFile (const std::string &name)
 


Detailed Description

a model figure representing an image


Member Function Documentation

grt::StringRef filename (  )  const

Getter for attribute filename (read-only).

the image file name

In Python:
value = obj.filename
grt::IntegerRef keepAspectRatio (  )  const

Getter for attribute keepAspectRatio.

In Python:
value = obj.keepAspectRatio
virtual void keepAspectRatio ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute keepAspectRatio.

In Python:
obj.keepAspectRatio = value
virtual grt::StringRef setImageFile ( const std::string &  name  )  [virtual]

Parameters:
name 
Returns: