Ardour  9.0-pre0-582-g084a23a80d
Gtkmm2ext::DnDVBoxChild Class Referenceabstract

#include <dndvbox.h>

Inheritance diagram for Gtkmm2ext::DnDVBoxChild:
[legend]

Public Member Functions

virtual ~DnDVBoxChild ()
 
virtual Gtk::Widgetwidget ()=0
 
virtual Gtk::EventBoxaction_widget ()=0
 
virtual std::string drag_text () const =0
 
virtual void set_visual_state (VisualState, bool onoff)=0
 
virtual bool is_selectable () const =0
 
virtual bool drag_data_get (Glib::RefPtr< Gdk::DragContext > const, Gtk::SelectionData &)
 
virtual bool can_copy_state (DnDVBoxChild *) const =0
 

Detailed Description

Parent class for children of a DnDVBox

Definition at line 35 of file dndvbox.h.

Constructor & Destructor Documentation

◆ ~DnDVBoxChild()

virtual Gtkmm2ext::DnDVBoxChild::~DnDVBoxChild ( )
inlinevirtual

Definition at line 38 of file dndvbox.h.

Member Function Documentation

◆ action_widget()

virtual Gtk::EventBox& Gtkmm2ext::DnDVBoxChild::action_widget ( )
pure virtual
Returns
An EventBox containing the widget that should be used for selection, dragging etc.

Implemented in RegionEditor::RegionFxEntry, and ProcessorEntry.

◆ can_copy_state()

virtual bool Gtkmm2ext::DnDVBoxChild::can_copy_state ( DnDVBoxChild ) const
pure virtual

◆ drag_data_get()

virtual bool Gtkmm2ext::DnDVBoxChild::drag_data_get ( Glib::RefPtr< Gdk::DragContext > const  ,
Gtk::SelectionData  
)
inlinevirtual

Reimplemented in RegionEditor::RegionFxEntry, and ProcessorEntry.

Definition at line 55 of file dndvbox.h.

◆ drag_text()

virtual std::string Gtkmm2ext::DnDVBoxChild::drag_text ( ) const
pure virtual
Returns
Text to use in the icon that is dragged

Implemented in RegionEditor::RegionFxEntry, and ProcessorEntry.

◆ is_selectable()

virtual bool Gtkmm2ext::DnDVBoxChild::is_selectable ( ) const
pure virtual
Returns
True if the child can be selected in the list ( if you don't want it to copy/paste/drag then turn this off )

Implemented in RegionEditor::RegionFxEntry, and ProcessorEntry.

◆ set_visual_state()

virtual void Gtkmm2ext::DnDVBoxChild::set_visual_state ( VisualState  ,
bool  onoff 
)
pure virtual

Set the child's visual state

Implemented in RegionEditor::RegionFxEntry, and ProcessorEntry.

◆ widget()

virtual Gtk::Widget& Gtkmm2ext::DnDVBoxChild::widget ( )
pure virtual
Returns
The widget that is to be put into the DnDVBox

Implemented in RegionEditor::RegionFxEntry, and ProcessorEntry.


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