NetSurf
|
#include <gtk/gtk.h>
Go to the source code of this file.
Data Structures | |
struct | _SexyIconEntry |
struct | _SexyIconEntryClass |
Macros | |
#define | SEXY_TYPE_ICON_ENTRY (sexy_icon_entry_get_type()) |
#define | SEXY_ICON_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SEXY_TYPE_ICON_ENTRY, SexyIconEntry)) |
#define | SEXY_ICON_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SEXY_TYPE_ICON_ENTRY, SexyIconEntryClass)) |
#define | SEXY_IS_ICON_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SEXY_TYPE_ICON_ENTRY)) |
#define | SEXY_IS_ICON_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SEXY_TYPE_ICON_ENTRY)) |
#define | SEXY_ICON_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SEXY_TYPE_ICON_ENTRY, SexyIconEntryClass)) |
Typedefs | |
typedef struct _SexyIconEntry | SexyIconEntry |
typedef struct _SexyIconEntryClass | SexyIconEntryClass |
typedef struct _SexyIconEntryPriv | SexyIconEntryPriv |
Enumerations | |
enum | SexyIconEntryPosition { SEXY_ICON_ENTRY_PRIMARY , SEXY_ICON_ENTRY_SECONDARY } |
Functions | |
G_BEGIN_DECLS GType | sexy_icon_entry_get_type (void) |
GtkWidget * | sexy_icon_entry_new (void) |
void | sexy_icon_entry_set_icon (SexyIconEntry *entry, SexyIconEntryPosition position, GtkImage *icon) |
void | sexy_icon_entry_set_icon_highlight (SexyIconEntry *entry, SexyIconEntryPosition position, gboolean highlight) |
GtkImage * | sexy_icon_entry_get_icon (const SexyIconEntry *entry, SexyIconEntryPosition position) |
gboolean | sexy_icon_entry_get_icon_highlight (const SexyIconEntry *entry, SexyIconEntryPosition position) |
void | sexy_icon_entry_add_clear_button (SexyIconEntry *icon_entry) |
#define SEXY_ICON_ENTRY | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_CAST((obj), SEXY_TYPE_ICON_ENTRY, SexyIconEntry)) |
Definition at line 31 of file sexy_icon_entry.h.
#define SEXY_ICON_ENTRY_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_CAST((klass), SEXY_TYPE_ICON_ENTRY, SexyIconEntryClass)) |
Definition at line 33 of file sexy_icon_entry.h.
#define SEXY_ICON_ENTRY_GET_CLASS | ( | obj | ) | (G_TYPE_INSTANCE_GET_CLASS ((obj), SEXY_TYPE_ICON_ENTRY, SexyIconEntryClass)) |
Definition at line 39 of file sexy_icon_entry.h.
#define SEXY_IS_ICON_ENTRY | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_TYPE((obj), SEXY_TYPE_ICON_ENTRY)) |
Definition at line 35 of file sexy_icon_entry.h.
#define SEXY_IS_ICON_ENTRY_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_TYPE((klass), SEXY_TYPE_ICON_ENTRY)) |
Definition at line 37 of file sexy_icon_entry.h.
#define SEXY_TYPE_ICON_ENTRY (sexy_icon_entry_get_type()) |
Definition at line 30 of file sexy_icon_entry.h.
typedef struct _SexyIconEntry SexyIconEntry |
Definition at line 24 of file sexy_icon_entry.h.
typedef struct _SexyIconEntryClass SexyIconEntryClass |
Definition at line 25 of file sexy_icon_entry.h.
typedef struct _SexyIconEntryPriv SexyIconEntryPriv |
Definition at line 26 of file sexy_icon_entry.h.
Enumerator | |
---|---|
SEXY_ICON_ENTRY_PRIMARY | |
SEXY_ICON_ENTRY_SECONDARY |
Definition at line 42 of file sexy_icon_entry.h.
void sexy_icon_entry_add_clear_button | ( | SexyIconEntry * | icon_entry | ) |
Definition at line 957 of file sexy_icon_entry.c.
References clear_button_clicked_cb(), _SexyIconEntryPriv::icon_released_id, nsgtk_image_new_from_stock(), NSGTK_STOCK_CLEAR, _SexyIconEntry::priv, SEXY_ICON_ENTRY, SEXY_ICON_ENTRY_SECONDARY, sexy_icon_entry_set_icon(), sexy_icon_entry_set_icon_highlight(), and SEXY_IS_ICON_ENTRY.
GtkImage * sexy_icon_entry_get_icon | ( | const SexyIconEntry * | entry, |
SexyIconEntryPosition | position | ||
) |
Definition at line 908 of file sexy_icon_entry.c.
References SexyIconInfo::icon, _SexyIconEntryPriv::icons, IS_VALID_ICON_ENTRY_POSITION, _SexyIconEntry::priv, and SEXY_IS_ICON_ENTRY.
gboolean sexy_icon_entry_get_icon_highlight | ( | const SexyIconEntry * | entry, |
SexyIconEntryPosition | position | ||
) |
Definition at line 928 of file sexy_icon_entry.c.
References SexyIconInfo::highlight, _SexyIconEntryPriv::icons, IS_VALID_ICON_ENTRY_POSITION, _SexyIconEntry::priv, and SEXY_IS_ICON_ENTRY.
Referenced by sexy_icon_entry_button_press(), sexy_icon_entry_button_release(), sexy_icon_entry_enter_notify(), and sexy_icon_entry_leave_notify().
G_BEGIN_DECLS GType sexy_icon_entry_get_type | ( | void | ) |
GtkWidget * sexy_icon_entry_new | ( | void | ) |
Definition at line 805 of file sexy_icon_entry.c.
References SEXY_TYPE_ICON_ENTRY.
Referenced by nsgtk_entry_new().
void sexy_icon_entry_set_icon | ( | SexyIconEntry * | entry, |
SexyIconEntryPosition | position, | ||
GtkImage * | icon | ||
) |
Definition at line 819 of file sexy_icon_entry.c.
References SexyIconInfo::icon, _SexyIconEntryPriv::icon_released_id, _SexyIconEntryPriv::icons, IS_VALID_ICON_ENTRY_POSITION, _SexyIconEntry::priv, SEXY_ICON_ENTRY_SECONDARY, SEXY_IS_ICON_ENTRY, update_icon(), and SexyIconInfo::window.
Referenced by nsgtk_entry_set_icon_from_icon_name(), nsgtk_entry_set_icon_from_pixbuf(), sexy_icon_entry_add_clear_button(), and sexy_icon_entry_destroy().
void sexy_icon_entry_set_icon_highlight | ( | SexyIconEntry * | entry, |
SexyIconEntryPosition | position, | ||
gboolean | highlight | ||
) |
Definition at line 880 of file sexy_icon_entry.c.
References SexyIconInfo::highlight, _SexyIconEntryPriv::icons, IS_VALID_ICON_ENTRY_POSITION, _SexyIconEntry::priv, and SEXY_IS_ICON_ENTRY.
Referenced by sexy_icon_entry_add_clear_button().