File: llnrc-dist

package info (click to toggle)
lletters 0.1.95-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,152 kB
  • ctags: 502
  • sloc: sh: 9,985; ansic: 3,225; makefile: 230; sed: 93; perl: 50
file content (124 lines) | stat: -rw-r--r-- 3,548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
#
pixmap_path "/usr/include/X11/pixmaps"
#
# style <name> [= <name>]
# {
#   <option>
# }
#
# widget <widget_set> style <style_name>
# widget_class <widget_class_set> style <style_name>


# Here is a list of all the possible states.  Note that some do not apply to
# certain widgets.
#
# NORMAL - The normal state of a widget, without the mouse over top of
# it, and not being pressed etc.
#
# PRELIGHT - When the mouse is over top of the widget, colors defined
# using this state will be in effect.
#
# ACTIVE - When the widget is pressed or clicked it will be active, and
# the attributes assigned by this tag will be in effect.
#
# INSENSITIVE - When a widget is set insensitive, and cannot be
# activated, it will take these attributes.
#
# SELECTED - When an object is selected, it takes these attributes.
#
# Given these states, we can set the attributes of the widgets in each of
# these states using the following directives.
#
# fg - Sets the foreground color of a widget.
# fg - Sets the background color of a widget.
# bg_pixmap - Sets the background of a widget to a tiled pixmap.
# font - Sets the font to be used with the given widget.
#

#Definie a style for captions.
style "lln_caption"
{
    font = "-*-utopia-*-r-*-*-60-400-*-*-*-*-*-*" 
    fg[NORMAL] = { 0, 0, 0.5 }
    fg[ACTIVE] = { 1.0, 0.75, 0 }
    fg[PRELIGHT] = { 0, 0, 1.0 }
}
#Set the style of the main_labels to lln_caption
widget "*main_label*" style "lln_caption"

style "lln_window"
{
#This sets the padding around the window to the pixmap specified.
#bg_pixmap[<STATE>] = "<pixmap filename>"
    bg_pixmap[NORMAL] = "purple-marble.xpm"
}

widget "main_window" style "lln_window"

style "lln_popup"
{
    bg_pixmap[NORMAL] = "grey-marble.xpm"
    bg_pixmap[ACTIVE] = "grey-marble.xpm"
#    bg[NORMAL] = { 1.0, 0.75, 0 }

}

widget "lln_popup" style "lln_popup"

# This is the big button that holds the picture and captions on 
# the Popup windows
style "lln_big_button"
{
    bg_pixmap[NORMAL] = "<parent>"
#    bg[NORMAL] = "<parent>"
#    bg[NORMAL] =  { 0, 0, 0.1 }
}

widget "*lln_popup_button*" style "lln_big_button"


# These are generic GTK Examples. Kirk Ismay.

# This sets a style called "button".  The name is not really important, as
# it is assigned to the actual widgets at the bottom of the file.
style "button"
{
# This shows all the possible states for a button.  The only one that
# doesn't apply is the SELECTED state.
    
#    bg_pixmap[NORMAL] = "<parent>"
#    fg[PRELIGHT] = { 0, 1.0, 1.0 }
#    bg[PRELIGHT] = { 0, 0, 1.0 }
#    bg[ACTIVE] = { 1.0, 0, 0 }
#    fg[ACTIVE] = { 0, 1.0, 0 }
#    bg[NORMAL] = { 1.0, 1.0, 0 }
#    fg[NORMAL] = { .99, 0, .99 }
#    bg[INSENSITIVE] = { 1.0, 1.0, 1.0 }
#    fg[INSENSITIVE] = { 1.0, 0, 1.0 }
}


# These set the widget types to use the styles defined above.
# The widget types are listed in the class hierarchy, but could probably be
# just listed in this document for the users reference.

#widget_class "GtkPopup" style "dialog"
#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 "mybutton"
#widget_class "*Ruler" style "ruler"
#widget_class "*GtkText" style "text"

# This sets all the buttons that are children of the "main window" to
# the main_buton style.  These must be documented to be taken advantage of.
#widget_class "*.GtkLabel" style "main_label"