gtkmm 4.16.0
|
Provides more accurate data on how a scroll operation should be performed. More...
#include <gtkmm/scrollinfo.h>
Public Member Functions | |
void | reference () const |
Increment the reference count for this object. | |
void | unreference () const |
Decrement the reference count for this object. | |
GtkScrollInfo * | gobj () |
Provides access to the underlying C instance. | |
const GtkScrollInfo * | gobj () const |
Provides access to the underlying C instance. | |
GtkScrollInfo * | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
ScrollInfo ()=delete | |
ScrollInfo (const ScrollInfo &)=delete | |
ScrollInfo & | operator= (const ScrollInfo &)=delete |
void | set_enable_horizontal (bool horizontal=true) |
Turns horizontal scrolling on or off. | |
bool | get_enable_horizontal () const |
Checks if horizontal scrolling is enabled. | |
void | set_enable_vertical (bool vertical=true) |
Turns vertical scrolling on or off. | |
bool | get_enable_vertical () const |
Checks if vertical scrolling is enabled. | |
Static Public Member Functions | |
static Glib::RefPtr< ScrollInfo > | create () |
Creates a new scroll info for scrolling an element into view. | |
Protected Member Functions | |
void | operator delete (void *, std::size_t) |
Related Symbols | |
(Note that these are not member symbols.) | |
Glib::RefPtr< Gtk::ScrollInfo > | wrap (GtkScrollInfo *object, bool take_copy=false) |
A Glib::wrap() method for this object. | |
Provides more accurate data on how a scroll operation should be performed.
Scrolling functions usually allow passing an empty RefPtr scroll info which will cause the default values to be used and just scroll the element into view.
|
delete |
|
delete |
|
static |
Creates a new scroll info for scrolling an element into view.
bool Gtk::ScrollInfo::get_enable_horizontal | ( | ) | const |
Checks if horizontal scrolling is enabled.
true
if horizontal scrolling is enabled. bool Gtk::ScrollInfo::get_enable_vertical | ( | ) | const |
Checks if vertical scrolling is enabled.
true
if vertical scrolling is enabled. GtkScrollInfo * Gtk::ScrollInfo::gobj | ( | ) |
Provides access to the underlying C instance.
const GtkScrollInfo * Gtk::ScrollInfo::gobj | ( | ) | const |
Provides access to the underlying C instance.
GtkScrollInfo * Gtk::ScrollInfo::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
delete |
void Gtk::ScrollInfo::reference | ( | ) | const |
Increment the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
Turns horizontal scrolling on or off.
horizontal | If scrolling in the horizontal direction should happen. |
Turns vertical scrolling on or off.
vertical | If scrolling in the vertical direction should happen. |
void Gtk::ScrollInfo::unreference | ( | ) | const |
Decrement the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
|
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. |