congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Composite.setBackgroundColor
Code IndexAdd Tabnine to your IDE (free)

How to use
setBackgroundColor
method
in
org.eclipse.swt.widgets.Composite

Best Java code snippets using org.eclipse.swt.widgets.Composite.setBackgroundColor (Showing top 20 results out of 315)

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

@Override
void setBackgroundColor (GdkColor color) {
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    OS.gtk_widget_modify_base (handle, 0, color);
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    OS.gtk_widget_modify_base (handle, 0, color);
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    OS.gtk_widget_modify_base (handle, 0, color);
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    OS.gtk_widget_modify_base (handle, 0, color);
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    OS.gtk_widget_modify_base (handle, 0, color);
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    OS.gtk_widget_modify_base (handle, 0, color);
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    OS.gtk_widget_modify_base (handle, 0, color);
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    OS.gtk_widget_modify_base (handle, 0, color);
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    OS.gtk_widget_modify_base (handle, 0, color);
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  if (isCalendar () && !OS.GTK3) {
    OS.gtk_widget_modify_base (containerHandle, 0, color);
  } else {
    if (isCalendar() && (OS.GTK_VERSION >= OS.VERSION(3, 16, 0))) {
      super.setBackgroundColor (calendarHandle, color);
    } else {
      super.setBackgroundColor (color);
    }

  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  if (isCalendar () && !OS.GTK3) {
    OS.gtk_widget_modify_base (containerHandle, 0, color);
  } else {
    if (isCalendar() && (OS.GTK_VERSION >= OS.VERSION(3, 16, 0))) {
      super.setBackgroundColor (calendarHandle, color);
    } else {
      super.setBackgroundColor (color);
    }

  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  if (isCalendar () && !OS.GTK3) {
    OS.gtk_widget_modify_base (containerHandle, 0, color);
  } else {
    if (isCalendar() && (OS.GTK_VERSION >= OS.VERSION(3, 16, 0))) {
      super.setBackgroundColor (calendarHandle, color);
    } else {
      super.setBackgroundColor (color);
    }

  }
}

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

@Override
void setWidgetBackground  () {
  if (OS.GTK_VERSION >= OS.VERSION(3, 16, 0)) {
    GdkColor color = (state & BACKGROUND) != 0 ? getBackgroundColor () : null;
    super.setBackgroundColor (color);
  } else {
    super.setWidgetBackground();
  }
}

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

@Override
void setWidgetBackground  () {
  if (OS.GTK_VERSION >= OS.VERSION(3, 16, 0)) {
    GdkColor color = (state & BACKGROUND) != 0 ? getBackgroundColor () : null;
    super.setBackgroundColor (color);
  } else {
    super.setWidgetBackground();
  }
}

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

@Override
void setWidgetBackground  () {
  if (OS.GTK_VERSION >= OS.VERSION(3, 16, 0)) {
    GdkColor color = (state & BACKGROUND) != 0 ? getBackgroundColor () : null;
    super.setBackgroundColor (color);
  } else {
    super.setWidgetBackground();
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  if (OS.GTK_VERSION >= OS.VERSION(3, 16, 0)) {
    // With CSS theming we only need to set the background color
    // of the parent SwtFixed container.
    setBackgroundColor (fixedHandle, color);
    return;
  } else {
    super.setBackgroundColor (color);
    setBackgroundColor (fixedHandle, color);
    // Bug 453827 - client handle should also be painted as it's visible to the user now.
    setBackgroundColor (clientHandle, color);
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  if (OS.GTK_VERSION >= OS.VERSION(3, 16, 0)) {
    // With CSS theming we only need to set the background color
    // of the parent SwtFixed container.
    setBackgroundColor (fixedHandle, color);
    return;
  } else {
    super.setBackgroundColor (color);
    setBackgroundColor (fixedHandle, color);
    // Bug 453827 - client handle should also be painted as it's visible to the user now.
    setBackgroundColor (clientHandle, color);
  }
}

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

@Override
void setBackgroundColor (GdkColor color) {
  //Note: This function is reached by Gtk2 and Gtk3.
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    if (entryHandle != 0) OS.gtk_widget_modify_base (entryHandle, 0, color);
    if (cellHandle != 0) OS.g_object_set (cellHandle, OS.background_gdk, color, 0);
    OS.g_object_set (textRenderer, OS.background_gdk, color, 0);
  }

  if (entryHandle != 0) setBackgroundColor(entryHandle, color);
  setBackgroundColor (fixedHandle, color);
}

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

@Override
void setBackgroundColor (GdkColor color) {
  //Note: This function is reached by Gtk2 and Gtk3.
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    if (entryHandle != 0) OS.gtk_widget_modify_base (entryHandle, 0, color);
    if (cellHandle != 0) OS.g_object_set (cellHandle, OS.background_gdk, color, 0);
    OS.g_object_set (textRenderer, OS.background_gdk, color, 0);
  }

  if (entryHandle != 0) setBackgroundColor(entryHandle, color);
  setBackgroundColor (fixedHandle, color);
}

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

@Override
void setBackgroundColor (GdkColor color) {
  //Note: This function is reached by Gtk2 and Gtk3.
  super.setBackgroundColor (color);
  if (!OS.GTK3) {
    if (entryHandle != 0) OS.gtk_widget_modify_base (entryHandle, 0, color);
    if (cellHandle != 0) OS.g_object_set (cellHandle, OS.background_gdk, color, 0);
    OS.g_object_set (textRenderer, OS.background_gdk, color, 0);
  }

  if (entryHandle != 0) setBackgroundColor(entryHandle, color);
  setBackgroundColor (fixedHandle, color);
}

org.eclipse.swt.widgetsCompositesetBackgroundColor

Popular methods of Composite

  • setLayout
    Sets the layout which is associated with the receiver to be the argument which may be null.
  • <init>
    Constructs a new instance of this class given its parent and a style value describing its behavior a
  • setLayoutData
  • layout
    Forces a lay out (that is, sets the size and location) of all widgets that are in the parent hierarc
  • getDisplay
  • getChildren
    Returns a (possibly empty) array containing the receiver's children. Children are returned in the or
  • getShell
  • getFont
  • getLayout
    Returns layout which is associated with the receiver, or null if one has not been set.
  • setFont
  • getParent
  • computeSize
  • getParent,
  • computeSize,
  • dispose,
  • setBackground,
  • getClientArea,
  • isDisposed,
  • getBackground,
  • setVisible,
  • setSize,
  • setData

Popular in Java

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Reference (javax.naming)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top plugins for Android Studio
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