Codota Logo
Font.gtk_new
Code IndexAdd Codota 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)

  • Common ways to obtain Font
private void myMethod () {
Font f =
  • Codota IconComposite parent;parent.getFont()
  • Codota IconJFaceResources.getDialogFont()
  • Codota IconGC gc;gc.getFont()
  • Smart code suggestions by Codota
}
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

  • Reactive rest calls using spring rest template
  • startActivity (Activity)
  • onCreateOptionsMenu (Activity)
  • setContentView (Activity)
  • Kernel (java.awt.image)
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now