File: gwwvask.h

package info (click to toggle)
fontforge 1:20170731~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 67,252 kB
  • ctags: 42,582
  • sloc: ansic: 580,893; python: 5,476; sh: 3,081; makefile: 1,269; perl: 315; cpp: 176; ruby: 97; objc: 92; xml: 90; sed: 9
file content (35 lines) | stat: -rw-r--r-- 1,435 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
#ifndef _GWWVASK_H
#define _GWWVASK_H

extern void gwwv_post_notice(const char *title, const char *msg, ... );
extern void gwwv_post_error(const char *title, const char *msg, ... );
extern void gwwv_ierror(const char *msg, ... );
extern int gwwv_ask(const char *title,const char **butnames, int def,int cancel,
	const char *msg, ... );
extern char *gwwv_ask_string(const char *title,const char *def,
	const char *question,...);
extern int gwwv_choose_with_buttons(const char *title,
	const char **choices, int cnt, int def,
	const char *butnames[2], const char *msg, ... );
extern int gwwv_choose(const char *title,
	const char **choices, int cnt, int def,
	const char *msg, ... );
extern int gwwv_choose_multiple(char *title,
	const char **choices, char *sel, int cnt, char **buts,
	const char *msg, ... );
extern int gwwv_wild_match(char *pattern, const char *name,int ignorecase);

struct gwwv_filter {
    char *name;
    char *wild;
    GtkFileFilterFunc filtfunc;
};

extern char *gwwv_open_filename_mult(const char *title,const char *def_name,const struct gwwv_filter *filter, int mult);
extern char *gwwv_save_filename_with_gadget(const char *title, const char *def_name,
	const struct gwwv_filter *filters, GtkWidget *extra );
extern char *gwwv_open_filename(const char *title, const char *def_name,
	const char *filter);
extern char *gwwv_saveas_filename(const char *title, const char *def_name,
	const char *filter);
#endif