marco 1.29.1
Window manager
Loading...
Searching...
No Matches
metaaccellabel.h File Reference
View source
#include <gtk/gtk.h>
#include "common.h"
Include dependency graph for metaaccellabel.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  _MetaAccelLabel
 
struct  _MetaAccelLabelClass
 

Macros

#define META_TYPE_ACCEL_LABEL   (meta_accel_label_get_type ())
 
#define META_ACCEL_LABEL(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), META_TYPE_ACCEL_LABEL, MetaAccelLabel))
 
#define META_ACCEL_LABEL_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), META_TYPE_ACCEL_LABEL, MetaAccelLabelClass))
 
#define META_IS_ACCEL_LABEL(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), META_TYPE_ACCEL_LABEL))
 
#define META_IS_ACCEL_LABEL_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), META_TYPE_ACCEL_LABEL))
 
#define META_ACCEL_LABEL_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), META_TYPE_ACCEL_LABEL, MetaAccelLabelClass))
 

Typedefs

typedef struct _MetaAccelLabel MetaAccelLabel
 
typedef struct _MetaAccelLabelClass MetaAccelLabelClass
 

Functions

GType meta_accel_label_get_type (void)
 
GtkWidget * meta_accel_label_new_with_mnemonic (const gchar *string)
 
void meta_accel_label_set_accelerator (MetaAccelLabel *accel_label, guint accelerator_key, MetaVirtualModifier accelerator_mods)
 

Macro Definition Documentation

◆ META_ACCEL_LABEL

#define META_ACCEL_LABEL (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), META_TYPE_ACCEL_LABEL, MetaAccelLabel))

◆ META_ACCEL_LABEL_CLASS

#define META_ACCEL_LABEL_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), META_TYPE_ACCEL_LABEL, MetaAccelLabelClass))

◆ META_ACCEL_LABEL_GET_CLASS

#define META_ACCEL_LABEL_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), META_TYPE_ACCEL_LABEL, MetaAccelLabelClass))

◆ META_IS_ACCEL_LABEL

#define META_IS_ACCEL_LABEL (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), META_TYPE_ACCEL_LABEL))

◆ META_IS_ACCEL_LABEL_CLASS

#define META_IS_ACCEL_LABEL_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), META_TYPE_ACCEL_LABEL))

◆ META_TYPE_ACCEL_LABEL

#define META_TYPE_ACCEL_LABEL   (meta_accel_label_get_type ())

Typedef Documentation

◆ MetaAccelLabel

◆ MetaAccelLabelClass

Function Documentation

◆ meta_accel_label_get_type()

GType meta_accel_label_get_type ( void  )

◆ meta_accel_label_new_with_mnemonic()

GtkWidget * meta_accel_label_new_with_mnemonic ( const gchar *  string)

References META_TYPE_ACCEL_LABEL, and NULL.

Referenced by menu_item_new().

◆ meta_accel_label_set_accelerator()

void meta_accel_label_set_accelerator ( MetaAccelLabel *  accel_label,
guint  accelerator_key,
MetaVirtualModifier  accelerator_mods 
)

References _MetaAccelLabel::accel_key, _MetaAccelLabel::accel_mods, meta_accel_label_update(), and META_IS_ACCEL_LABEL.

Referenced by menu_item_new().

Here is the call graph for this function: