LCOV - code coverage report
Current view: top level - src/libvalent/ui - valent-menu-list.h (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 1 1
Test Date: 2024-04-23 06:02:46 Functions: 100.0 % 1 1
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 50.0 % 6 3

             Branch data     Line data    Source code
       1                 :             : // SPDX-License-Identifier: GPL-3.0-or-later
       2                 :             : // SPDX-FileCopyrightText: Andy Holmes <andrew.g.r.holmes@gmail.com>
       3                 :             : 
       4                 :             : #pragma once
       5                 :             : 
       6                 :             : #include <gtk/gtk.h>
       7                 :             : 
       8                 :             : G_BEGIN_DECLS
       9                 :             : 
      10                 :             : #define VALENT_TYPE_MENU_LIST (valent_menu_list_get_type())
      11                 :             : 
      12   [ +  -  +  -  :          54 : G_DECLARE_FINAL_TYPE (ValentMenuList, valent_menu_list, VALENT, MENU_LIST, GtkWidget)
                   -  + ]
      13                 :             : 
      14                 :             : ValentMenuList * valent_menu_list_new            (GMenuModel     *model);
      15                 :             : GMenuModel     * valent_menu_list_get_menu_model (ValentMenuList *self);
      16                 :             : void             valent_menu_list_set_menu_model (ValentMenuList *self,
      17                 :             :                                                   GMenuModel     *model);
      18                 :             : ValentMenuList * valent_menu_list_get_submenu_of (ValentMenuList *self);
      19                 :             : void             valent_menu_list_set_submenu_of (ValentMenuList *self,
      20                 :             :                                                   ValentMenuList *parent);
      21                 :             : 
      22                 :             : G_END_DECLS
        

Generated by: LCOV version 2.0-1