gtkmm: Deprecated List

gtkmm 3.4.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

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::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::Dialog::get_vbox ()
  Use get_content_area() instead.
Member Gtk::Dialog::get_vbox () const
  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).
Member Gtk::Entry::signal_activate ()
  Use signal_key_press_event() or signal_focus_out_event() instead.
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 (bool set_locale=true)
  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::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::MenuItem::get_right_justified () const
  See set_right_justified().
Member Gtk::MenuItem::property_right_justified () const
  See set_right_justified.
Member Gtk::MenuItem::property_right_justified ()
  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.
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 () const
  Use property_background_rgba() instead.
Member Gtk::TextTag::property_background_gdk ()
  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::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