1 #############################################################################
3 ## Purpose: XS for Wx::Gauge
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: Gauge.xs 2057 2007-06-18 23:03:00Z mbarbon $
8 ## Copyright: (c) 2000-2001, 2003, 2006 Mattia Barbon
9 ## Licence: This program is free software; you can redistribute it and/or
10 ## modify it under the same terms as Perl itself
11 #############################################################################
15 MODULE=Wx PACKAGE=Wx::Gauge
21 MATCH_VOIDM_REDISP( newDefault )
22 MATCH_ANY_REDISP( newFull )
23 END_OVERLOAD( "Wx::Gauge::new" )
29 RETVAL = new wxGauge();
30 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
35 newFull( CLASS, parent, id, range, pos = wxDefaultPosition, size = wxDefaultSize, style = wxGA_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxGaugeNameStr )
43 wxValidator* validator
46 RETVAL = new wxGauge( parent, id, range, pos, size,
47 style, *validator, name );
48 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
53 wxGauge::Create( parent, id, range, pos = wxDefaultPosition, size = wxDefaultSize, style = wxGA_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxGaugeNameStr )
60 wxValidator* validator
62 C_ARGS: parent, id, range, pos, size, style, *validator, name
64 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
67 wxGauge::GetBezelFace()
74 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
77 wxGauge::GetShadowWidth()
84 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
87 wxGauge::SetBezelFace( width )
93 wxGauge::SetRange( range )
96 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
99 wxGauge::SetShadowWidth( width )
105 wxGauge::SetValue( pos )
108 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
111 wxGauge::IsVertical()
115 #if WXPERL_W_VERSION_GE( 2, 7, 1 )