Deprecated List

Member Gdk::Cairo::set_source_color (const ::Cairo::RefPtr< ::Cairo::Context >& context, const Gdk::Color& color)
  Use set_source_rgba() instead.
Member Gdk::Display::set_double_click_distance (guint distance)
  No replacement method. Applications should not set this.
Member Gdk::Display::set_double_click_time (guint msec)
  No replacement method. Applications should not set this.
Member Gdk::Pixbuf::save (const std::string& filename, const Glib::ustring& type, const std::vector< Glib::ustring >& option_keys, const std::vector< Glib::ustring >& option_values)
  3.6: Use the const version instead.
Member Gdk::Pixbuf::save (const std::string& filename, const Glib::ustring& type)
  3.6: Use the const version instead.
Member Gdk::Pixbuf::save_to_buffer (gchar*& buffer, gsize& buffer_size, const Glib::ustring& type="png")
  3.6: Use the const version instead.
Member Gdk::Pixbuf::save_to_buffer (gchar*& buffer, gsize& buffer_size, const Glib::ustring& type, const std::vector< Glib::ustring >& option_keys, const std::vector< Glib::ustring >& option_values)
  3.6: Use the const version instead.
Member Gdk::Window::get_pointer (int& x, int& y, ModifierType& mask)
  Use get_device_position() instead
Member Gdk::Window::set_background (const Color& color)
  Use the set_background() method that takes a Gdk::RGBA instead.
Member Gtk::Assistant::get_page_header_image (const Widget& page)
  A header is no longer shown. Add your header decoration to the page content instead.
Member Gtk::Assistant::get_page_header_image (const Widget& page) const
  A header is no longer shown. Aadd your header decoration to the page content instead.
Member Gtk::Assistant::get_page_side_image (const Widget& page)
  Sidebar images are not shown anymore..
Member Gtk::Assistant::get_page_side_image (const Widget& page) const
  Sidebar images are not shown anymore.
Member Gtk::Assistant::set_page_header_image (const Widget& page, const Glib::RefPtr< Gdk::Pixbuf >& pixbuf)
  A header is no longer shown. Add your header decoration to the page content instead.
Member Gtk::Assistant::set_page_side_image (const Widget& page, const Glib::RefPtr< Gdk::Pixbuf >& pixbuf)
  Sidebar images are not shown anymore..
Member Gtk::Button::signal_activate ()
  Use signal_clicked() instead.
Member Gtk::Button::signal_enter ()
  Use Widget::signal_enter_notify_event() instead.
Member Gtk::Button::signal_leave ()
  Use Widget::signal_leave_notify_event() instead.
Member Gtk::Button::signal_pressed ()
  Use Widget::signal_button_press_event() instead.
Member Gtk::Button::signal_released ()
  Use Widget::signal_button_release_event() instead.
Member Gtk::CellView::set_background_color (const Gdk::Color& color)
  Use set_background_rgba instead.
Member Gtk::ColorButton::ColorButton (const Gdk::Color& color)
  "Use the constructor that takes a Gdk::RGBA instead."
Member Gtk::ColorButton::get_color () const
  Use get_rgba() instead.
Member Gtk::ColorButton::property_color ()
  Use property_rgba() instead.
Member Gtk::ColorButton::property_color () const
  Use property_rgba() instead.
Member Gtk::ColorButton::set_alpha (guint16 alpha)
  Use set_rgba() instead.
Member Gtk::ColorButton::set_color (const Gdk::Color& color)
  Use set_rgba() instead.
Class Gtk::ColorSelection
  Use ColorButton or ColorChooserDialog instead.
Member Gtk::ColorSelection::set_current_color (const Gdk::Color& color)
  Use set_current_rgba() instead.
Class Gtk::ColorSelectionDialog
  Use ColorChooserDialog instead.
Member Gtk::ComboBox::get_active_id (const Glib::ustring& active_id)
  Use set_active_id(). This method was incorrectly named.
Member Gtk::Dialog::get_vbox () const
  Use get_content_area() instead.
Member Gtk::Dialog::get_vbox ()
  Use get_content_area() instead.
Member Gtk::Entry::get_inner_border () const
  Use the standard border and padding CSS properties instead (through classes like StyleContext and CssProvider).
Member Gtk::Entry::set_inner_border (const Border& border)
  Use the standard border and padding CSS properties instead (through classes like StyleContext and CssProvider).
Class Gtk::FontSelection

  Use FontChooser instead.

Class Gtk::FontSelectionDialog

  Use FontChooserDialog instead.

Class Gtk::HandleBox
  This is very specialized, lacks features to make it useful and most importantly does not fit well into modern application design. There is no replacement.
Class Gtk::HBox
  Use Box instead, which is a very quick and easy change. But we recommend switching to Grid, since Box will go away eventually.
Class Gtk::HButtonBox
  Use ButtonBox instead.
Class Gtk::HPaned
  Use Paned instead.
Class Gtk::HScale
  Use Scale instead.
Class Gtk::HScrollbar
  Use Scrollbar instead.
Class Gtk::Main
  Use Gtk::Application instead.
Member Gtk::Main::add_gtk_option_group (Glib::OptionContext& option_context, bool open_default_display=true)
  Use Gtk::Application instead.
Member Gtk::Main::instance ()
  Use Gtk::Application instead.
Member Gtk::Main::level ()
  Use Gtk::Application instead.
Member Gtk::Main::Main (int& argc, char**& argv, Glib::OptionContext& option_context)
  Use Gtk::Application instead.
