Top | ![]() |
![]() |
![]() |
![]() |
gchar * | mountpoint | Read / Write |
gchar * | name | Read / Write |
gboolean | show-arrow | Read / Write |
gchar * | size | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkEventBox ╰── AnacondaMountpointSelector
A AnacondaMountpointSelector is a widget that appears on the custom partitioning spoke and allows the user to select a single mount point to do additional configuration.
As a AnacondaMountpointSelector is a subclass of a GtkEventBox, any signals may be caught. However “button-press-event” is the most important one and is how we determine what should be displayed on the rest of the screen.
1 2 3 4 5 |
AnacondaMountpointSelector ├── #anaconda-mountpoint-label ├── #anaconda-mountpoint-size-label ├── #anaconda-mountpoint-arrow ╰── #anaconda-mountpoint-name-label |
The internal widgets are accessible by name for the purposes of CSS selectors
anaconda-mountpoint-name-label
The name of the mountpoint (e.g., /boot, /home, swap).
anaconda-mountpoint-size-label
The size of the mountpoint.
anaconda-mountpoint-arrow
The arrow image displayed on the selected mountpoint.
anaconda-mountpoint-name-label
The secondary text displayed for the mountpoint. This is commonly the name of the device node containing the mountpoint.
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.
gboolean
anaconda_mountpoint_selector_get_chosen
(AnacondaMountpointSelector *widget
);
Returns whether or not this mountpoint has been chosen by the user.
Since: 1.0
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.
Since: 1.0
GtkWidget *
anaconda_mountpoint_selector_get_page (AnacondaMountpointSelector *widget
);
Return pointer to Page where this AnacondaMountpointSelector is contained.
Since: 3.4
void anaconda_mountpoint_selector_set_page (AnacondaMountpointSelector *widget
,GtkWidget *parent_page
);
Set a pointer to Page where this AnacondaMountpointSelector is contained.
Since: 3.4
struct AnacondaMountpointSelector;
The AnacondaMountpointSelector struct contains only private fields and should not be directly accessed.
“mountpoint”
property“mountpoint” gchar *
The “mountpoint” string is the primary text displayed for this widget. It shows where on the filesystem this device is mounted.
Flags: Read / Write
Default value: ""
Since: 1.0
“name”
property“name” gchar *
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.
Flags: Read / Write
Default value: ""
Since: 1.0
“show-arrow”
property“show-arrow” gboolean
The “show-arrow” boolean is used when arrow on the left should or shouldn't be visible.
Flags: Read / Write
Default value: TRUE
Since: 3.4
“chosen-changed”
signalvoid user_function (AnacondaMountpointSelector *anacondamountpointselector, gpointer user_data)
The “chosen-changed” signals when set_chosen is called.
Flags: No Hooks
Since: 3.4