Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | xfce_heading_new () |
GdkPixbuf * | xfce_heading_get_icon () |
void | xfce_heading_set_icon () |
const gchar * | xfce_heading_get_icon_name () |
void | xfce_heading_set_icon_name () |
const gchar * | xfce_heading_get_subtitle () |
void | xfce_heading_set_subtitle () |
const gchar * | xfce_heading_get_title () |
void | xfce_heading_set_title () |
GtkWidget *
xfce_heading_new (void
);
Allocates a new XfceHeading instance.
Since 4.4.0
GdkPixbuf *
xfce_heading_get_icon (XfceHeading *heading
);
Returns the GdkPixbuf that was set as icon for
heading
or NULL
if no icon is set. The returned
GdkPixbuf object is owned by heading
.
Since 4.4.0
void xfce_heading_set_icon (XfceHeading *heading
,GdkPixbuf *icon
);
If icon
is not NULL
, heading
will display the new icon
aside the title. Else, if icon
is NULL
no icon is displayed
unless an icon name was set with xfce_heading_set_icon_name()
.
Since 4.4.0
const gchar *
xfce_heading_get_icon_name (XfceHeading *heading
);
Returns the icon name previously set by a call to
xfce_heading_set_icon_name()
or NULL
if no icon name
is set for heading
.
Since 4.4.0
void xfce_heading_set_icon_name (XfceHeading *heading
,const gchar *icon_name
);
If icon_name
is not NULL
and the "icon" property is set to
NULL
, see xfce_heading_set_icon()
, the heading
will display
the name icon identified by the icon_name
.
Since 4.4.0
const gchar *
xfce_heading_get_subtitle (XfceHeading *heading
);
Returns the sub title displayed below the
main title of the heading
, or NULL
if
no subtitle is set.
Since 4.4.0
void xfce_heading_set_subtitle (XfceHeading *heading
,const gchar *subtitle
);
If subtitle
is not NULL
and not the empty string, it
will be displayed by heading
below the main title.
Since 4.4.0
const gchar *
xfce_heading_get_title (XfceHeading *heading
);
Returns the title displayed by the heading
.
Since 4.4.0
void xfce_heading_set_title (XfceHeading *heading
,const gchar *title
);
Sets the title displayed by the heading
to the
specified title
.
Since 4.4.0
“icon”
property“icon” GdkPixbuf *
The GdkPixbuf to display as icon, or NULL
to use the
"icon-name" property.
Flags: Read / Write
Since 4.4.0
“icon-name”
property“icon-name” gchar *
If the "icon" property value is NULL
this is the name of
the icon to display instead (looked up using the icon theme).
If this property is also NULL
or the specified icon does not
exist in the selected icon theme, no icon will be displayed.
Flags: Read / Write
Default value: NULL
Since 4.4.0
“subtitle”
property“subtitle” gchar *
The sub title that should be displayed below the
title. May be NULL
or the empty string to display
only the title.
Flags: Read / Write
Default value: NULL
Since 4.4.0
“title”
property“title” gchar *
The title text to display in the heading.
Flags: Read / Write
Default value: NULL
Since 4.4.0