1 /* 2 * Copyright (c) 2003 by the gtk2-perl team (see the file AUTHORS) 3 * 4 * Licensed under the LGPL, see LICENSE file for more information. 5 * 6 * $Id$ 7 */ 8 9 #include "gtk2perl.h" 10 11 MODULE = Gtk2::FontButton PACKAGE = Gtk2::FontButton PREFIX = gtk_font_button_ 12 13 ## GtkWidget *gtk_font_button_new (void); 14 ## GtkWidget *gtk_font_button_new_with_font (const gchar *fontname); 15 GtkWidget * 16 gtk_font_button_new (class, const gchar * fontname=NULL) 17 ALIAS: 18 new_with_font = 1 19 CODE: 20 PERL_UNUSED_VAR (ix); 21 RETVAL = items == 2 22 ? gtk_font_button_new_with_font (fontname) 23 : gtk_font_button_new (); 24 OUTPUT: 25 RETVAL 26 27 const gchar *gtk_font_button_get_title (GtkFontButton *font_button); 28 29 void gtk_font_button_set_title (GtkFontButton *font_button, const gchar *title); 30 31 gboolean gtk_font_button_get_use_font (GtkFontButton *font_button); 32 33 void gtk_font_button_set_use_font (GtkFontButton *font_button, gboolean use_font); 34 35 gboolean gtk_font_button_get_use_size (GtkFontButton *font_button); 36 37 void gtk_font_button_set_use_size (GtkFontButton *font_button, gboolean use_size); 38 39 const gchar* gtk_font_button_get_font_name (GtkFontButton *font_button); 40 41 gboolean gtk_font_button_set_font_name (GtkFontButton *font_button, const gchar *fontname); 42 43 gboolean gtk_font_button_get_show_style (GtkFontButton *font_button); 44 45 void gtk_font_button_set_show_style (GtkFontButton *font_button, gboolean show_style); 46 47 gboolean gtk_font_button_get_show_size (GtkFontButton *font_button); 48 49 void gtk_font_button_set_show_size (GtkFontButton *font_button, gboolean show_size); 50 51 52