Ardour  8.7-14-g57a6773833
Gtk::CellRendererProgress Class Reference

#include <cellrendererprogress.h>

Inheritance diagram for Gtk::CellRendererProgress:
[legend]

Public Member Functions

virtual ~CellRendererProgress ()
 
GtkCellRendererProgressgobj ()
 Provides access to the underlying C GtkObject. More...
 
const GtkCellRendererProgressgobj () const
 Provides access to the underlying C GtkObject. More...
 
 CellRendererProgress ()
 
Glib::PropertyProxy< int > property_value ()
 
Glib::PropertyProxy_ReadOnly< int > property_value () const
 
Glib::PropertyProxy< Glib::ustring > property_text ()
 
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_text () const
 
Glib::PropertyProxy< int > property_pulse ()
 
Glib::PropertyProxy_ReadOnly< int > property_pulse () const
 
Glib::PropertyProxy< float > property_text_xalign ()
 
Glib::PropertyProxy_ReadOnly< float > property_text_xalign () const
 
Glib::PropertyProxy< float > property_text_yalign ()
 
Glib::PropertyProxy_ReadOnly< float > property_text_yalign () const
 
Glib::PropertyProxy< ProgressBarOrientationproperty_orientation ()
 
Glib::PropertyProxy_ReadOnly< ProgressBarOrientationproperty_orientation () const
 
virtual Glib::PropertyProxy_Base _property_renderable ()
 
- Public Member Functions inherited from Gtk::CellRenderer
virtual ~CellRenderer ()
 
GtkCellRenderergobj ()
 Provides access to the underlying C GtkObject. More...
 
const GtkCellRenderergobj () const
 Provides access to the underlying C GtkObject. More...
 
void get_size (Widget &widget, const Gdk::Rectangle &cell_area, int &x_offset, int &y_offset, int &width, int &height) const
 
void get_size (Widget &widget, int &x_offset, int &y_offset, int &width, int &height) const
 
void render (const Glib::RefPtr< Gdk::Window > &window, Widget &widget, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, const Gdk::Rectangle &expose_area, CellRendererState flags)
 
bool activate (GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags)
 
CellEditablestart_editing (GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags=CellRendererState(0))
 
void set_fixed_size (int width, int height)
 
void get_fixed_size (int &width, int &height) const
 
void set_alignment (float xalign, float yalign)
 
void get_alignment (float &xalign, float &yalign) const
 
void set_padding (int xpad, int ypad)
 
void get_padding (int &xpad, int &ypad) const
 
void set_visible (bool visible=true)
 
bool get_visible () const
 
void set_sensitive (bool sensitive=true)
 
bool get_sensitive () const
 
void editing_canceled ()
 
void stop_editing (bool canceled=false)
 
Glib::SignalProxy0< void > signal_editing_canceled ()
 
Glib::SignalProxy2< void, CellEditable *, const Glib::ustring & > signal_editing_started ()
 
Glib::PropertyProxy< CellRendererModeproperty_mode ()
 
Glib::PropertyProxy_ReadOnly< CellRendererModeproperty_mode () const
 
Glib::PropertyProxy< bool > property_visible ()
 
Glib::PropertyProxy_ReadOnly< bool > property_visible () const
 
Glib::PropertyProxy< bool > property_sensitive ()
 
Glib::PropertyProxy_ReadOnly< bool > property_sensitive () const
 
Glib::PropertyProxy< float > property_xalign ()
 
Glib::PropertyProxy_ReadOnly< float > property_xalign () const
 
Glib::PropertyProxy< float > property_yalign ()
 
Glib::PropertyProxy_ReadOnly< float > property_yalign () const
 
Glib::PropertyProxy< unsigned int > property_xpad ()
 
Glib::PropertyProxy_ReadOnly< unsigned int > property_xpad () const
 
Glib::PropertyProxy< unsigned int > property_ypad ()
 
Glib::PropertyProxy_ReadOnly< unsigned int > property_ypad () const
 
Glib::PropertyProxy< int > property_width ()
 
Glib::PropertyProxy_ReadOnly< int > property_width () const
 
Glib::PropertyProxy< int > property_height ()
 
Glib::PropertyProxy_ReadOnly< int > property_height () const
 
Glib::PropertyProxy< bool > property_is_expander ()
 
Glib::PropertyProxy_ReadOnly< bool > property_is_expander () const
 
Glib::PropertyProxy< bool > property_is_expanded ()
 
Glib::PropertyProxy_ReadOnly< bool > property_is_expanded () const
 
Glib::PropertyProxy_WriteOnly< Glib::ustring > property_cell_background ()
 
Glib::PropertyProxy< Gdk::Colorproperty_cell_background_gdk ()
 
Glib::PropertyProxy_ReadOnly< Gdk::Colorproperty_cell_background_gdk () const
 
Glib::PropertyProxy< bool > property_cell_background_set ()
 
Glib::PropertyProxy_ReadOnly< bool > property_cell_background_set () const
 
