Inherits Gtk::Window.
Public Member Functions | |
virtual | ~SourceCompletionInfo () |
GtkSourceCompletionInfo* | gobj () |
Provides access to the underlying C GtkObject. | |
const GtkSourceCompletionInfo* | gobj () const |
Provides access to the underlying C GtkObject. | |
SourceCompletionInfo () | |
void | move_to_iter (const Gtk::TextView& view, const Gtk::TextIter& iter) |
Moves the Gtk::SourceCompletionInfo to iter. | |
void | move_to_iter (const Gtk::TextView& view) |
void | set_sizing (int width, int height, bool shrink_width, bool shrink_height) |
Set sizing information for the info window. | |
void | set_widget (Gtk::Widget& widget) |
Sets the content widget of the info window. | |
Gtk::Widget* | get_widget () |
Get the current content widget. | |
const Gtk::Widget* | get_widget () const |
Get the current content widget. | |
void | process_resize () |
Glib::PropertyProxy< int > | property_max_height () |
The maximum allowed height. | |
Glib::PropertyProxy_ReadOnly< int > | property_max_height () const |
The maximum allowed height. | |
Glib::PropertyProxy< int > | property_max_width () |
The maximum allowed width. | |
Glib::PropertyProxy_ReadOnly< int > | property_max_width () const |
The maximum allowed width. | |
Glib::PropertyProxy< bool > | property_shrink_height () |
Whether the window should shrink height to fit the contents. | |
Glib::PropertyProxy_ReadOnly < bool > | property_shrink_height () const |
Whether the window should shrink height to fit the contents. | |
Glib::PropertyProxy< bool > | property_shrink_width () |
Whether the window should shrink width to fit the contents. | |
Glib::PropertyProxy_ReadOnly < bool > | property_shrink_width () const |
Whether the window should shrink width to fit the contents. | |
Glib::SignalProxy0< void > | signal_before_show () |
Protected Member Functions | |
virtual void | on_before_show () |
Related Functions | |
(Note that these are not member functions.) | |
gtksourceview::SourceCompletionInfo* | wrap (GtkSourceCompletionInfo* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
virtual gtksourceview::SourceCompletionInfo::~SourceCompletionInfo | ( | ) | [virtual] |
gtksourceview::SourceCompletionInfo::SourceCompletionInfo | ( | ) |
const Gtk::Widget* gtksourceview::SourceCompletionInfo::get_widget | ( | ) | const |
Get the current content widget.
Gtk::Widget* gtksourceview::SourceCompletionInfo::get_widget | ( | ) |
Get the current content widget.
const GtkSourceCompletionInfo* gtksourceview::SourceCompletionInfo::gobj | ( | ) | const [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Window.
GtkSourceCompletionInfo* gtksourceview::SourceCompletionInfo::gobj | ( | ) | [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Window.
void gtksourceview::SourceCompletionInfo::move_to_iter | ( | const Gtk::TextView & | view | ) |
void gtksourceview::SourceCompletionInfo::move_to_iter | ( | const Gtk::TextView & | view, | |
const Gtk::TextIter & | iter | |||
) |
Moves the Gtk::SourceCompletionInfo to iter.
If iter is 0
info is moved to the cursor position. Moving will respect the Gdk::Gravity setting of the info window and will ensure the line at iter is not occluded by the window.
view | A Gtk::TextView on which the info window should be positioned. | |
iter | A Gtk::TextIter. |
virtual void gtksourceview::SourceCompletionInfo::on_before_show | ( | ) | [protected, virtual] |
void gtksourceview::SourceCompletionInfo::process_resize | ( | ) |
Glib::PropertyProxy_ReadOnly<int> gtksourceview::SourceCompletionInfo::property_max_height | ( | ) | const |
The maximum allowed height.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> gtksourceview::SourceCompletionInfo::property_max_height | ( | ) |
The maximum allowed height.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> gtksourceview::SourceCompletionInfo::property_max_width | ( | ) | const |
The maximum allowed width.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> gtksourceview::SourceCompletionInfo::property_max_width | ( | ) |
The maximum allowed width.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<bool> gtksourceview::SourceCompletionInfo::property_shrink_height | ( | ) | const |
Whether the window should shrink height to fit the contents.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> gtksourceview::SourceCompletionInfo::property_shrink_height | ( | ) |
Whether the window should shrink height to fit the contents.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<bool> gtksourceview::SourceCompletionInfo::property_shrink_width | ( | ) | const |
Whether the window should shrink width to fit the contents.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> gtksourceview::SourceCompletionInfo::property_shrink_width | ( | ) |
Whether the window should shrink width to fit the contents.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void gtksourceview::SourceCompletionInfo::set_sizing | ( | int | width, | |
int | height, | |||
bool | shrink_width, | |||
bool | shrink_height | |||
) |
Set sizing information for the info window.
If shrink_width or shrink_height is true
, the info window will try to resize to fit the window contents, with a maximum size given by width and height. Setting width or height to -1 removes the maximum size of respectively the width and height of the window.
width | The maximum/requested width of the window (-1 to default). | |
height | The maximum/requested height of the window (-1 to default). | |
shrink_width | Whether to shrink the width of the window to fit its contents. | |
shrink_height | Whether to shrink the height of the window to fit its contents. |
void gtksourceview::SourceCompletionInfo::set_widget | ( | Gtk::Widget & | widget | ) |
Sets the content widget of the info window.
If widget does not fit within the size requirements of the window, a Gtk::ScrolledWindow will automatically be created and added to the window.
widget | A Gtk::Widget. |
Glib::SignalProxy0< void > gtksourceview::SourceCompletionInfo::signal_before_show | ( | ) |
void on_my_before_show()
gtksourceview::SourceCompletionInfo* wrap | ( | GtkSourceCompletionInfo * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |