- setBounds
alias setBounds = Composite.setBounds
Undocumented in source.
- caret
Caret caret;
Undocumented in source.
- ime
IME ime;
Undocumented in source.
- drawBackground
void drawBackground(GC gc, int x, int y, int width, int height)
Fills the interior of the rectangle specified by the arguments,
with the receiver's background.
- getCaret
Caret getCaret()
Returns the caret.
<p>
The caret for the control is automatically hidden
and shown when the control is painted or resized,
when focus is gained or lost and when an the control
is scrolled. To avoid drawing on top of the caret,
the programmer must hide and show the caret when
drawing in the window any other time.
</p>
- getIMCaretPos
Point getIMCaretPos()
Undocumented in source. Be warned that the author may not have intended to support it.
- getIME
IME getIME()
- gtk_button_press_event
int gtk_button_press_event(GtkWidget* widget, GdkEventButton* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_commit
int gtk_commit(GtkIMContext* imcontext, char* text)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_expose_event
int gtk_expose_event(GtkWidget* widget, GdkEventExpose* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_focus_in_event
int gtk_focus_in_event(GtkWidget* widget, GdkEventFocus* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_focus_out_event
int gtk_focus_out_event(GtkWidget* widget, GdkEventFocus* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- gtk_preedit_changed
int gtk_preedit_changed(GtkIMContext* imcontext)
Undocumented in source. Be warned that the author may not have intended to support it.
- redrawWidget
void redrawWidget(int x, int y, int width, int height, bool redrawAll, bool all, bool trim)
Undocumented in source. Be warned that the author may not have intended to support it.
- releaseChildren
void releaseChildren(bool destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
- scroll
void scroll(int destX, int destY, int x, int y, int width, int height, bool all)
Scrolls a rectangular area of the receiver by first copying
the source area to the destination and then causing the area
of the source which is not covered by the destination to
be repainted. Children that intersect the rectangle are
optionally moved during the operation. In addition, outstanding
paint events are flushed before the source area is copied to
ensure that the contents of the canvas are drawn correctly.
- setBounds
int setBounds(int x, int y, int width, int height, bool move, bool resize)
Undocumented in source. Be warned that the author may not have intended to support it.
- setCaret
void setCaret(Caret caret)
Sets the receiver's caret.
<p>
The caret for the control is automatically hidden
and shown when the control is painted or resized,
when focus is gained or lost and when an the control
is scrolled. To avoid drawing on top of the caret,
the programmer must hide and show the caret when
drawing in the window any other time.
</p>
@param caret the new caret for the receiver, may be null
- setFont
void setFont(Font font)
Undocumented in source. Be warned that the author may not have intended to support it.
- setIME
void setIME(IME ime)
- updateCaret
void updateCaret()
Undocumented in source. Be warned that the author may not have intended to support it.
GLCanvas is a widget capable of displaying OpenGL content.
@see GLData @see <a href="http://www.eclipse.org/swt/snippets/#opengl">OpenGL snippets</a> @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
@since 3.2