Ardour  9.0-pre0-582-g084a23a80d
libs/gtkmm2ext/gtkmm2ext/utils.h File Reference
#include <vector>
#include <string>
#include <stdint.h>
#include <cairomm/cairomm.h>
#include <pangomm/fontdescription.h>
#include <gtkmm/container.h>
#include <gtkmm/filechooser.h>
#include <gtkmm/menu.h>
#include <gtkmm/treeview.h>
#include <gdkmm/window.h>
#include <gdkmm/pixbuf.h>
#include "gtkmm2ext/visibility.h"
Include dependency graph for libs/gtkmm2ext/gtkmm2ext/utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Gtk
 
 Gtkmm2ext
 

Functions

void Gtkmm2ext::init (const char *)
 
bool Gtkmm2ext::event_inside_widget_window (Gtk::Widget &widget, GdkEvent *ev)
 
std::string Gtkmm2ext::fit_to_pixels (const std::string &, int pixel_width, Pango::FontDescription &font, int &actual_width, bool with_ellipses=false)
 
std::pair< std::string, double > Gtkmm2ext::fit_to_pixels (cairo_t *, std::string, double)
 
int Gtkmm2ext::pixel_width (const std::string &str, const Pango::FontDescription &font)
 
void Gtkmm2ext::pixel_size (const std::string &str, const Pango::FontDescription &font, int &width, int &height)
 
void Gtkmm2ext::get_ink_pixel_size (Glib::RefPtr< Pango::Layout >, int &width, int &height)
 
void Gtkmm2ext::get_ink_pixel_size_with_descent (Glib::RefPtr< Pango::Layout >, int &width, int &height, int &descent)
 
void Gtkmm2ext::set_size_request_to_display_given_text (Gtk::Widget &w, std::string const &text, gint hpadding, gint vpadding)
 
Glib::RefPtr< Gdk::PixbufGtkmm2ext::pixbuf_from_string (const std::string &name, const Pango::FontDescription &font, int clip_width, int clip_height, Gdk::Color fg)
 
void Gtkmm2ext::anchored_menu_popup (Gtk::Menu *const menu, Gtk::Widget *const anchor, const std::string &selected, guint button, guint32 time)
 
void Gtkmm2ext::set_popdown_strings (Gtk::ComboBoxText &, const std::vector< std::string > &)
 
void Gtkmm2ext::get_popdown_strings (Gtk::ComboBoxText &, std::vector< std::string > &)
 
size_t Gtkmm2ext::get_popdown_string_count (Gtk::ComboBoxText &)
 
bool Gtkmm2ext::contains_value (Gtk::ComboBoxText &, const std::string)
 
bool Gtkmm2ext::set_active_text_if_present (Gtk::ComboBoxText &, const std::string)
 
template<class T >
void Gtkmm2ext::deferred_delete (void *ptr)
 
GdkWindowGtkmm2ext::get_paned_handle (Gtk::Paned &paned)
 
void Gtkmm2ext::set_decoration (Gtk::Window *win, Gdk::WMDecoration decor)
 
void Gtkmm2ext::set_treeview_header_as_default_label (Gtk::TreeViewColumn *c)
 
Glib::RefPtr< Gdk::DrawableGtkmm2ext::get_bogus_drawable ()
 
void Gtkmm2ext::detach_menu (Gtk::Menu &)
 
Glib::RefPtr< Gdk::WindowGtkmm2ext::window_to_draw_on (Gtk::Widget &w, Gtk::Widget **parent)
 
bool Gtkmm2ext::possibly_translate_keyval_to_make_legal_accelerator (uint32_t &keyval)
 
uint32_t Gtkmm2ext::possibly_translate_legal_accelerator_to_real_key (uint32_t keyval)
 
int Gtkmm2ext::physical_screen_height (Glib::RefPtr< Gdk::Window >)
 
int Gtkmm2ext::physical_screen_width (Glib::RefPtr< Gdk::Window >)
 
void Gtkmm2ext::container_clear (Gtk::Container &, bool and_delete=false)
 
void Gtkmm2ext::rectangle (Cairo::RefPtr< Cairo::Context > context, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_rectangle (Cairo::RefPtr< Cairo::Context > context, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_top_rectangle (Cairo::RefPtr< Cairo::Context > context, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_top_left_rectangle (Cairo::RefPtr< Cairo::Context > context, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_top_right_rectangle (Cairo::RefPtr< Cairo::Context > context, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_top_half_rectangle (Cairo::RefPtr< Cairo::Context >, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_bottom_half_rectangle (Cairo::RefPtr< Cairo::Context >, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_right_half_rectangle (Cairo::RefPtr< Cairo::Context >, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_left_half_rectangle (Cairo::RefPtr< Cairo::Context >, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rectangle (cairo_t *, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_rectangle (cairo_t *, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_top_rectangle (cairo_t *, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_top_left_rectangle (cairo_t *, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_top_right_rectangle (cairo_t *, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_top_half_rectangle (cairo_t *, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_bottom_half_rectangle (cairo_t *, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_right_half_rectangle (cairo_t *, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::rounded_left_half_rectangle (cairo_t *cr, double x, double y, double w, double h, double r=10)
 
void Gtkmm2ext::add_reflection (cairo_t *cr, double w, double h)
 
Gtk::LabelGtkmm2ext::left_aligned_label (std::string const &)
 
Gtk::LabelGtkmm2ext::right_aligned_label (std::string const &)
 
void Gtkmm2ext::set_no_tooltip_whatsoever (Gtk::Widget &)
 
void Gtkmm2ext::enable_tooltips ()
 
void Gtkmm2ext::disable_tooltips ()
 
void Gtkmm2ext::convert_bgra_to_rgba (guint8 const *, guint8 *dst, int, int)
 
const char * Gtkmm2ext::event_type_string (int event_type)
 
std::string Gtkmm2ext::markup_escape_text (std::string const &s)
 
void Gtkmm2ext::add_volume_shortcuts (Gtk::FileChooser &c)
 
float Gtkmm2ext::paned_position_as_fraction (Gtk::Paned &paned, bool h)
 
void Gtkmm2ext::paned_set_position_as_fraction (Gtk::Paned &paned, float fraction, bool h)
 
std::string Gtkmm2ext::show_gdk_event_state (int state)