| Top |  |  |  |  | 
| TeplPanelItem * | tepl_panel_item_new () | 
| GtkWidget * | tepl_panel_item_get_widget () | 
| const gchar * | tepl_panel_item_get_name () | 
| const gchar * | tepl_panel_item_get_title () | 
| const gchar * | tepl_panel_item_get_icon_name () | 
| gint | tepl_panel_item_get_position () | 
| gint | tepl_panel_item_compare () | 
| gint | tepl_panel_item_compare_by_title () | 
TeplPanelItem * tepl_panel_item_new (GtkWidget *widget,const gchar *name,const gchar *title,const gchar *icon_name,gint position);
Creates a new TeplPanelItem object.
See the properties for the meaning of the parameters.
| widget | a GtkWidget. | |
| name | the name. | |
| title | the title. | [nullable] | 
| icon_name | the icon-name. | [nullable] | 
| position | the position. | 
Since: 6.11
GtkWidget *
tepl_panel_item_get_widget (TeplPanelItem *item);
Since: 6.8
const gchar *
tepl_panel_item_get_name (TeplPanelItem *item);
Since: 6.8
const gchar *
tepl_panel_item_get_title (TeplPanelItem *item);
Since: 6.8
const gchar *
tepl_panel_item_get_icon_name (TeplPanelItem *item);
Since: 6.8
gint
tepl_panel_item_get_position (TeplPanelItem *item);
Since: 6.11
gint tepl_panel_item_compare (TeplPanelItem *a,TeplPanelItem *b);
A GCompareFunc that takes into account the “position” property in priority, and falls back to the “title” property if two items have the same position.
Since: 6.11
gint tepl_panel_item_compare_by_title (TeplPanelItem *a,TeplPanelItem *b);
A GCompareFunc that takes into account only the “title” property.
Since: 6.8
“icon-name” property  “icon-name”                char *
The icon name.
It can be shown in the UI to choose this item, for example with the GtkImage's “icon-name” property.
Owner: TeplPanelItem
Flags: Read / Write / Construct Only
Default value: NULL
Since: 6.11
“name” property  “name”                     char *
The name.
It is an ID as a UTF-8 string. It is not displayed in the UI. It uniquely identifies an item within a list.
Owner: TeplPanelItem
Flags: Read / Write / Construct Only
Default value: NULL
Since: 6.11
“position” property  “position”                 int
The position.
Used to sort items in the desired order.
Owner: TeplPanelItem
Flags: Read / Write / Construct Only
Default value: 0
Since: 6.11
“title” property  “title”                    char *
The title.
It is a human-readable UTF-8 string that can be shown in the UI to choose this item.
Owner: TeplPanelItem
Flags: Read / Write / Construct Only
Default value: NULL
Since: 6.11
“widget” property  “widget”                   GtkWidget *
The GtkWidget (the main content).
Owner: TeplPanelItem
Flags: Read / Write / Construct Only
Since: 6.11