Member Gtk::Main::Main (int* argc, char*** argv, bool set_locale=true)
  Use Gtk::Application instead.
Member Gtk::Main::Main (int& argc, char**& argv, bool set_locale=true)
  Use Gtk::Application instead.
Member Gtk::Main::Main (bool set_locale=true)
  Use Gtk::Application instead.
Member Gtk::Main::quit ()
  Use Gtk::Application instead.
Member Gtk::Main::run ()
  Use Gtk::Application instead.
Member Gtk::Main::run (Window& window)
  Use Gtk::Application instead.
Member Gtk::Main::signal_key_snooper ()
  Key snooping should not be done. Events should be handled by widgets.
Member Gtk::Main::~Main ()
  Use Gtk::Application instead.
Member Gtk::MenuButton::get_menu ()
  Use get_popup() instead.
Member Gtk::MenuButton::get_menu () const
  Use get_popup() instead.
Member Gtk::MenuButton::property_menu ()
  Use popup instead.
Member Gtk::MenuButton::property_menu () const
  Use popup instead.
Member Gtk::MenuButton::set_menu (Menu& popup)
  Use set_popup() instead.
Member Gtk::MenuButton::unset_menu ()
  Use unset_popup() instead.
Member Gtk::MenuItem::get_right_justified () const
  See set_right_justified().
Member Gtk::MenuItem::property_right_justified ()
  See set_right_justified.
Member Gtk::MenuItem::property_right_justified () const
  See set_right_justified.
Member Gtk::MenuItem::set_right_justified (bool right_justified=true)
  If you insist on using it
Member Gtk::Notebook::get_tab_hborder () const
  This method now returns zero.
Member Gtk::Notebook::get_tab_vborder () const
  This method now returns zero.
Member Gtk::Settings::property_gtk_touchscreen_mode ()
  Generally the behavior for touchscreen input should be performed dynamically based on gdk_event_get_source_device().
Member Gtk::Settings::property_gtk_touchscreen_mode () const
  Generally the behavior for touchscreen input should be performed dynamically based on gdk_event_get_source_device().
Member Gtk::StyleContext::cancel_animations (gpointer region_id)
  This function does nothing.
Member Gtk::StyleContext::notify_state_change (const Glib::RefPtr< Gdk::Window >& window, gpointer region_id, StateType state, bool state_value)
  This function does nothing.
Member Gtk::StyleContext::pop_animatable_region ()
  This function does nothing.
Member Gtk::StyleContext::push_animatable_region (gpointer region_id)
  This function does nothing.
Member Gtk::StyleContext::render_layout (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, PangoLayout* layout)
  Use the render_layout() taking a const Glib::RefPtr<Pango::Layout>& layout.
Member Gtk::StyleContext::scroll_animations (const Glib::RefPtr< Gdk::Window >& window, int dx, int dy)
  This function does nothing.
Member Gtk::StyleContext::state_is_running (StateType state, gdouble* progress)
  This function always returns `false`.
Class Gtk::Table
  Use Gtk::Grid instead. It provides the same capabilities as Gtk::Table for arranging widgets in a rectangular grid, but does support height-for-width geometry management.
Class Gtk::TearoffMenuItem
  Menus are not meant to be torn around. There is no replacement.
Member Gtk::TextTag::property_background_gdk ()
  Use property_background_rgba() instead.
Member Gtk::TextTag::property_background_gdk () const
  Use property_background_rgba() instead.
Member Gtk::TextTag::property_foreground_gdk ()
  Use property_foreground_rgba() instead.
Member Gtk::TextTag::property_foreground_gdk () const
  Use property_foreground_rgba() instead.
Member Gtk::TextTag::property_paragraph_background_gdk () const
  Use property_paragraph_background_rgba() instead.
Member Gtk::TextTag::property_paragraph_background_gdk ()
  Use property_paragraph_background_rgba() instead.
Member Gtk::UIManager::get_add_tearoffs () const
  Tearoff menus are deprecated and should not be used in newly written code.
Member Gtk::UIManager::set_add_tearoffs (bool add_tearoffs=true)
  Tearoff menus are deprecated and should not be used in newly written code.
Class Gtk::VBox
  Use Box instead, which is a very quick and easy change. But we recommend switching to Grid, since Box will go away eventually.
Class Gtk::VButtonBox
  Use ButtonBox instead.
Class Gtk::VPaned
  Use Paned instead.
Class Gtk::VScale
  Use Scale instead.
Class Gtk::VScrollbar
  Use Scrollbar instead.
Member Gtk::Widget::draw_insertion_cursor (const ::Cairo::RefPtr< ::Cairo::Context >& cr, const Gdk::Rectangle& location, bool is_primary, TextDirection direction, bool draw_arrow=true)
  Use StyleContext::render_insertion_cursor() instead.
Member Gtk::Widget::get_pointer (int& x, int& y) const
  Use Gdk::Window::get_device_position instead.
Member Gtk::Widget::get_state () const
  Use get_state_flags() instead.
Member Gtk::Widget::set_state (StateType state)
  Use set_state_flags() instead.
Member Gtk::Widget::signal_state_changed ()
  Use signal_state_flags_changed() instead
Member Gtk::Window::get_opacity () const
  Use Widget::get_opacity() instead.
Member Gtk::Window::property_opacity ()
  Use the opacity property in the Widget base class instead.
Member Gtk::Window::property_opacity () const
  Use the opacity property in the Widget base class instead.
Member Gtk::Window::set_opacity (double opacity)
  Use Widget::set_opacity() instead.