krähemann.com

AgsAutomationEditBox

AgsAutomationEditBox — box widget

Stability Level

Stable, unless otherwise indicated

Signals

void child-height-request Run Last
void child-width-request Run Last

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkBox
                ╰── AgsAutomationEditBox

Implemented Interfaces

AgsAutomationEditBox implements GtkAccessible, GtkBuildable, GtkConstraintTarget and GtkOrientable.

Includes

#include <ags/widget/ags_automation_edit_box.h>

Description

The AgsAutomationEditBox is a box widget containing AgsAutomationEdit.

Functions

ags_automation_edit_box_get_automation_edit ()

GList *
ags_automation_edit_box_get_automation_edit
                               (AgsAutomationEditBox *automation_edit_box);

Get automation_edit.

Parameters

automation_edit_box

the AgsAutomationEditBox

 

Returns

the GList containing AgsAutomationEdit

Since: 4.0.0


ags_automation_edit_box_add_automation_edit ()

void
ags_automation_edit_box_add_automation_edit
                               (AgsAutomationEditBox *automation_edit_box,
                                AgsAutomationEdit *automation_edit);

Add automation_edit to automation_edit_box .

Parameters

automation_edit_box

the AgsAutomationEditBox

 

automation_edit

the AgsAutomationEdit

 

Since: 4.0.0


ags_automation_edit_box_remove_automation_edit ()

void
ags_automation_edit_box_remove_automation_edit
                               (AgsAutomationEditBox *automation_edit_box,
                                AgsAutomationEdit *automation_edit);

Remove automation_edit at position of automation_edit_box .

Parameters

automation_edit_box

the AgsAutomationEditBox

 

automation_edit

the AgsAutomationEdit

 

Since: 4.0.0


ags_automation_edit_box_child_width_request ()

void
ags_automation_edit_box_child_width_request
                               (AgsAutomationEditBox *automation_edit_box,
                                GtkWidget *automation_edit,
                                gint width_request);

Notify about child automation_edit width request.

Parameters

automation_edit_box

the AgsAutomationEditBox

 

automation_edit

the AgsAutomationEdit

 

width_request

the automation_edit's width-request

 

Since: 4.0.0


ags_automation_edit_box_child_height_request ()

void
ags_automation_edit_box_child_height_request
                               (AgsAutomationEditBox *automation_edit_box,
                                GtkWidget *automation_edit,
                                gint height_request);

Notify about child automation_edit height request.

Parameters

automation_edit_box

the AgsAutomationEditBox

 

automation_edit

the AgsAutomationEdit

 

height_request

the automation_edit's height-request

 

Since: 4.0.0


ags_automation_edit_box_new ()

AgsAutomationEditBox *
ags_automation_edit_box_new (GtkOrientation orientation);

Create a new instance of AgsAutomationEditBox.

Parameters

orientation

the GtkOrientation

 

Returns

the new AgsAutomationEditBox instance

Since: 3.0.0


AGS_AUTOMATION_EDIT_BOX()

#define AGS_AUTOMATION_EDIT_BOX(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUTOMATION_EDIT_BOX, AgsAutomationEditBox))

AGS_AUTOMATION_EDIT_BOX_CLASS()

#define AGS_AUTOMATION_EDIT_BOX_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUTOMATION_EDIT_BOX, AgsAutomationEditBoxClass))

AGS_AUTOMATION_EDIT_BOX_GET_CLASS()

#define AGS_AUTOMATION_EDIT_BOX_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_AUTOMATION_EDIT_BOX, AgsAutomationEditBoxClass))

AGS_IS_AUTOMATION_EDIT_BOX()

#define AGS_IS_AUTOMATION_EDIT_BOX(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUTOMATION_EDIT_BOX))

AGS_IS_AUTOMATION_EDIT_BOX_CLASS()

#define AGS_IS_AUTOMATION_EDIT_BOX_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUTOMATION_EDIT_BOX))

ags_automation_edit_box_get_type ()

GType
ags_automation_edit_box_get_type (void);

Types and Values

AGS_AUTOMATION_EDIT_BOX_DEFAULT_FIXED_EDIT_HEIGHT

#define AGS_AUTOMATION_EDIT_BOX_DEFAULT_FIXED_EDIT_HEIGHT (128)

AGS_AUTOMATION_EDIT_BOX_DEFAULT_SPACING

#define AGS_AUTOMATION_EDIT_BOX_DEFAULT_SPACING (6)

AGS_TYPE_AUTOMATION_EDIT_BOX

#define AGS_TYPE_AUTOMATION_EDIT_BOX                (ags_automation_edit_box_get_type())

struct AgsAutomationEditBox

struct AgsAutomationEditBox;

struct AgsAutomationEditBoxClass

struct AgsAutomationEditBoxClass {
  GtkBoxClass box;

  void (*child_width_request)(AgsAutomationEditBox *automation_edit_box,
			      GtkWidget *automation_edit,
			      gint width_request);
  void (*child_height_request)(AgsAutomationEditBox *automation_edit_box,
			       GtkWidget *automation_edit,
			       gint height_request);
};

Signal Details

The “child-height-request” signal

void
user_function (AgsAutomationEditBox *automation_edit_box,
               GObject              *arg1,
               int                   arg2,
               gpointer              user_data)

The ::child-height-request

Parameters

automation_edit_box

the AgsAutomationEditBox.

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 4.0.0


The “child-width-request” signal

void
user_function (AgsAutomationEditBox *automation_edit_box,
               GObject              *arg1,
               int                   arg2,
               gpointer              user_data)

The ::child-width-request

Parameters

automation_edit_box

the AgsAutomationEditBox.

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 4.0.0