File: GtkFontButton.xs

package info (click to toggle)
libgtk2-perl 2:1.2499-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,668 kB
  • ctags: 594
  • sloc: perl: 22,100; ansic: 122; makefile: 17
file content (51 lines) | stat: -rw-r--r-- 1,570 bytes parent folder | download | duplicates (5)
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
46
47
48
49
50
51
/*
 * Copyright (c) 2003 by the gtk2-perl team (see the file AUTHORS)
 *
 * Licensed under the LGPL, see LICENSE file for more information.
 *
 * $Id$
 */

#include "gtk2perl.h"

MODULE = Gtk2::FontButton	PACKAGE = Gtk2::FontButton	PREFIX = gtk_font_button_

## GtkWidget *gtk_font_button_new (void);
## GtkWidget *gtk_font_button_new_with_font (const gchar *fontname);
GtkWidget *
gtk_font_button_new (class, const gchar * fontname=NULL)
    ALIAS:
	new_with_font = 1
    CODE:
	PERL_UNUSED_VAR (ix);
	RETVAL = items == 2
	       ? gtk_font_button_new_with_font (fontname)
	       : gtk_font_button_new ();
    OUTPUT:
	RETVAL

const gchar *gtk_font_button_get_title (GtkFontButton *font_button);

void gtk_font_button_set_title (GtkFontButton *font_button, const gchar *title);

gboolean gtk_font_button_get_use_font (GtkFontButton *font_button);

void gtk_font_button_set_use_font (GtkFontButton *font_button, gboolean use_font);

gboolean gtk_font_button_get_use_size (GtkFontButton *font_button);

void gtk_font_button_set_use_size (GtkFontButton *font_button, gboolean use_size);

const gchar* gtk_font_button_get_font_name (GtkFontButton *font_button);

gboolean gtk_font_button_set_font_name (GtkFontButton *font_button, const gchar *fontname);

gboolean gtk_font_button_get_show_style (GtkFontButton *font_button);

void gtk_font_button_set_show_style (GtkFontButton *font_button, gboolean show_style);

gboolean gtk_font_button_get_show_size (GtkFontButton *font_button);

void gtk_font_button_set_show_size (GtkFontButton *font_button, gboolean show_size);