Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
togglebutton.c File Reference
#include "togglebutton.h"
#include "bauhaus/bauhaus.h"
#include "button.h"
#include "gui/gtk.h"
#include <string.h>
+ Include dependency graph for togglebutton.c:

Go to the source code of this file.

Functions

static void _togglebutton_class_init (GtkDarktableToggleButtonClass *klass)
 
static void _togglebutton_init (GtkDarktableToggleButton *slider)
 
static gboolean _togglebutton_draw (GtkWidget *widget, cairo_t *cr)
 
GtkWidgetdtgtk_togglebutton_new (DTGTKCairoPaintIconFunc paint, gint paintflags, void *paintdata)
 
GType dtgtk_togglebutton_get_type ()
 
void dtgtk_togglebutton_set_paint (GtkDarktableToggleButton *button, DTGTKCairoPaintIconFunc paint, gint paintflags, void *paintdata)
 

Function Documentation

◆ _togglebutton_class_init()

static void _togglebutton_class_init ( GtkDarktableToggleButtonClass klass)
static

Definition at line 47 of file togglebutton.c.

References _togglebutton_draw().

Referenced by dtgtk_togglebutton_get_type().

◆ _togglebutton_draw()

static gboolean _togglebutton_draw ( GtkWidget widget,
cairo_t *  cr 
)
static

◆ _togglebutton_init()

static void _togglebutton_init ( GtkDarktableToggleButton slider)
static

Definition at line 54 of file togglebutton.c.

Referenced by dtgtk_togglebutton_get_type().

◆ dtgtk_togglebutton_get_type()

GType dtgtk_togglebutton_get_type ( void  )

Definition at line 171 of file togglebutton.c.

References _togglebutton_class_init(), and _togglebutton_init().

Referenced by dtgtk_togglebutton_new().

◆ dtgtk_togglebutton_new()

◆ dtgtk_togglebutton_set_paint()