Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * gimp_table_attach_aligned (GtkTable *table
,gint column
,gint row
,const gchar *label_text
,gfloat xalign
,gfloat yalign
,GtkWidget *widget
,gint colspan
,gboolean left_align
);
Note that the label_text
can be NULL
and that the widget will be
attached starting at (column
+ 1) in this case, too.
table |
The GtkTable the widgets will be attached to. |
|
column |
The column to start with. |
|
row |
The row to attach the widgets. |
|
label_text |
The text for the GtkLabel which will be attached left of the widget. |
|
xalign |
The horizontal alignment of the GtkLabel. |
|
yalign |
The vertical alignment of the GtkLabel. |
|
widget |
The GtkWidget to attach right of the label. |
|
colspan |
The number of columns the widget will use. |
|
left_align |
|
void gimp_label_set_attributes (GtkLabel *label
,...
);
Sets Pango attributes on a GtkLabel in a more convenient way than
gtk_label_set_attributes()
.
This function is useful if you want to change the font attributes of a GtkLabel. This is an alternative to using PangoMarkup which is slow to parse and awkward to handle in an i18n-friendly way.
The attributes are set on the complete label, from start to end. If you need to set attributes on part of the label, you will have to use the PangoAttributes API directly.
Since: 2.2
GimpColorProfile *
gimp_widget_get_color_profile (GtkWidget *widget
);
GimpColorTransform * gimp_widget_get_color_transform (GtkWidget *widget
,GimpColorConfig *config
,GimpColorProfile *src_profile
,const Babl *src_format
,const Babl *dest_format
);