#define _HILDON_PICKER_BUTTON
#include <glib-object.h>
+
#include "hildon-button.h"
#include "hildon-touch-selector.h"
#define HILDON_IS_PICKER_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HILDON_TYPE_PICKER_BUTTON))
#define HILDON_PICKER_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), HILDON_TYPE_PICKER_BUTTON, HildonPickerButtonClass))
-typedef struct
+typedef struct _HildonPickerButton HildonPickerButton;
+typedef struct _HildonPickerButtonClass HildonPickerButtonClass;
+
+struct _HildonPickerButton
{
HildonButton parent;
-} HildonPickerButton;
+};
-typedef struct
+struct _HildonPickerButtonClass
{
HildonButtonClass parent_class;
-} HildonPickerButtonClass;
+};
GType hildon_picker_button_get_type (void);
-GtkWidget *hildon_picker_button_new (HildonButtonFlags flags);
+GtkWidget *hildon_picker_button_new (HildonSizeType size,
+ HildonButtonArrangement arrangement);
void hildon_picker_button_set_selector (HildonPickerButton * button,
HildonTouchSelector * selector);
HildonTouchSelector *hildon_picker_button_get_selector (HildonPickerButton * button);
+void hildon_picker_button_set_active (HildonPickerButton * button,
+ gint index);
+gint hildon_picker_button_get_active (HildonPickerButton * button);
G_END_DECLS