mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 13:10:08 +00:00
b2c30ad95d
Fri Mar 27 17:58:41 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkhandlebox.c (gtk_handle_box_paint): Don't clear the window on an expose event. On draws, just clear the portion we are redrawing. * gdk/gdkfont.c (gdk_fontset_load): Corrected calculation of fontset ascent/descent. * gtk/gtkwidget.[ch]: Added new function to show a toplevel window and wait for it to be mapped, gtk_window_show_now ()
79 lines
1.6 KiB
Plaintext
79 lines
1.6 KiB
Plaintext
# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
|
|
#
|
|
# style <name> [= <name>]
|
|
# {
|
|
# <option>
|
|
# }
|
|
#
|
|
# widget <widget_set> style <style_name>
|
|
# widget_class <widget_class_set> style <style_name>
|
|
|
|
pixmap_path "."
|
|
|
|
style "default"
|
|
{
|
|
# fontset = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*,*"
|
|
font = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*"
|
|
}
|
|
|
|
style "window"
|
|
{
|
|
# bg_pixmap[NORMAL] = "warning.xpm"
|
|
}
|
|
|
|
style "scale"
|
|
{
|
|
fg[NORMAL] = { 1.0, 0, 0 }
|
|
bg_pixmap[NORMAL] = "<parent>"
|
|
}
|
|
|
|
style "button"
|
|
{
|
|
# fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
|
|
# bg[PRELIGHT] = { 0, 0, 0.75 }
|
|
}
|
|
|
|
style 'main_button' = 'button'
|
|
{
|
|
font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
|
|
bg[PRELIGHT] = { 0, 0.75, 0x00 }
|
|
}
|
|
|
|
style "toggle_button" = "button"
|
|
{
|
|
fg[NORMAL] = { 1.0, 0, 0 }
|
|
fg[ACTIVE] = { 1.0, 0, 0 }
|
|
bg_pixmap[NORMAL] = "<parent>"
|
|
}
|
|
|
|
style "text"
|
|
{
|
|
bg_pixmap[NORMAL] = "marble.xpm"
|
|
text[NORMAL] = { 1.0, 1.0, 1.0 }
|
|
fg[NORMAL] = { 1.0, 1.0, 1.0 }
|
|
base[NORMAL] = { 0.0, 0.0, 0.0 }
|
|
}
|
|
|
|
style "ruler"
|
|
{
|
|
font = '-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*'
|
|
}
|
|
|
|
style "curve"
|
|
{
|
|
fg[NORMAL] = { 58000, 0, 0 } # red
|
|
}
|
|
|
|
widget_class "GtkWindow" style "window"
|
|
widget_class "GtkDialog" style "window"
|
|
widget_class "GtkFileSelection" style "window"
|
|
widget_class "*Gtk*Scale" style "scale"
|
|
widget_class "*GtkCheckButton*" style "toggle_button"
|
|
widget_class "*GtkRadioButton*" style "toggle_button"
|
|
widget_class "*GtkButton*" style "button"
|
|
widget_class "*Ruler" style "ruler"
|
|
widget_class "*GtkText" style "text"
|
|
widget_class "*" style "default"
|
|
widget "main window.*GtkButton*" style "main_button"
|
|
widget "*GtkCurve" style "curve"
|