Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | gedit_encodings_combo_box_new () |
const GtkSourceEncoding * | gedit_encodings_combo_box_get_selected_encoding () |
void | gedit_encodings_combo_box_set_selected_encoding () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkComboBox ╰── GeditEncodingsComboBox
GeditEncodingsComboBox implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.
GtkWidget *
gedit_encodings_combo_box_new (gboolean save_mode
);
Creates a new encodings combo box object. If save_mode
is FALSE
, it means
that the combo box is used for loading a content (e.g. a file), so the row
"Automatically Detected" is added. For saving a content, the encoding must be
provided.
const GtkSourceEncoding *
gedit_encodings_combo_box_get_selected_encoding
(GeditEncodingsComboBox *menu
);
void gedit_encodings_combo_box_set_selected_encoding (GeditEncodingsComboBox *menu
,const GtkSourceEncoding *encoding
);
Sets the selected encoding.