This file is indexed.

/usr/include/wx-3.0/wx/wxPython/i_files/_infobar.i is in python-wxgtk3.0-dev 3.0.2.0+dfsg-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/////////////////////////////////////////////////////////////////////////////
// Name:        _infobar.i
// Purpose:     SWIG interface for wxInfoBar
//
// Author:      Robin Dunn
//
// Created:     2-March-2010
// RCS-ID:      $Id: $
// Copyright:   (c) 2010 by Total Control Software
// Licence:     wxWindows license
/////////////////////////////////////////////////////////////////////////////

// Not a %module

//---------------------------------------------------------------------------
%newgroup

MustHaveApp(wxInfoBar);
DocStr(wxInfoBar,
"An info bar is a transient window shown at top or bottom of its parent
window to display non-critical information to the user.  It works
similarly to message bars in current web browsers.", "");


class wxInfoBar : public wxControl
{
public:
    %pythonAppend wxInfoBar         "self._setOORInfo(self)";
    %pythonAppend wxInfoBar()       "";

    wxInfoBar(wxWindow *parent, wxWindowID winid = wxID_ANY);
    %RenameCtor(PreInfoBar, wxInfoBar());

    bool Create(wxWindow *parent, wxWindowID winid = wxID_ANY);


    // show the info bar with the given message and optionally an icon
    virtual void ShowMessage(const wxString& msg,
                             int flags = wxICON_INFORMATION);

    // hide the info bar
    virtual void Dismiss();

    // add an extra button to the bar, near the message (replacing the default
    // close button which is only shown if no extra buttons are used)
    virtual void AddButton(wxWindowID btnid,
                           const wxString& label = wxEmptyString);

    // remove a button previously added by AddButton()
    virtual void RemoveButton(wxWindowID btnid);


    // Generic version only.  GTK doesn't have these??
    void SetShowHideEffects(wxShowEffect showEffect, wxShowEffect hideEffect);
    wxShowEffect GetShowEffect() const;
    wxShowEffect GetHideEffect() const;
    void SetEffectDuration(int duration);
    int GetEffectDuration() const;
    
};

//---------------------------------------------------------------------------