File: GtkItem.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 (26 lines) | stat: -rw-r--r-- 436 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

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

#include "GtkDefs.h"

MODULE = Gtk::Item		PACKAGE = Gtk::Item		PREFIX = gtk_item_

#ifdef GTK_ITEM

void
gtk_item_select(item)	
	Gtk::Item	item
	ALIAS:
		Gtk::Item::select = 0
		Gtk::Item::deselect = 1
		Gtk::Item::toggle = 2
	CODE:
	switch (ix) {
	case 0: gtk_item_select(item); break;
	case 1: gtk_item_deselect(item); break;
	case 2: gtk_item_toggle(item); break;
	}

#endif