2
Copyright (C) 2007-2008 Christian Dywan <christian@twotoasts.de>
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Lesser General Public
6
License as published by the Free Software Foundation; either
7
version 2.1 of the License, or (at your option) any later version.
9
See the file COPYING for the full license text.
13
#define __SOKOKE_H__ 1
17
// Many themes need this hack for small toolbars to work
18
#define GTK_ICON_SIZE_SMALL_TOOLBAR GTK_ICON_SIZE_BUTTON
21
sokoke_magic_uri (const gchar* uri,
25
sokoke_entry_setup_completion (GtkEntry* entry);
28
sokoke_entry_append_completion (GtkEntry* entry,
32
SOKOKE_MENU_POSITION_CURSOR = 0,
33
SOKOKE_MENU_POSITION_LEFT,
34
SOKOKE_MENU_POSITION_RIGHT
38
sokoke_combo_box_add_strings (GtkComboBox* combobox,
39
const gchar* label_first, ...);
42
sokoke_widget_set_visible (GtkWidget* widget,
46
sokoke_container_show_children (GtkContainer* container);
49
sokoke_widget_set_tooltip_text (GtkWidget* widget,
53
sokoke_tool_item_set_tooltip_text (GtkToolItem* toolitem,
57
sokoke_widget_popup (GtkWidget* widget,
59
GdkEventButton* event,
63
sokoke_xfce_header_new (const gchar* icon,
67
sokoke_superuser_warning_new (void);
70
sokoke_hig_frame_new (const gchar* title);
73
sokoke_widget_set_pango_font_style (GtkWidget* widget,
77
sokoke_entry_set_default_text(GtkEntry*, const gchar*);
80
sokoke_key_file_get_string_default (GKeyFile* key_file,
83
const gchar* default_value,
87
sokoke_key_file_get_integer_default (GKeyFile* key_file,
90
const gint default_value,
94
sokoke_key_file_get_double_default (GKeyFile* key_file,
97
gdouble default_value,
101
sokoke_key_file_get_boolean_default (GKeyFile* key_file,
104
gboolean default_value,
108
sokoke_key_file_save_to_file (GKeyFile* key_file,
109
const gchar* filename,
113
sokoke_widget_get_text_size (GtkWidget* widget,
118
#endif /* !__SOKOKE_H__ */