• Home
  • Raw
  • Download

Lines Matching refs:G_ACTION

39   g_assert_true (g_action_get_enabled (G_ACTION (action)));  in test_basic()
40 g_assert_null (g_action_get_parameter_type (G_ACTION (action))); in test_basic()
41 g_assert_null (g_action_get_state_type (G_ACTION (action))); in test_basic()
42 g_assert_null (g_action_get_state_hint (G_ACTION (action))); in test_basic()
43 g_assert_null (g_action_get_state (G_ACTION (action))); in test_basic()
60 g_action_activate (G_ACTION (action), NULL); in test_basic()
65 g_action_activate (G_ACTION (action), NULL); in test_basic()
72 g_action_activate (G_ACTION (action), g_variant_new_string ("xxx")); in test_basic()
80 g_assert_true (g_action_get_enabled (G_ACTION (action))); in test_basic()
81 …g_assert_true (g_variant_type_equal (g_action_get_parameter_type (G_ACTION (action)), G_VARIANT_TY… in test_basic()
82 g_assert_null (g_action_get_state_type (G_ACTION (action))); in test_basic()
83 g_assert_null (g_action_get_state_hint (G_ACTION (action))); in test_basic()
84 g_assert_null (g_action_get_state (G_ACTION (action))); in test_basic()
88 g_action_activate (G_ACTION (action), g_variant_new_string ("Hello world")); in test_basic()
98 g_action_activate (G_ACTION (action), NULL); in test_basic()
197 g_action_activate (G_ACTION (simple), NULL); in test_simple_group()
202 g_simple_action_group_insert (group, G_ACTION (simple)); in test_simple_group()
210 g_simple_action_group_insert (group, G_ACTION (simple)); in test_simple_group()
250 g_simple_action_group_insert (group, G_ACTION (simple)); in test_simple_group()
267 g_assert_true (g_action_get_enabled (G_ACTION (action))); in test_stateful()
268 g_assert_null (g_action_get_parameter_type (G_ACTION (action))); in test_stateful()
269 g_assert_null (g_action_get_state_hint (G_ACTION (action))); in test_stateful()
270 g_assert_true (g_variant_type_equal (g_action_get_state_type (G_ACTION (action)), in test_stateful()
272 state = g_action_get_state (G_ACTION (action)); in test_stateful()
285 state = g_action_get_state (G_ACTION (action)); in test_stateful()
312 g_action_activate (G_ACTION (action), g_variant_new_string ("bye")); in test_default_activate()
313 state = g_action_get_state (G_ACTION (action)); in test_default_activate()
320 g_action_activate (G_ACTION (action), NULL); in test_default_activate()
321 state = g_action_get_state (G_ACTION (action)); in test_default_activate()
325 g_action_activate (G_ACTION (action), NULL); in test_default_activate()
326 state = g_action_get_state (G_ACTION (action)); in test_default_activate()
553 count_activation (g_action_get_name (G_ACTION (action))); in activate_action()
561 count_activation (g_action_get_name (G_ACTION (action))); in activate_toggle()
563 old_state = g_action_get_state (G_ACTION (action)); in activate_toggle()
574 count_activation (g_action_get_name (G_ACTION (action))); in activate_radio()
799 g_simple_action_group_insert (group, G_ACTION (action)); in test_dbus_export()
1034 g_action_map_add_action (G_ACTION_MAP (group), G_ACTION (action)); in test_property_actions()
1047 g_action_map_add_action (G_ACTION_MAP (group), G_ACTION (action)); in test_property_actions()
1052 g_action_map_add_action (G_ACTION_MAP (group), G_ACTION (action)); in test_property_actions()
1062 g_action_map_add_action (G_ACTION_MAP (group), G_ACTION (action)); in test_property_actions()
1067 g_action_map_add_action (G_ACTION_MAP (group), G_ACTION (action)); in test_property_actions()