File: menu.fl

package info (click to toggle)
pyfltk 1.3.8%2Brepack-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,868 kB
  • sloc: python: 7,494; cpp: 351; perl: 55; makefile: 24
file content (35 lines) | stat: -rw-r--r-- 576 bytes parent folder | download
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
# data file for the Fltk User Interface Designer (fluid)
version 1.00 
header_name {.h} 
code_name {.cxx} 
gridx 5 
gridy 5 
snap 3
Function {onFileQuit(ptr)} {open
} {
  code {import sys
sys.exit(0)} {selected
  }
} 

Function {} {open
} {
  Fl_Window {} {open
    xywh {810 23 100 100} visible
  } {
    Fl_Menu_Bar {} {open
      xywh {0 0 105 25}
    } {
      submenu {} {
        label {&File} open
        xywh {0 0 100 20}
      } {
        menuitem {} {
          label {&Quit}
          callback onFileQuit
          xywh {0 0 100 20}
        }
      }
    }
  }
}