File: GtkScale.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 (45 lines) | stat: -rw-r--r-- 698 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
44
45

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

#include "GtkDefs.h"

MODULE = Gtk::Scale		PACKAGE = Gtk::Scale	PREFIX = gtk_scale_

#ifdef GTK_SCALE

void
gtk_scale_set_digits(scale, digits)
	Gtk::Scale	scale
	int	digits

void
gtk_scale_set_draw_value(scale, draw_value)
	Gtk::Scale	scale
	int	draw_value

void
gtk_scale_set_value_pos(scale, pos)
	Gtk::Scale	scale
	Gtk::PositionType	pos

int
gtk_scale_get_value_width(scale)
	Gtk::Scale	scale
	ALIAS:
		Gtk::Scale::value_width = 1
	CODE:
#if GTK_HVER < 0x010106
	RETVAL = gtk_scale_value_width(scale);
#else
	RETVAL = gtk_scale_get_value_width(scale);
#endif
	OUTPUT:
	RETVAL

void
gtk_scale_draw_value(scale)
	Gtk::Scale	scale

#endif