![]() |
![]() |
![]() |
Awn Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
void awn_utils_ensure_transparent_bg (GtkWidget *widget
); void awn_utils_make_transparent_bg (GtkWidget *widget
); gfloat awn_utils_get_offset_modifier_by_path_type (AwnPathType path_type
,GtkPositionType position
,gint offset
,gfloat offset_modifier
,gint pos_x
,gint pos_y
,gint width
,gint height
); GValueArray* awn_utils_gslist_to_gvaluearray (GSList *list
); void awn_utils_show_menu_images (GtkMenu *menu
);
void awn_utils_ensure_transparent_bg (GtkWidget *widget
);
Ensures that the widget has transparent background all the time by connecting to the GtkWidget::realize and GtkWidget::style-set signals.
|
Widget which should have transparent background. |
void awn_utils_make_transparent_bg (GtkWidget *widget
);
Modifies the background pixmap on the widget to be transparent if composited environment is used.
|
Widget which background will be modified. |
gfloat awn_utils_get_offset_modifier_by_path_type (AwnPathType path_type
,GtkPositionType position
,gint offset
,gfloat offset_modifier
,gint pos_x
,gint pos_y
,gint width
,gint height
);
Computes modifier for offset value based on current path_type and position of a widget on the panel.
Returns : |
Offset modifier, offset value should be multiplied by this modifier. |
GValueArray* awn_utils_gslist_to_gvaluearray (GSList *list
);
Converts a GSList of strings to a GValueArray, suitable for use with a configuration client.
|
The GSList of gchar pointers to convert. |
Returns : |
A newly allocated GValueArray (the GValue elements and their contents are also newly allocated). |