include/alp/timeselector.h File Reference


Detailed Description

Alp Time Selector widget API.

#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <gtk/gtkbin.h>

Go to the source code of this file.

Data Structures

struct  _AlpTimeSelector
struct  _AlpTimeSelectorClass

Defines

#define ALP_IS_TIME_SELECTOR(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), ALP_TYPE_TIME_SELECTOR))
#define ALP_IS_TIME_SELECTOR_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), ALP_TYPE_TIME_SELECTOR))
#define ALP_TIME_SELECTOR(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), ALP_TYPE_TIME_SELECTOR, AlpTimeSelector))
#define ALP_TIME_SELECTOR_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), ALP_TYPE_TIME_SELECTOR, AlpTimeSelectorClass))
#define ALP_TIME_SELECTOR_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), ALP_TYPE_TIME_SELECTOR, AlpTimeSelectorClass))
#define ALP_TYPE_TIME_SELECTOR   (alp_time_selector_get_type())

Typedefs

typedef _AlpTimeSelector AlpTimeSelector
typedef _AlpTimeSelectorClass AlpTimeSelectorClass

Enumerations

enum  AlpTimeSelectorFlags { ALP_TIME_SELECTOR_24 = (1 << 0), ALP_TIME_SELECTOR_12 = (1 << 1) }
 Some flags to specify behavior of AlpTimeSelector . If both flags are not specified, it depends of system wide settings. More...

Functions

gint alp_time_selector_get_hour (AlpTimeSelector *selector)
 retuns the selected hour.
gint alp_time_selector_get_min (AlpTimeSelector *selector)
 retuns the selected minute.
GType alp_time_selector_get_type (void) G_GNUC_CONST
 Get the AlpTimeSelector object type.
GtkWidget * alp_time_selector_new (gint flags)
 Creates a new ALP Time Selector with specified flags.
GtkWidget * alp_time_selector_new_with_time (gint flags, gint hour, gint min)
 Creates a new ALP Time Selector with specified flags, hour and min.
gint alp_time_selector_select (GtkWidget *parent, const gchar *title, gint *hour, gint *min, gint flags)
 show dialog and ask user to select time.
void alp_time_selector_set_hour (AlpTimeSelector *selector, gint hour)
 set the hour.
void alp_time_selector_set_min (AlpTimeSelector *selector, gint min)
 set the minute.


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

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