Top | ![]() |
![]() |
![]() |
![]() |
FmIcon * | fm_icon_from_gicon () |
FmIcon * | fm_icon_from_name () |
#define | fm_icon_get_gicon() |
gpointer | fm_icon_get_user_data () |
FmIcon * | fm_icon_ref () |
void | fm_icon_reset_user_data_cache () |
void | fm_icon_set_user_data () |
void | fm_icon_set_user_data_destroy () |
void | fm_icon_unload_cache () |
void | fm_icon_unload_user_data_cache () |
void | fm_icon_unref () |
FmIcon *
fm_icon_from_gicon (GIcon *gicon
);
Retrives a FmIcon corresponding to gicon
from cache inserting new
one if there was no such icon there yet.
Since: 0.1.0
FmIcon *
fm_icon_from_name (const char *name
);
Retrives a FmIcon corresponding to name
from cache inserting new
one if there was no such icon there yet.
Since: 0.1.0
#define fm_icon_get_gicon(icon) G_ICON(icon)
The macro to access GIcon instead of old direct access. For older versions applications can define it as (icon->gicon)
Since: 1.2.0
gpointer
fm_icon_get_user_data (FmIcon *icon
);
fm_icon_get_user_data
has been deprecated since version 1.2.0 and should not be used in newly-written code.
Use g_object_get_qdata()
instead.
Retrieves user data that was set via fm_icon_set_user_data()
.
Since: 0.1.0
FmIcon *
fm_icon_ref (FmIcon *icon
);
fm_icon_ref
has been deprecated since version 1.2.0 and should not be used in newly-written code.
Use g_object_ref()
instead.
Increases reference count on icon
.
Since: 0.1.0
void
fm_icon_reset_user_data_cache (GQuark quark
);
Flushes all user data by quark
in cache.
Since: 1.2.0
void fm_icon_set_user_data (FmIcon *icon
,gpointer user_data
);
fm_icon_set_user_data
has been deprecated since version 1.2.0 and should not be used in newly-written code.
Use g_object_set_qdata_full()
instead.
Sets user_data
to be associated with icon
.
See also: fm_icon_get_user_data()
, fm_icon_unload_user_data_cache()
.
Since: 0.1.0
void
fm_icon_set_user_data_destroy (GDestroyNotify func
);
fm_icon_set_user_data_destroy
has been deprecated since version 1.2.0 and should not be used in newly-written code.
Sets func
to be used by fm_icon_unload_user_data_cache()
to destroy
user data that was set by fm_icon_set_user_data()
.
Since: 0.1.0
void
fm_icon_unload_user_data_cache ();
fm_icon_unload_user_data_cache
has been deprecated since version 1.2.0 and should not be used in newly-written code.
Use fm_icon_reset_user_data_cache()
instead.
Flushes all user data in cache.
See also: fm_icon_set_user_data()
.
Since: 0.1.0
void
fm_icon_unref (FmIcon *icon
);
fm_icon_unref
has been deprecated since version 1.2.0 and should not be used in newly-written code.
Use g_object_unref()
instead.
Decreases reference count on icon
. If refernce count went to 0 then
removes icon
from cache.
Since: 0.1.0