GtkCheckButton

GtkCheckButton

Functions

Style Properties

int indicator-size Read
int indicator-spacing Read

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkButton
                            ╰── GtkToggleButton
                                ╰── GtkCheckButton
                                    ╰── GtkRadioButton

Implemented Interfaces

GtkCheckButton implements AtkImplementorIface, GtkBuildable and GtkActivatable.

Includes

#include <gtk/gtk.h>

Description

Functions

gtk_check_button_new ()

GtkWidget *
gtk_check_button_new (void);

gtk_check_button_new_with_label ()

GtkWidget *
gtk_check_button_new_with_label (const gchar *label);

gtk_check_button_new_with_mnemonic ()

GtkWidget *
gtk_check_button_new_with_mnemonic (const gchar *label);

Creates a new GtkCheckButton containing a label. The label will be created using gtk_label_new_with_mnemonic(), so underscores in label indicate the mnemonic for the check button.

Parameters

label

The text of the button, with an underscore in front of the mnemonic character

 

returns

a new GtkCheckButton

 

Types and Values

struct GtkCheckButton

struct GtkCheckButton;

Style Property Details

The “indicator-size” style property

  “indicator-size”           int

Size of check or radio indicator.

Owner: GtkCheckButton

Flags: Read

Allowed values: >= 0

Default value: 13


The “indicator-spacing” style property

  “indicator-spacing”        int

Spacing around check or radio indicator.

Owner: GtkCheckButton

Flags: Read

Allowed values: >= 0

Default value: 2