Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
builder-utils.h File Reference

Gtk builder utilities. More...

Go to the source code of this file.

Namespaces

namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 
namespace  Inkscape::UI
 User interface code.
 
namespace  Inkscape::UI::Detail
 

Functions

Glib::RefPtr< Gtk::Builder > Inkscape::UI::create_builder (const char *filename)
 
void Inkscape::UI::Detail::throw_missing (const char *object_type, const char *id)
 
template<class W >
W & Inkscape::UI::get_widget (const Glib::RefPtr< Gtk::Builder > &builder, const char *id)
 
template<class W , typename... Args>
W & Inkscape::UI::get_derived_widget (const Glib::RefPtr< Gtk::Builder > &builder, const char *id, Args &&... args)
 
template<class Ob >
Glib::RefPtr< Ob > Inkscape::UI::get_object (Glib::RefPtr< Gtk::Builder > const &builder, char const *id)
 
bool Inkscape::UI::hide_widget (const Glib::RefPtr< Gtk::Builder > &builder, std::string const &id)
 
template<class Ob >
Ob & Inkscape::UI::get_object_raw (Glib::RefPtr< Gtk::Builder > &builder, const char *id)
 This version of get_object is needed for Gtk::CellRenderer objects which can not be put into Glib::RefPtr by the compiler, but are somehow passed to us as RefPtrs anyway.
 

Detailed Description

Gtk builder utilities.

Definition in file builder-utils.h.