2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_INPUTDIALOG_H
4 #define _GTKMM_INPUTDIALOG_H
12 * Copyright (C) 1998-2002 The gtkmm Development Team
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Library General Public
16 * License as published by the Free Software Foundation; either
17 * version 2 of the License, or (at your option) any later version.
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Library General Public License for more details.
24 * You should have received a copy of the GNU Library General Public
25 * License along with this library; if not, write to the Free
26 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29 #include <gtkmm/dialog.h>
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 typedef struct _GtkInputDialog GtkInputDialog;
34 typedef struct _GtkInputDialogClass GtkInputDialogClass;
35 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
39 { class InputDialog_Class; } // namespace Gtk
48 // Don't list this in the documentation's Dialogs group because it isn't really useful
49 // - see the GTK+ docs.
51 class InputDialog : public Dialog
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 typedef InputDialog CppObjectType;
56 typedef InputDialog_Class CppClassType;
57 typedef GtkInputDialog BaseObjectType;
58 typedef GtkInputDialogClass BaseClassType;
59 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
61 virtual ~InputDialog();
63 #ifndef DOXYGEN_SHOULD_SKIP_THIS
66 friend class InputDialog_Class;
67 static CppClassType inputdialog_class_;
70 InputDialog(const InputDialog&);
71 InputDialog& operator=(const InputDialog&);
74 explicit InputDialog(const Glib::ConstructParams& construct_params);
75 explicit InputDialog(GtkInputDialog* castitem);
77 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
80 #ifndef DOXYGEN_SHOULD_SKIP_THIS
81 static GType get_type() G_GNUC_CONST;
82 static GType get_base_type() G_GNUC_CONST;
85 ///Provides access to the underlying C GtkObject.
86 GtkInputDialog* gobj() { return reinterpret_cast<GtkInputDialog*>(gobject_); }
88 ///Provides access to the underlying C GtkObject.
89 const GtkInputDialog* gobj() const { return reinterpret_cast<GtkInputDialog*>(gobject_); }
93 //C++ methods used to invoke GTK+ virtual functions:
96 //GTK+ Virtual Functions (override these to change behaviour):
98 //Default Signal Handlers::
99 virtual void on_enable_device(const Glib::RefPtr<Gdk::Device>& device);
100 virtual void on_disable_device(const Glib::RefPtr<Gdk::Device>& device);
111 Table* get_axis_list();
112 const Table* get_axis_list() const;
113 ScrolledWindow* get_axis_box();
114 const ScrolledWindow* get_axis_box() const;
115 OptionMenu* get_mode_optionmenu();
116 const OptionMenu* get_mode_optionmenu() const;
118 Button* get_close_button();
119 const Button* get_close_button() const;
120 Button* get_save_button();
121 const Button* get_save_button() const;
123 //GtkWidget *axis_items[GDK_AXIS_LAST];
125 Glib::RefPtr<Gdk::Device> get_current_device();
126 Glib::RefPtr<const Gdk::Device> get_current_device() const;
128 Table* get_keys_list();
129 const Table* get_keys_list() const;
130 ScrolledWindow* get_keys_box();
131 const ScrolledWindow* get_keys_box() const;
134 Glib::SignalProxy1< void,const Glib::RefPtr<Gdk::Device>& > signal_enable_device();
137 Glib::SignalProxy1< void,const Glib::RefPtr<Gdk::Device>& > signal_disable_device();
142 } /* namespace Gtk */
147 /** @relates Gtk::InputDialog
148 * @param object The C instance
149 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
150 * @result A C++ instance that wraps this C instance.
152 Gtk::InputDialog* wrap(GtkInputDialog* object, bool take_copy = false);
154 #endif /* _GTKMM_INPUTDIALOG_H */