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
|
/*
* Copyright (c) 2003-2005 by the gtk2-perl team (see the file AUTHORS)
*
* Licensed under the LGPL, see LICENSE file for more information.
*
* $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/Gtk2/xs/GtkToggleAction.xs,v 1.4 2005/04/25 17:37:47 kaffeetisch Exp $
*/
#include "gtk2perl.h"
MODULE = Gtk2::ToggleAction PACKAGE = Gtk2::ToggleAction PREFIX = gtk_toggle_action_
=for position SYNOPSIS
=head1 SYNOPSIS
my $action = Gtk2::ToggleAction->new (name => 'one',
tooltip => 'One');
Note that the constructor slightly deviates from the convenience constructor in
the C API. Instead of passing in a list of values for name, label, tooltip and
stock-id, you just use key => value pairs like with Glib::Object::new.
=cut
void gtk_toggle_action_toggled (GtkToggleAction *action);
void gtk_toggle_action_set_active (GtkToggleAction *action, gboolean is_active);
gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
void gtk_toggle_action_set_draw_as_radio (GtkToggleAction *action, gboolean draw_as_radio);
gboolean gtk_toggle_action_get_draw_as_radio (GtkToggleAction *action);
|