File: GtkFontSelection.xs

package info (click to toggle)
libgtk-perl 0.7009-12
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,956 kB
  • ctags: 2,260
  • sloc: perl: 13,998; xml: 9,919; ansic: 2,894; makefile: 64; cpp: 45
file content (43 lines) | stat: -rw-r--r-- 863 bytes parent folder | download | duplicates (3)
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

#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

#include "GtkDefs.h"

MODULE = Gtk::FontSelection	PACKAGE = Gtk::FontSelection	PREFIX = gtk_font_selection_

#ifdef GTK_FONT_SELECTION

Gtk::FontSelection_Sink
gtk_font_selection_new(Class)
	SV *	Class
	CODE:
	RETVAL = (GtkFontSelection*)(gtk_font_selection_new());
	OUTPUT:
	RETVAL

char*
gtk_font_selection_get_font_name(font_selection)
	Gtk::FontSelection	font_selection

Gtk::Gdk::Font
gtk_font_selection_get_font(font_selection)
	Gtk::FontSelection	font_selection

bool
gtk_font_selection_set_font_name(font_selection, font_name)
	Gtk::FontSelection	font_selection
	char*			font_name

char*
gtk_font_selection_get_preview_text(font_selection)
	Gtk::FontSelection	font_selection

void
gtk_font_selection_set_preview_text(font_selection, text)
	Gtk::FontSelection	font_selection
	char*			text

#endif