AgsExpanderSet

AgsExpanderSet — A container

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkTable
                        ╰── AgsExpanderSet

Implemented Interfaces

AgsExpanderSet implements AtkImplementorIface and GtkBuildable.

Includes

#include <ags/widget/ags_expander_set.h>

Description

AgsExpanderSet is a composite widget containing a GtkTable.

Functions

AGS_EXPANDER_SET_CHILD()

#define AGS_EXPANDER_SET_CHILD(ptr) ((AgsExpanderSetChild *)(ptr))

ags_expander_set_child_alloc ()

AgsExpanderSetChild *
ags_expander_set_child_alloc (guint x,
                              guint y,
                              guint width,
                              guint height);

ags_expander_set_child_find ()

AgsExpanderSetChild *
ags_expander_set_child_find (AgsExpanderSet *expander_set,
                             GtkWidget *child);

ags_expander_set_set_flags ()

void
ags_expander_set_set_flags (AgsExpanderSet *expander_set,
                            guint flags);

ags_expander_set_add ()

void
ags_expander_set_add (AgsExpanderSet *expander_set,
                      GtkWidget *widget,
                      guint x,
                      guint y,
                      guint width,
                      guint height);

Adds a GtkWidget to AgsExpanderSet

Parameters

expander_set

the AgsExpanderSet

 

widget

the child GtkWidget

 

x

x-position

 

y

y-position

 

width

allocation width

 

height

allocation height

 

Since: 1.0.0


ags_expander_set_remove ()

void
ags_expander_set_remove (AgsExpanderSet *expander_set,
                         GtkWidget *widget);

Removes a GtkWidget of AgsExpanderSet

Parameters

expander_set

the AgsExpanderSet

 

widget

the child GtkWidget

 

Since: 1.0.0


ags_expander_set_new ()

AgsExpanderSet *
ags_expander_set_new (guint width,
                      guint height);

Creates an AgsExpanderSet

Parameters

height

the table's height

 

width

the table's width

 

Returns

a new AgsExpanderSet

Since: 1.0.0


AGS_EXPANDER_SET()

#define AGS_EXPANDER_SET(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPANDER_SET, AgsExpanderSet))

AGS_EXPANDER_SET_CLASS()

#define AGS_EXPANDER_SET_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPANDER_SET, AgsExpanderSetClass))

AGS_EXPANDER_SET_GET_CLASS()

#define AGS_EXPANDER_SET_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPANDER_SET, AgsExpanderSetClass))

AGS_IS_EXPANDER_SET()

#define AGS_IS_EXPANDER_SET(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPANDER_SET))

ags_expander_set_get_type ()

GType
ags_expander_set_get_type (void);

Types and Values

enum AgsExpanderSetFlags

Members

AGS_EXPANDER_SET_DRAW_GHOST

   

AGS_EXPANDER_SET_DRAW_LEFT_ENDING

   

AGS_EXPANDER_SET_DRAW_RIGHT_ENDING

   

AGS_EXPANDER_SET_DRAW_LEFT_CONNECTOR

   

AGS_EXPANDER_SET_DRAW_RIGHT_CONNECTOR

   

struct AgsExpanderSetChild

struct AgsExpanderSetChild {
  GtkWidget *child;

  guint x;
  guint y;

  guint width;
  guint height;
};

AGS_TYPE_EXPANDER_SET

#define AGS_TYPE_EXPANDER_SET                (ags_expander_set_get_type())

struct AgsExpanderSet

struct AgsExpanderSet;

struct AgsExpanderSetClass

struct AgsExpanderSetClass {
  GtkTableClass table;
};