SimpleCxxLib
packageclass GInteractor : public GObject
GWindow
, but they can
also be placed in specific positions just like any other
GObject
.
The structure of the GInteractor
hierarchy looks like this:
Methods | |
Returns the action command associated with the interactor. | |
Sets the action command to the indicated string. | |
setBounds(x, y, width, height) | Changes the bounds of the interactor to the specified values. |
setSize(width, height) | Changes the size of the interactor to the specified width and height. |
void setActionCommand(string cmd);
GActionEvent
.
Usage:
interactor.setActionCommand(cmd);
string getActionCommand();
Usage:
string cmd = interactor.getActionCommand();
void setSize(const GDimension & size); void setSize(double width, double height);
Usage:
interactor.setSize(size); interactor.setSize(width, height);
void setBounds(const GRectangle & size); void setBounds(double x, double y, double width, double height);
Usage:
interactor.setBounds(rect); interactor.setBounds(x, y, width, height);