PhoshWWanInfo

PhoshWWanInfo — A widget to display the wwan status

Functions

Properties

gboolean present Read
gboolean show-detail Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── PhoshStatusIcon
                        ╰── PhoshWWanInfo

Implemented Interfaces

PhoshWWanInfo implements AtkImplementorIface and GtkBuildable.

Description

A good indicator whether to show the icon is the “present” property that indicates if hardware is present.

Functions

phosh_wwan_info_new ()

GtkWidget *
phosh_wwan_info_new (void);

phosh_wwan_info_set_show_detail ()

void
phosh_wwan_info_set_show_detail (PhoshWWanInfo *self,
                                 gboolean show);

phosh_wwan_info_get_show_detail ()

gboolean
phosh_wwan_info_get_show_detail (PhoshWWanInfo *self);

Types and Values

PHOSH_TYPE_WWAN_INFO

#define PHOSH_TYPE_WWAN_INFO (phosh_wwan_info_get_type())

PhoshWWanInfo

typedef struct _PhoshWWanInfo PhoshWWanInfo;

Property Details

The “present” property

  “present”                  gboolean

Whether WWAN hardware is present.

Flags: Read

Default value: FALSE


The “show-detail” property

  “show-detail”              gboolean

Show wwan details.

Flags: Read / Write / Construct

Default value: FALSE