2 * This file is a part of hildon
4 * Copyright (C) 2008 Nokia Corporation, all rights reserved.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser Public License as published by
8 * the Free Software Foundation; version 2 of the license.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser Public License for more details.
17 #ifndef __HILDON_GTK_H__
18 #define __HILDON_GTK_H__
25 HILDON_SIZE_AUTO_WIDTH = 0 << 0, /* set to automatic width */
26 HILDON_SIZE_HALFSCREEN_WIDTH = 1 << 0, /* set to 50% screen width */
27 HILDON_SIZE_FULLSCREEN_WIDTH = 2 << 0, /* set to 100% screen width */
28 HILDON_SIZE_AUTO_HEIGHT = 0 << 2, /* set to automatic height */
29 HILDON_SIZE_FINGER_HEIGHT = 1 << 2, /* set to finger height */
30 HILDON_SIZE_THUMB_HEIGHT = 2 << 2, /* set to thumb height */
31 HILDON_SIZE_AUTO = (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_AUTO_HEIGHT)
35 hildon_gtk_widget_set_theme_size (GtkWidget *widget,
39 hildon_gtk_button_new (HildonSizeType size);
42 hildon_gtk_toggle_button_new (HildonSizeType size);
45 hildon_gtk_radio_button_new (HildonSizeType size,
49 hildon_gtk_radio_button_new_from_widget (HildonSizeType size,
50 GtkRadioButton *radio_group_member);
53 hildon_gtk_tree_view_new (HildonUIMode mode);
56 hildon_gtk_tree_view_new_with_model (HildonUIMode mode,
60 hildon_gtk_icon_view_new (HildonUIMode mode);
63 hildon_gtk_icon_view_new_with_model (HildonUIMode mode,
67 hildon_gtk_window_set_progress_indicator (GtkWindow *window,
72 #endif /* __HILDON_GTK_H__ */