Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
expander_box.h File Reference

Expander box. More...

#include <stdbool.h>
#include "utils/resources.h"
#include <gtk/gtk.h>
Include dependency graph for expander_box.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ExpanderBoxWidgetPrivate
 An expander box is a base widget with a button that when clicked expands the contents. More...
 
struct  ExpanderBoxWidgetClass
 

Macros

#define EXPANDER_BOX_WIDGET_TYPE   (expander_box_widget_get_type ())
 

Typedefs

typedef void(* ExpanderBoxRevealFunc) (ExpanderBoxWidget *expander_box, bool revealed, void *user_data)
 Reveal callback prototype.
 

Functions

 G_DECLARE_DERIVABLE_TYPE (ExpanderBoxWidget, expander_box_widget, Z, EXPANDER_BOX_WIDGET, GtkBox) typedef struct _GtkFlipper GtkFlipper
 
ExpanderBoxWidgetPrivateexpander_box_widget_get_private (ExpanderBoxWidget *self)
 Gets the private.
 
void expander_box_widget_set_label (ExpanderBoxWidget *self, const char *label)
 Sets the label to show.
 
void expander_box_widget_set_icon_name (ExpanderBoxWidget *self, const char *icon_name)
 Sets the icon name to show.
 
void expander_box_widget_add_content (ExpanderBoxWidget *self, GtkWidget *content)
 
void expander_box_widget_set_reveal (ExpanderBoxWidget *self, int reveal)
 Reveals or hides the expander box's contents.
 
void expander_box_widget_set_reveal_callback (ExpanderBoxWidget *self, ExpanderBoxRevealFunc cb, void *user_data)
 
void expander_box_widget_set_orientation (ExpanderBoxWidget *self, GtkOrientation orientation)
 
void expander_box_widget_set_vexpand (ExpanderBoxWidget *self, bool expand)
 
ExpanderBoxWidget * expander_box_widget_new (const char *label, const char *icon_name, GtkOrientation orientation)
 

Detailed Description

Expander box.

Definition in file expander_box.h.

Macro Definition Documentation

◆ EXPANDER_BOX_WIDGET_TYPE

#define EXPANDER_BOX_WIDGET_TYPE   (expander_box_widget_get_type ())

Definition at line 19 of file expander_box.h.