![]() |
![]() |
![]() |
katze Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <katze/katze.h>GtkWidget * katze_throbber_new (void
);void katze_throbber_set_icon_size (KatzeThrobber *throbber
,);
GtkIconSize icon_sizevoid katze_throbber_set_icon_name (KatzeThrobber *throbber
,const
);gchar *icon_sizevoid katze_throbber_set_pixbuf (KatzeThrobber *throbber
,);
GdkPixbuf *pixbufvoid katze_throbber_set_animated (KatzeThrobber *throbber
,);
gboolean animatedvoid katze_throbber_set_static_icon_name (KatzeThrobber *throbber
,const
);gchar *icon_namevoid katze_throbber_set_static_pixbuf (KatzeThrobber *throbber
,);
GdkPixbuf *pixbufvoid katze_throbber_set_static_stock_id (KatzeThrobber *throbber
,const
);gchar *stock_idGtkIconSize katze_throbber_get_icon_size (KatzeThrobber *throbber
); constgchar * katze_throbber_get_icon_name (KatzeThrobber *throbber
);GdkPixbuf * katze_throbber_get_pixbuf (KatzeThrobber *throbber
);gboolean katze_throbber_get_animated (KatzeThrobber *throbber
); constgchar * katze_throbber_get_static_icon_name (KatzeThrobber *throbber
);GdkPixbuf * katze_throbber_get_static_pixbuf (KatzeThrobber *throbber
); constgchar * katze_throbber_get_static_stock_id (KatzeThrobber *throbber
); KatzeThrobber; KatzeThrobberClass;
GtkWidget * katze_throbber_new (void
);
Creates a new throbber widget.
Returns : |
a new KatzeThrobber |
void katze_throbber_set_icon_size (KatzeThrobber *throbber
,);
GtkIconSize icon_size
Sets the desired size of the throbber image. The animation and static image will be displayed in this size. If a pixbuf is used for the animation every single frame is assumed to have this size.
|
a KatzeThrobber |
|
the new icon size |
void katze_throbber_set_icon_name (KatzeThrobber *throbber
,const
);gchar *icon_size
Sets the name of an icon that should provide the animation frames.
The pixbuf is automatically invalidated.
|
a KatzeThrobber |
|
an icon name or NULL |
void katze_throbber_set_pixbuf (KatzeThrobber *throbber
,);
GdkPixbuf *pixbuf
Sets the pixbuf that should provide the animation frames. Every frame
is assumed to have the icon size of the throbber, which can be specified
with katze_throbber_set_icon_size()
.
The icon name is automatically invalidated.
|
a KatzeThrobber |
|
a NULL |
void katze_throbber_set_animated (KatzeThrobber *throbber
,);
gboolean animated
Sets the animation state of the throbber.
|
a KatzeThrobber |
|
TRUE |
void katze_throbber_set_static_icon_name (KatzeThrobber *throbber
,const
);gchar *icon_name
Sets the name of an icon that should provide the static image.
The static pixbuf and stock ID are automatically invalidated.
|
a KatzeThrobber |
|
an icon name or NULL |
void katze_throbber_set_static_pixbuf (KatzeThrobber *throbber
,);
GdkPixbuf *pixbuf
Sets the pixbuf that should provide the static image. The pixbuf is
assumed to have the icon size of the throbber, which can be specified
with katze_throbber_set_icon_size()
.
The static icon name and stock ID are automatically invalidated.
|
a KatzeThrobber |
|
a NULL |
void katze_throbber_set_static_stock_id (KatzeThrobber *throbber
,const
);gchar *stock_id
Sets the stock ID of an icon that should provide the static image.
The static icon name and pixbuf are automatically invalidated.
|
a KatzeThrobber |
|
a stock ID or NULL |
GtkIconSize katze_throbber_get_icon_size (KatzeThrobber *throbber
);
Retrieves the size of the throbber.
|
a KatzeThrobber |
Returns : |
the size of the throbber |
constgchar * katze_throbber_get_icon_name (KatzeThrobber *throbber
);
Retrieves the name of the icon providing the animation frames.
|
a KatzeThrobber |
Returns : |
the name of the icon providing the animation frames, or NULL |
GdkPixbuf * katze_throbber_get_pixbuf (KatzeThrobber *throbber
);
Retrieves the
|
a KatzeThrobber |
Returns : |
the pixbuf providing the animation frames, or NULL |
gboolean katze_throbber_get_animated (KatzeThrobber *throbber
);
Retrieves the status of the animation, whcih can be animated or static.
|
a KatzeThrobber |
Returns : |
TRUE |
constgchar * katze_throbber_get_static_icon_name (KatzeThrobber *throbber
);
Retrieves the name of the icon providing the static image, if an icon name for the static image was specified.
|
a KatzeThrobber |
Returns : |
the name of the icon providing the static image, or NULL |
GdkPixbuf * katze_throbber_get_static_pixbuf (KatzeThrobber *throbber
);
constgchar * katze_throbber_get_static_stock_id (KatzeThrobber *throbber
);
Retrieves the stock ID of the icon providing the static image, if a stock ID for the static image was specified.
|
a KatzeThrobber |
Returns : |
the stock ID of the icon providing the static image, or NULL |