Tabnine Logo
Font.gtk_new
Code IndexAdd Tabnine to your IDE (free)

How to use
gtk_new
method
in
org.eclipse.swt.graphics.Font

Best Java code snippets using org.eclipse.swt.graphics.Font.gtk_new (Showing top 15 results out of 315)

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

@Override
void setFontDescription (int /*long*/ font) {
  super.setFontDescription (font);
  layout.setFont (Font.gtk_new (display, font));
}

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

@Override
void setFontDescription (int /*long*/ font) {
  super.setFontDescription (font);
  layout.setFont (Font.gtk_new (display, font));
}

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

@Override
void setFontDescription (long /*int*/ font) {
  super.setFontDescription (font);
  layout.setFont (Font.gtk_new (display, font));
}

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

style.font = Font.gtk_new(display, fontDesc);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

style.font = Font.gtk_new(display, fontDesc);
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

style.font = Font.gtk_new(display, fontDesc);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

OS.memmove(face, faces[0] + j * OS.PTR_SIZEOF, OS.PTR_SIZEOF);
int /*long*/ fontDesc = OS.pango_font_face_describe(face[0]);
Font font = Font.gtk_new(this, fontDesc);
FontData data = font.getFontData()[0];
if (nFds == fds.length) {
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

OS.memmove(face, faces[0] + j * OS.PTR_SIZEOF, OS.PTR_SIZEOF);
long /*int*/ fontDesc = OS.pango_font_face_describe(face[0]);
Font font = Font.gtk_new(this, fontDesc);
FontData data = font.getFontData()[0];
if (nFds == fds.length) {
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

OS.memmove(face, faces[0] + j * OS.PTR_SIZEOF, OS.PTR_SIZEOF);
int /*long*/ fontDesc = OS.pango_font_face_describe(face[0]);
Font font = Font.gtk_new(this, fontDesc);
FontData data = font.getFontData()[0];
if (nFds == fds.length) {
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

OS.g_free (fontName);
int /*long*/ fontDesc = OS.pango_font_description_from_string (buffer);
Font font = Font.gtk_new (display, fontDesc);
fontData = font.getFontData () [0];
OS.pango_font_description_free (fontDesc);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

OS.g_free (fontName);
int /*long*/ fontDesc = OS.pango_font_description_from_string (buffer);
Font font = Font.gtk_new (display, fontDesc);
fontData = font.getFontData () [0];
OS.pango_font_description_free (fontDesc);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

OS.g_free (fontName);
long /*int*/ fontDesc = OS.pango_font_description_from_string (buffer);
Font font = Font.gtk_new (display, fontDesc);
fontData = font.getFontData () [0];
OS.pango_font_description_free (fontDesc);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

  OS.pango_font_description_set_size(defaultFont, size * dpi.y / screenDPI.y);
systemFont = Font.gtk_new (this, defaultFont);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

  OS.pango_font_description_set_size(defaultFont, size * dpi.y / screenDPI.y);
systemFont = Font.gtk_new (this, defaultFont);
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

  OS.pango_font_description_set_size(defaultFont, size * dpi.y / screenDPI.y);
systemFont = Font.gtk_new (this, defaultFont);
org.eclipse.swt.graphicsFontgtk_new

Javadoc

Invokes platform specific functionality to allocate a new font.

IMPORTANT: This method is not part of the public API for Font. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms, and should never be called from application code.

Popular methods of Font

  • getFontData
    Returns an array of FontDatas representing the receiver. On Windows, only one FontData will be retur
  • <init>
  • dispose
  • isDisposed
    Returns true if the font has been disposed, and false otherwise. This method gets the dispose state
  • equals
    Compares the argument to the receiver, and returns true if they represent the same object using a c
  • getDevice
  • hashCode
    Returns an integer hash code for the receiver. Any two objects that return true when passed toequal
  • init
  • addTraits
  • checkDevice
  • cocoa_new
    Invokes platform specific functionality to allocate a new font.IMPORTANT: This method is not part of
  • findFontData
  • cocoa_new,
  • findFontData,
  • win32_new

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getContentResolver (Context)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Github Copilot alternatives
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