Tabnine Logo
GLCanvas.getClientArea
Code IndexAdd Tabnine to your IDE (free)

How to use
getClientArea
method
in
org.eclipse.swt.opengl.GLCanvas

Best Java code snippets using org.eclipse.swt.opengl.GLCanvas.getClientArea (Showing top 3 results out of 315)

origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

  break;
case SWT.Resize:
  Rectangle clientArea = DPIUtil.autoScaleUp(getClientArea());
  OS.gdk_window_move (glWindow, clientArea.x, clientArea.y);
  OS.gdk_window_resize (glWindow, clientArea.width, clientArea.height);
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

  break;
case SWT.Resize:
  Rectangle clientArea = DPIUtil.autoScaleUp(getClientArea());
  OS.gdk_window_move (glWindow, clientArea.x, clientArea.y);
  OS.gdk_window_resize (glWindow, clientArea.width, clientArea.height);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

  break;
case SWT.Resize:
  Rectangle clientArea = DPIUtil.autoScaleUp(getClientArea());
  OS.gdk_window_move (glWindow, clientArea.x, clientArea.y);
  OS.gdk_window_resize (glWindow, clientArea.width, clientArea.height);
org.eclipse.swt.openglGLCanvasgetClientArea

Popular methods of GLCanvas

  • addListener
  • checkWidget
  • dispose
  • gdk_x11_display_get_xdisplay
  • <init>
    Create a GLCanvas widget using the attributes described in the GLData object provided.
  • setBounds
  • setCurrent
    Sets the OpenGL context associated with this GLCanvas to be the current GL context.
  • swapBuffers
    Swaps the front and back color buffers.
  • checkStyle
  • setData
  • setFocus
  • setFocus

Popular in Java

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now