congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JOptionPane (javax.swing)
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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