mate-desktop 1.29.2
Library with common API for various MATE modules
Loading...
Searching...
No Matches
mate-colorseldialog.c File Reference
View source
#include "config.h"
#include "private.h"
#include <string.h>
#include <glib.h>
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
#include "mate-colorsel.h"
#include "mate-colorseldialog.h"
Include dependency graph for mate-colorseldialog.c:

Enumerations

enum  {
  PROP_0 , PROP_COLOR_SELECTION , PROP_OK_BUTTON , PROP_CANCEL_BUTTON ,
  PROP_HELP_BUTTON
}
 

Functions

static void mate_color_selection_dialog_buildable_interface_init (GtkBuildableIface *iface)
 
static GObject * mate_color_selection_dialog_buildable_get_internal_child (GtkBuildable *buildable, GtkBuilder *builder, const gchar *childname)
 
 G_DEFINE_TYPE_WITH_CODE (MateColorSelectionDialog, mate_color_selection_dialog, GTK_TYPE_DIALOG, G_IMPLEMENT_INTERFACE(GTK_TYPE_BUILDABLE, mate_color_selection_dialog_buildable_interface_init))
 
static void mate_color_selection_dialog_class_init (MateColorSelectionDialogClass *klass)
 
static GtkWidget * mate_add_dialog_button (GtkDialog *dialog, const char *label, const char *icon, GtkResponseType response)
 
static void mate_color_selection_dialog_init (MateColorSelectionDialog *colorseldiag)
 
GtkWidget * mate_color_selection_dialog_new (const gchar *title)
 
GtkWidget * mate_color_selection_dialog_get_color_selection (MateColorSelectionDialog *colorsel)
 mate_color_selection_dialog_get_color_selection: @colorsel: a MateColorSelectionDialog
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
PROP_0 
PROP_COLOR_SELECTION 
PROP_OK_BUTTON 
PROP_CANCEL_BUTTON 
PROP_HELP_BUTTON 

Function Documentation

◆ G_DEFINE_TYPE_WITH_CODE()

◆ mate_add_dialog_button()

static GtkWidget * mate_add_dialog_button ( GtkDialog *  dialog,
const char *  label,
const char *  icon,
GtkResponseType  response 
)
static

◆ mate_color_selection_dialog_buildable_get_internal_child()

static GObject * mate_color_selection_dialog_buildable_get_internal_child ( GtkBuildable *  buildable,
GtkBuilder *  builder,
const gchar *  childname 
)
static

◆ mate_color_selection_dialog_buildable_interface_init()

static void mate_color_selection_dialog_buildable_interface_init ( GtkBuildableIface *  iface)
static

References mate_color_selection_dialog_buildable_get_internal_child().

Here is the call graph for this function:

◆ mate_color_selection_dialog_class_init()

static void mate_color_selection_dialog_class_init ( MateColorSelectionDialogClass *  klass)
static

◆ mate_color_selection_dialog_get_color_selection()

GtkWidget * mate_color_selection_dialog_get_color_selection ( MateColorSelectionDialog *  colorsel)

mate_color_selection_dialog_get_color_selection: @colorsel: a MateColorSelectionDialog

Retrieves the MateColorSelection widget embedded in the dialog.

Returns: (transfer none): the embedded MateColorSelection

Since: 1.9.1

References _MateColorSelectionDialog::colorsel, and MATE_IS_COLOR_SELECTION_DIALOG.

◆ mate_color_selection_dialog_init()

static void mate_color_selection_dialog_init ( MateColorSelectionDialog *  colorseldiag)
static

◆ mate_color_selection_dialog_new()

GtkWidget * mate_color_selection_dialog_new ( const gchar *  title)

References MATE_TYPE_COLOR_SELECTION_DIALOG.

Referenced by main().