libgaminggear
Macros | Typedefs | Functions
gaminggear_hid_combo_box.h File Reference

ComboBox with HID usage id selection. More...

Macros

#define GAMINGGEAR_HID_COMBO_BOX_TYPE   (gaminggear_hid_combo_box_get_type())
 
#define GAMINGGEAR_HID_COMBO_BOX(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), GAMINGGEAR_HID_COMBO_BOX_TYPE, GaminggearHidComboBox))
 
#define IS_GAMINGGEAR_HID_COMBO_BOX(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), GAMINGGEAR_HID_COMBO_BOX_TYPE))
 

Typedefs

typedef struct _GaminggearHidComboBox GaminggearHidComboBox
 

Functions

GType gaminggear_hid_combo_box_get_type (void)
 
GtkWidget * gaminggear_hid_combo_box_new (void)
 Creates new GaminggearHidComboBox. More...
 
gint gaminggear_hid_combo_box_get_value (GaminggearHidComboBox *hid_combo_box)
 Gets current selected value of combo box. More...
 
void gaminggear_hid_combo_box_set_value (GaminggearHidComboBox *hid_combo_box, gint new_value)
 Sets current value of combo box. More...
 

Detailed Description

ComboBox with HID usage id selection.

Macro Definition Documentation

◆ GAMINGGEAR_HID_COMBO_BOX

#define GAMINGGEAR_HID_COMBO_BOX (   obj)    (G_TYPE_CHECK_INSTANCE_CAST((obj), GAMINGGEAR_HID_COMBO_BOX_TYPE, GaminggearHidComboBox))

◆ GAMINGGEAR_HID_COMBO_BOX_TYPE

#define GAMINGGEAR_HID_COMBO_BOX_TYPE   (gaminggear_hid_combo_box_get_type())

◆ IS_GAMINGGEAR_HID_COMBO_BOX

#define IS_GAMINGGEAR_HID_COMBO_BOX (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE((obj), GAMINGGEAR_HID_COMBO_BOX_TYPE))

Typedef Documentation

◆ GaminggearHidComboBox

typedef struct _GaminggearHidComboBox GaminggearHidComboBox

Function Documentation

◆ gaminggear_hid_combo_box_get_type()

GType gaminggear_hid_combo_box_get_type ( void  )

◆ gaminggear_hid_combo_box_get_value()

gint gaminggear_hid_combo_box_get_value ( GaminggearHidComboBox hid_combo_box)

Gets current selected value of combo box.

Parameters
hid_combo_boxA GaminggearHidComboBox.
Return values
valueActual HID usage id.

◆ gaminggear_hid_combo_box_new()

GtkWidget* gaminggear_hid_combo_box_new ( void  )

Creates new GaminggearHidComboBox.

Return values
widgetA new GaminggearHidComboBox.

◆ gaminggear_hid_combo_box_set_value()

void gaminggear_hid_combo_box_set_value ( GaminggearHidComboBox hid_combo_box,
gint  new_value 
)

Sets current value of combo box.

Parameters
hid_combo_boxA GaminggearHidComboBox.
new_valueThe new HID usage id.