AlpSpinButton
[UI Widgets]


Data Structures

struct  _AlpSpinButton
struct  _AlpSpinButtonClass

Defines

#define ALP_IS_SPIN_BUTTON(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), ALP_TYPE_SPIN_BUTTON))
#define ALP_IS_SPIN_BUTTON_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), ALP_TYPE_SPIN_BUTTON))
#define ALP_SPIN_BUTTON(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), ALP_TYPE_SPIN_BUTTON, AlpSpinButton))
#define ALP_SPIN_BUTTON_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), ALP_TYPE_SPIN_BUTTON, AlpSpinButtonClass))
#define ALP_SPIN_BUTTON_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), ALP_TYPE_SPIN_BUTTON, AlpSpinButtonClass))
#define ALP_TYPE_SPIN_BUTTON   (alp_spin_button_get_type())

Typedefs

typedef _AlpSpinButton AlpSpinButton
typedef _AlpSpinButtonClass AlpSpinButtonClass
typedef _AlpSpinButtonPrivate AlpSpinButtonPrivate

Functions

void alp_spin_button_get_range (AlpSpinButton *spinbutton, gint *min, gint *max)
 get the allowable range of spinbutton.
GType alp_spin_button_get_type (void) G_GNUC_CONST
 Get the AlpSpinButton object type.
gint alp_spin_button_get_value (AlpSpinButton *spinbutton)
 get the current value.
GtkWidget * alp_spin_button_new (gboolean horizontal)
 Creats new AlpSpinButton.
void alp_spin_button_set_range (AlpSpinButton *spinbutton, gint min, gint max)
 set the allowable range of spinbutton.
void alp_spin_button_set_value (AlpSpinButton *spinbutton, gint value)
 set the current value.


Define Documentation

#define ALP_IS_SPIN_BUTTON obj   )     (G_TYPE_CHECK_INSTANCE_TYPE((obj), ALP_TYPE_SPIN_BUTTON))
 

#define ALP_IS_SPIN_BUTTON_CLASS klass   )     (G_TYPE_CHECK_CLASS_TYPE((klass), ALP_TYPE_SPIN_BUTTON))
 

#define ALP_SPIN_BUTTON obj   )     (G_TYPE_CHECK_INSTANCE_CAST((obj), ALP_TYPE_SPIN_BUTTON, AlpSpinButton))
 

#define ALP_SPIN_BUTTON_CLASS klass   )     (G_TYPE_CHECK_CLASS_CAST((klass), ALP_TYPE_SPIN_BUTTON, AlpSpinButtonClass))
 

#define ALP_SPIN_BUTTON_GET_CLASS obj   )     (G_TYPE_INSTANCE_GET_CLASS((obj), ALP_TYPE_SPIN_BUTTON, AlpSpinButtonClass))
 

#define ALP_TYPE_SPIN_BUTTON   (alp_spin_button_get_type())
 


Typedef Documentation

typedef struct _AlpSpinButton AlpSpinButton
 

typedef struct _AlpSpinButtonClass AlpSpinButtonClass
 

typedef struct _AlpSpinButtonPrivate AlpSpinButtonPrivate
 


Function Documentation

void alp_spin_button_get_range AlpSpinButton spinbutton,
gint *  min,
gint *  max
 

get the allowable range of spinbutton.

Parameters:
[in] spinbutton an AlpSpinButton.
[out] min minimum of allowable range.
[out] max maximum of allowable range.

GType alp_spin_button_get_type void   ) 
 

Get the AlpSpinButton object type.

Parameters:
[in] none. 
Returns:
The AlpSpinButton type identifier

gint alp_spin_button_get_value AlpSpinButton spinbutton  ) 
 

get the current value.

Parameters:
[in] spinbutton an AlpSpinButton.
Returns:
the current value.

GtkWidget* alp_spin_button_new gboolean  horizontal  ) 
 

Creats new AlpSpinButton.

Parameters:
horizontal iff true, new spinbutton has horizontal form.
Returns:
a new AlpSpinButton.

void alp_spin_button_set_range AlpSpinButton spinbutton,
gint  min,
gint  max
 

set the allowable range of spinbutton.

Parameters:
[in] spinbutton an AlpSpinButton.
[in] min minimum of allowable range. -1 means don't modify current setting.
[in] max maximum of allowable range. -1 means don't modify current setting.

void alp_spin_button_set_value AlpSpinButton spinbutton,
gint  value
 

set the current value.

Parameters:
[in] spinbutton an AlpSpinButton.
[in] value new value


Generated on Wed Jul 30 07:06:42 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.