AlpCommandBarButton
[UI Widgets]


Data Structures

struct  _AlpCommandBarButton
struct  _AlpCommandBarButtonClass

Defines

#define ALP_COMMAND_BAR_BUTTON(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), ALP_TYPE_COMMAND_BAR_BUTTON, AlpCommandBarButton))
#define ALP_COMMAND_BAR_BUTTON_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), ALP_TYPE_COMMAND_BAR_BUTTON, AlpCommandBarButtonClass))
#define ALP_COMMAND_BAR_BUTTON_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), ALP_TYPE_COMMAND_BAR_BUTTON, AlpCommandBarButtonClass))
#define ALP_IS_COMMAND_BAR_BUTTON(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), ALP_TYPE_COMMAND_BAR_BUTTON))
#define ALP_IS_COMMAND_BAR_BUTTON_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), ALP_TYPE_COMMAND_BAR_BUTTON))
#define ALP_TYPE_COMMAND_BAR_BUTTON   (alp_command_bar_button_get_type())

Typedefs

typedef _AlpCommandBarButton AlpCommandBarButton
typedef _AlpCommandBarButtonClass AlpCommandBarButtonClass
typedef void(* AlpCommandBarButtonDrawFunction )(AlpCommandBarButton *button)
 Signature for command bar drawing function.

Functions

void alp_command_bar_button_do_clicked (AlpCommandBarButton *button)
void alp_command_bar_button_do_enter (AlpCommandBarButton *button)
void alp_command_bar_button_do_leave (AlpCommandBarButton *button)
void alp_command_bar_button_do_press (AlpCommandBarButton *button)
void alp_command_bar_button_do_release (AlpCommandBarButton *button)
const gchar * alp_command_bar_button_get_label (AlpCommandBarButton *button)
 GSets the number of buttons in the bar.
GType alp_command_bar_button_get_type (void) G_GNUC_CONST
 Get the AlpCommandBarButton object type.
GtkWidget * alp_command_bar_button_new (void)
 Creates a new AlpCommandBarButton widget.
void alp_command_bar_button_reset_depressed (AlpCommandBarButton *button)
 internal function to help keep button state up to date
void alp_command_bar_button_set_drawing_function (AlpCommandBarButtonDrawFunction draw)
 Sets the drawing function to be called before and after drawing the buttons.
void alp_command_bar_button_set_label (AlpCommandBarButton *button, const gchar *label)
 Sets the label for the button.


Define Documentation

#define ALP_COMMAND_BAR_BUTTON obj   )     (G_TYPE_CHECK_INSTANCE_CAST((obj), ALP_TYPE_COMMAND_BAR_BUTTON, AlpCommandBarButton))
 

#define ALP_COMMAND_BAR_BUTTON_CLASS klass   )     (G_TYPE_CHECK_CLASS_CAST((klass), ALP_TYPE_COMMAND_BAR_BUTTON, AlpCommandBarButtonClass))
 

#define ALP_COMMAND_BAR_BUTTON_GET_CLASS obj   )     (G_TYPE_INSTANCE_GET_CLASS((obj), ALP_TYPE_COMMAND_BAR_BUTTON, AlpCommandBarButtonClass))
 

#define ALP_IS_COMMAND_BAR_BUTTON obj   )     (G_TYPE_CHECK_INSTANCE_TYPE((obj), ALP_TYPE_COMMAND_BAR_BUTTON))
 

#define ALP_IS_COMMAND_BAR_BUTTON_CLASS klass   )     (G_TYPE_CHECK_CLASS_TYPE((klass), ALP_TYPE_COMMAND_BAR_BUTTON))
 

#define ALP_TYPE_COMMAND_BAR_BUTTON   (alp_command_bar_button_get_type())
 


Typedef Documentation

typedef struct _AlpCommandBarButton AlpCommandBarButton
 

typedef struct _AlpCommandBarButtonClass AlpCommandBarButtonClass
 

typedef void(* AlpCommandBarButtonDrawFunction)(AlpCommandBarButton *button)
 

Signature for command bar drawing function.


Function Documentation

void alp_command_bar_button_do_clicked AlpCommandBarButton button  ) 
 

void alp_command_bar_button_do_enter AlpCommandBarButton button  ) 
 

void alp_command_bar_button_do_leave AlpCommandBarButton button  ) 
 

void alp_command_bar_button_do_press AlpCommandBarButton button  ) 
 

void alp_command_bar_button_do_release AlpCommandBarButton button  ) 
 

const gchar* alp_command_bar_button_get_label AlpCommandBarButton button  ) 
 

GSets the number of buttons in the bar.

GType alp_command_bar_button_get_type void   ) 
 

Get the AlpCommandBarButton object type.

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

GtkWidget* alp_command_bar_button_new void   ) 
 

Creates a new AlpCommandBarButton widget.

Returns:
a new AlpCommandBar

void alp_command_bar_button_reset_depressed AlpCommandBarButton button  ) 
 

internal function to help keep button state up to date

void alp_command_bar_button_set_drawing_function AlpCommandBarButtonDrawFunction  draw  ) 
 

Sets the drawing function to be called before and after drawing the buttons.

void alp_command_bar_button_set_label AlpCommandBarButton button,
const gchar *  label
 

Sets the label for the button.


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

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