Glib::PropertyProxy_ReadOnly< bool > property_editing () const
 
- Public Member Functions inherited from Gtk::Object
virtual ~Object ()
 
GtkObjectgobj ()
 Provides access to the underlying C GtkObject. More...
 
const GtkObjectgobj () const
 Provides access to the underlying C GtkObject. More...
 
Glib::PropertyProxy< void * > property_user_data ()
 
Glib::PropertyProxy_ReadOnly< void * > property_user_data () const
 

Related Functions

(Note that these are not member functions.)

Gtk::CellRendererProgresswrap (GtkCellRendererProgress *object, bool take_copy=false)
 

Additional Inherited Members

- Protected Member Functions inherited from Gtk::CellRenderer
virtual void on_editing_canceled ()
 This is a default handler for the signal signal_editing_canceled(). More...
 
 CellRenderer ()
 
virtual void get_size_vfunc (Widget &widget, const Gdk::Rectangle *cell_area, int *x_offset, int *y_offset, int *width, int *height) const
 
virtual void render_vfunc (const Glib::RefPtr< Gdk::Drawable > &window, Widget &widget, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, const Gdk::Rectangle &expose_area, CellRendererState flags)
 
virtual bool activate_vfunc (GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags)
 
virtual CellEditablestart_editing_vfunc (GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags)
 

Detailed Description

Renders numbers as progress bars.

Definition at line 48 of file cellrendererprogress.h.

Constructor & Destructor Documentation

◆ ~CellRendererProgress()

virtual Gtk::CellRendererProgress::~CellRendererProgress ( )
virtual

◆ CellRendererProgress()

Gtk::CellRendererProgress::CellRendererProgress ( )

Member Function Documentation

◆ _property_renderable()

virtual Glib::PropertyProxy_Base Gtk::CellRendererProgress::_property_renderable ( )
virtual

Returns the property that this CellRenderer renders. For instance, property_text for CellRendererText, and property_active for CellRendererToggle Needs to be overridden in derived classes.

Reimplemented from Gtk::CellRenderer.

◆ gobj() [1/2]

GtkCellRendererProgress* Gtk::CellRendererProgress::gobj ( )
inline

Provides access to the underlying C GtkObject.

Definition at line 85 of file cellrendererprogress.h.

◆ gobj() [2/2]

const GtkCellRendererProgress* Gtk::CellRendererProgress::gobj ( ) const
inline

Provides access to the underlying C GtkObject.

Definition at line 88 of file cellrendererprogress.h.

◆ property_orientation() [1/2]

Glib::PropertyProxy< ProgressBarOrientation > Gtk::CellRendererProgress::property_orientation ( )

Orientation and growth direction of the progress bar.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.

◆ property_orientation() [2/2]

Glib::PropertyProxy_ReadOnly< ProgressBarOrientation > Gtk::CellRendererProgress::property_orientation ( ) const

Orientation and growth direction of the progress bar.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.

◆ property_pulse() [1/2]

Glib::PropertyProxy< int > Gtk::CellRendererProgress::property_pulse ( )

Set this to positive values to indicate that some progress is made, but you don't know how much.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.

◆ property_pulse() [2/2]

Glib::PropertyProxy_ReadOnly< int > Gtk::CellRendererProgress::property_pulse ( ) const

Set this to positive values to indicate that some progress is made, but you don't know how much.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.

◆ property_text() [1/2]

Glib::PropertyProxy< Glib::ustring > Gtk::CellRendererProgress::property_text ( )

Text on the progress bar.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.

◆ property_text() [2/2]

Glib::PropertyProxy_ReadOnly< Glib::ustring > Gtk::CellRendererProgress::property_text ( ) const

Text on the progress bar.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.

◆ property_text_xalign() [1/2]

Glib::PropertyProxy< float > Gtk::CellRendererProgress::property_text_xalign ( )

The horizontal text alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.

◆ property_text_xalign() [2/2]

Glib::PropertyProxy_ReadOnly< float > Gtk::CellRendererProgress::property_text_xalign ( ) const

The horizontal text alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.

◆ property_text_yalign() [1/2]

Glib::PropertyProxy< float > Gtk::CellRendererProgress::property_text_yalign ( )

The vertical text alignment, from 0 (top) to 1 (bottom).

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.

◆ property_text_yalign() [2/2]

Glib::PropertyProxy_ReadOnly< float > Gtk::CellRendererProgress::property_text_yalign ( ) const

The vertical text alignment, from 0 (top) to 1 (bottom).

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.

◆ property_value() [1/2]

Glib::PropertyProxy< int > Gtk::CellRendererProgress::property_value ( )

Value of the progress bar.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.

◆ property_value() [2/2]

Glib::PropertyProxy_ReadOnly< int > Gtk::CellRendererProgress::property_value ( ) const

Value of the progress bar.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.

Friends And Related Function Documentation

◆ wrap()

Gtk::CellRendererProgress * wrap ( GtkCellRendererProgress object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file: