The AnacondaWidgets Library Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct AnacondaMountpointSelector; struct AnacondaMountpointSelectorClass; gboolean anaconda_mountpoint_selector_get_chosen (AnacondaMountpointSelector *widget
); GtkWidget * anaconda_mountpoint_selector_new (); void anaconda_mountpoint_selector_set_chosen (AnacondaMountpointSelector *widget
,gboolean is_chosen
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBin +----GtkEventBox +----AnacondaMountpointSelector
"mountpoint" gchar* : Read / Write "name" gchar* : Read / Write "size" gchar* : Read / Write
A AnacondaMountpointSelector is a widget that appears on the custom partitioning Mountpoint 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.
struct AnacondaMountpointSelector;
The AnacondaMountpointSelector struct contains only private fields and should not be directly accessed.
struct AnacondaMountpointSelectorClass { GtkEventBoxClass parent_class; };
gboolean anaconda_mountpoint_selector_get_chosen
(AnacondaMountpointSelector *widget
);
Returns whether or not this mountpoint has been chosen by the user.
|
a AnacondaMountpointSelector |
Returns : |
Whether widget has been chosen. |
Since 1.0
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.
Returns : |
A new AnacondaMountpointSelector. |
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.
|
a AnacondaMountpointSelector |
|
TRUE if this mountpoint is chosen. |
Since 1.0
"mountpoint"
property "mountpoint" gchar* : Read / Write
The :mountpoint string is where on the filesystem this is mounted.
Default value: ""
Since 1.0
"name"
property "name" gchar* : Read / Write
The :name string is the primary text displayed for a given mountpoint.
Default value: "Root"
Since 1.0