pnmixer
Volume mixer for the system tray
Typedefs | Functions
ui-tray-icon.h File Reference

Header for ui-tray-icon.c. More...

#include "audio.h"
Include dependency graph for ui-tray-icon.h:

Go to the source code of this file.

Typedefs

typedef struct tray_icon TrayIcon
 

Functions

TrayIcontray_icon_create (Audio *audio)
 
void tray_icon_destroy (TrayIcon *tray_icon)
 
void tray_icon_reload (TrayIcon *tray_icon)
 

Detailed Description

Header for ui-tray-icon.c.

Header for ui-tray-icon.c.

Definition in file ui-tray-icon.h.

Typedef Documentation

◆ TrayIcon

typedef struct tray_icon TrayIcon

Definition at line 22 of file ui-tray-icon.h.

Function Documentation

◆ tray_icon_create()

TrayIcon* tray_icon_create ( Audio audio)

Creates the tray icon and connects all the signals.

Returns
the newly created TrayIcon instance.

Definition at line 582 of file ui-tray-icon.c.

◆ tray_icon_destroy()

void tray_icon_destroy ( TrayIcon icon)

Destroys the tray icon, freeing any resources.

Parameters
icona TrayIcon instance.

Definition at line 565 of file ui-tray-icon.c.

◆ tray_icon_reload()

void tray_icon_reload ( TrayIcon icon)

Update the tray icon according to the current preferences and the current audio status. Both can't be separated. This has to be called each time the preferences are modified.

Parameters
icona TrayIcon instance.

Definition at line 536 of file ui-tray-icon.c.