AnacondaMountpointSelector

AnacondaMountpointSelector

Functions

Properties

char * mountpoint Read / Write
char * name Read / Write
gboolean show-arrow Read / Write
char * size Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkEventBox
                        ╰── AnacondaMountpointSelector

Implemented Interfaces

AnacondaMountpointSelector implements AtkImplementorIface and GtkBuildable.

Description

Functions

anaconda_mountpoint_selector_new ()

GtkWidget *
anaconda_mountpoint_selector_new ();

Creates a new AnacondaMountpointSelector, which is a selectable display for a single mountpoint. Many mountpoints may be put together into a list, displaying all configured filesystems at once.


anaconda_mountpoint_selector_get_chosen ()

gboolean
anaconda_mountpoint_selector_get_chosen
                               (AnacondaMountpointSelector *widget);

Returns whether or not this mountpoint has been chosen by the user.

Parameters

Returns

Whether widget has been chosen.

Since: 1.0


anaconda_mountpoint_selector_set_chosen ()

void
anaconda_mountpoint_selector_set_chosen
                               (AnacondaMountpointSelector *widget,
                                gboolean is_chosen);

Specifies whether the mountpoint shown by this selector has been chosen by the user. If so, a special background will be set as a visual indicator.

Parameters

widget

a AnacondaMountpointSelector

 

is_chosen

TRUE if this mountpoint is chosen.

 

Since: 1.0


anaconda_mountpoint_selector_get_page ()

GtkWidget *
anaconda_mountpoint_selector_get_page (AnacondaMountpointSelector *widget);

Return pointer to Page where this AnacondaMountpointSelector is contained.

Parameters

Returns

Pointer to GtkWidget page or NONE.

[transfer none]

Since: 3.4


anaconda_mountpoint_selector_set_page ()

void
anaconda_mountpoint_selector_set_page (AnacondaMountpointSelector *widget,
                                       GtkWidget *parent_page);

Set a pointer to Page where this AnacondaMountpointSelector is contained.

Parameters

widget

a AnacondaMountpointSelector

 

parent_page

Page object which owns this AnacondaMountpointSelector

 

Since: 3.4

Types and Values

struct AnacondaMountpointSelector

struct AnacondaMountpointSelector;

The AnacondaMountpointSelector struct contains only private fields and should not be directly accessed.


struct AnacondaMountpointSelectorClass

struct AnacondaMountpointSelectorClass {
    GtkEventBoxClass parent_class;
};

Members

Property Details

The “mountpoint” property

  “mountpoint”               char *

The “mountpoint” string is the primary text displayed for this widget. It shows where on the filesystem this device is mounted.

Owner: AnacondaMountpointSelector

Flags: Read / Write

Default value: ""

Since: 1.0


The “name” property

  “name”                     char *

The “name” string is the secondary text displayed for this widget. It is commonly going to be the name of the device node containing this mountpoint.

Owner: AnacondaMountpointSelector

Flags: Read / Write

Default value: ""

Since: 1.0


The “show-arrow” property

  “show-arrow”               gboolean

The “show-arrow” boolean is used when arrow on the left should or shouldn't be visible.

Owner: AnacondaMountpointSelector

Flags: Read / Write

Default value: TRUE

Since: 3.4


The “size” property

  “size”                     char *

The “size” string is the size of the mountpoint, including whatever units it is measured in.

Owner: AnacondaMountpointSelector

Flags: Read / Write

Default value: "0 GB"

Since: 1.0

Signal Details

The “chosen-changed” signal

void
user_function (AnacondaMountpointSelector *anacondamountpointselector,
               gpointer                    user_data)

The “chosen-changed” signals when set_chosen is called.

Parameters

user_data

user data set when the signal handler was connected.

 

Flags: No Hooks

Since: 3.4