Debian Codegraph @

fvwm/components/functions/MakePanel

raw
1 # Make a panel
2 # make a panel in fvwm-crystal
3 # Written by: Dominique Michel <[email protected]>
4
5
6 # <Name> is unique and the same for all the functions in this file.
7
8 ## Make the panel ##
9 ####################
10
11 # MakePanel <Name> <geometry[pixel]> <boxsize> <rows> <columns> <padding_x> <padding_y> \
12 # <frame>
13 DestroyFunc MakePanel
14 AddToFunc MakePanel
15 + I All (FvwmButtons-$0) Close
16 + I DestroyModuleConfig FvwmButtons-$0: *
17 + I *FvwmButtons-$0: Geometry $1
18 + I *FvwmButtons-$0: BoxSize $2
19 + I *FvwmButtons-$0: ActiveColorset $[infostore.cs_panel_active]
20 + I *FvwmButtons-$0: Colorset $[infostore.cs_panel_inactive]
21 + I *FvwmButtons-$0: Rows $3
22 + I *FvwmButtons-$0: Columns $4
23 + I *FvwmButtons-$0: Padding $5 $6
24 + I *FvwmButtons-$0: Frame $7
25 + I *FvwmButtons-$0: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
26
27 ## Make a button ##
28 ###################
29 # MakePanelButton <Name> <geometry[button]> <size> <icon> \
30 # "<action>" "<action>" "<action>" "<action>" "<action>
31 DestroyFunc MakePanelButton
32 AddToFunc MakePanelButton
33 + I *FvwmButtons-$0: ($1, Size $2, Icon "$3", \
34 Action (Mouse 1) "$4", \
35 Action (Mouse 2) "$5", \
36 Action (Mouse 3) "$6", \
37 Action (Mouse 4) "$7", \
38 Action (Mouse 5) "$8")
39
40 ## Launch the panel ##
41 ######################
42 # Module FvwmButtons FvwmButtons-<Name>
43