544
524
double retvalue = g_key_file_get_double(const_cast<GKeyFile*>(gobj()), group_name.c_str(), key.c_str(), &(gerror));
546
526
::Glib::Error::throw_exception(gerror);
552
530
void KeyFile::set_double(const Glib::ustring& group_name, const Glib::ustring& key, double value)
554
g_key_file_set_double(gobj(), group_name.c_str(), key.c_str(), value);
532
g_key_file_set_double(gobj(), group_name.c_str(), key.c_str(), value);
557
535
Glib::ustring KeyFile::get_comment(const Glib::ustring& group_name, const Glib::ustring& key) const
560
538
Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_key_file_get_comment(const_cast<GKeyFile*>(gobj()), group_name.c_str(), key.c_str(), &(gerror)));
562
540
::Glib::Error::throw_exception(gerror);
568
544
void KeyFile::set_list_separator(gchar separator)
570
g_key_file_set_list_separator(gobj(), separator);
546
g_key_file_set_list_separator(gobj(), separator);
573
549
void KeyFile::set_value(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& value)
575
g_key_file_set_value(gobj(), group_name.c_str(), key.c_str(), value.c_str());
551
g_key_file_set_value(gobj(), group_name.c_str(), key.c_str(), value.c_str());
578
554
void KeyFile::set_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& string)
580
g_key_file_set_string(gobj(), group_name.c_str(), key.c_str(), string.c_str());
556
g_key_file_set_string(gobj(), group_name.c_str(), key.c_str(), string.c_str());
583
559
void KeyFile::set_locale_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale, const Glib::ustring& string)
585
g_key_file_set_locale_string(gobj(), group_name.c_str(), key.c_str(), locale.c_str(), string.c_str());
561
g_key_file_set_locale_string(gobj(), group_name.c_str(), key.c_str(), locale.c_str(), string.c_str());
588
564
void KeyFile::set_boolean(const Glib::ustring& group_name, const Glib::ustring& key, bool value)
590
g_key_file_set_boolean(gobj(), group_name.c_str(), key.c_str(), static_cast<int>(value));
566
g_key_file_set_boolean(gobj(), group_name.c_str(), key.c_str(), static_cast<int>(value));
593
569
void KeyFile::set_integer(const Glib::ustring& group_name, const Glib::ustring& key, int value)
595
g_key_file_set_integer(gobj(), group_name.c_str(), key.c_str(), value);
571
g_key_file_set_integer(gobj(), group_name.c_str(), key.c_str(), value);
598
574
void KeyFile::set_int64(const Glib::ustring& group_name, const Glib::ustring& key, gint64 value)
600
g_key_file_set_int64(gobj(), group_name.c_str(), key.c_str(), value);
576
g_key_file_set_int64(gobj(), group_name.c_str(), key.c_str(), value);
603
579
void KeyFile::set_uint64(const Glib::ustring& group_name, const Glib::ustring& key, guint64 value)
605
g_key_file_set_uint64(gobj(), group_name.c_str(), key.c_str(), value);
581
g_key_file_set_uint64(gobj(), group_name.c_str(), key.c_str(), value);
608
584
void KeyFile::set_comment(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& comment)