Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gsimpleaction.h File Reference
#include <gio/giotypes.h>

Go to the source code of this file.

Macros

#define G_TYPE_SIMPLE_ACTION   (g_simple_action_get_type ())
 
#define G_SIMPLE_ACTION(inst)
 
#define G_IS_SIMPLE_ACTION(inst)
 

Functions

GIO_AVAILABLE_IN_ALL GType g_simple_action_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_ALL GSimpleActiong_simple_action_new (const gchar *name, const GVariantType *parameter_type)
 
GIO_AVAILABLE_IN_ALL GSimpleActiong_simple_action_new_stateful (const gchar *name, const GVariantType *parameter_type, GVariant *state)
 
GIO_AVAILABLE_IN_ALL void g_simple_action_set_enabled (GSimpleAction *simple, gboolean enabled)
 
GIO_AVAILABLE_IN_2_30 void g_simple_action_set_state (GSimpleAction *simple, GVariant *value)
 
GIO_AVAILABLE_IN_2_44 void g_simple_action_set_state_hint (GSimpleAction *simple, GVariant *state_hint)
 

Macro Definition Documentation

◆ G_IS_SIMPLE_ACTION

#define G_IS_SIMPLE_ACTION ( inst)
Value:
#define G_TYPE_SIMPLE_ACTION
#define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type)
Definition gtype.h:541

Definition at line 36 of file gsimpleaction.h.

36#define G_IS_SIMPLE_ACTION(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
37 G_TYPE_SIMPLE_ACTION))

◆ G_SIMPLE_ACTION

#define G_SIMPLE_ACTION ( inst)
Value:
struct _GSimpleAction GSimpleAction
Definition giotypes.h:57
#define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)
Definition gtype.h:528

Definition at line 34 of file gsimpleaction.h.

34#define G_SIMPLE_ACTION(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
35 G_TYPE_SIMPLE_ACTION, GSimpleAction))

◆ G_TYPE_SIMPLE_ACTION

#define G_TYPE_SIMPLE_ACTION   (g_simple_action_get_type ())

Definition at line 33 of file gsimpleaction.h.

Function Documentation

◆ g_simple_action_get_type()

GIO_AVAILABLE_IN_ALL GType g_simple_action_get_type ( void )

◆ g_simple_action_new()

GIO_AVAILABLE_IN_ALL GSimpleAction * g_simple_action_new ( const gchar * name,
const GVariantType * parameter_type )

◆ g_simple_action_new_stateful()

GIO_AVAILABLE_IN_ALL GSimpleAction * g_simple_action_new_stateful ( const gchar * name,
const GVariantType * parameter_type,
GVariant * state )

◆ g_simple_action_set_enabled()

GIO_AVAILABLE_IN_ALL void g_simple_action_set_enabled ( GSimpleAction * simple,
gboolean enabled )

◆ g_simple_action_set_state()

GIO_AVAILABLE_IN_2_30 void g_simple_action_set_state ( GSimpleAction * simple,
GVariant * value )

◆ g_simple_action_set_state_hint()

GIO_AVAILABLE_IN_2_44 void g_simple_action_set_state_hint ( GSimpleAction * simple,
GVariant * state_hint )