Specialized dialog to enter arguments for method exection.
Definition at line 22 of file Gtk4MethodDialog.h.
Public Member Functions | |
| Gtk4MethodDialog (unsigned width=400, unsigned height=200) | |
| Create method dialog. | |
| void | addArg (const char *argname, const char *value, const char *type) |
| Add method argument. | |
| Gtk::ColorDialogButton * | addColorInput (const char *title, int colindx) |
| add line with color button | |
| void | addLine (const char *txt, Gtk::Widget *widget) |
| Add single dialog line. | |
| Gtk::Button * | addOkCancelButtons () |
| Add Ok and Cancel buttons. | |
| void | clearAllElements () |
| clear all elements inside dialog main box | |
| void | methodDialog (TContextMenu *menu, TObject *object, TFunction *func) |
| Show method dialog. | |
Protected Member Functions | |
| void | on_ok_button_clicked () |
Protected Attributes | |
| std::vector< Gtk::Entry * > | fArgs |
| TFunction * | fFunc = nullptr |
| TContextMenu * | fMenu = nullptr |
| TObject * | fObject = nullptr |
| Gtk::Box * | m_main_box = nullptr |
#include </github/home/ROOT-CI/src/gui/gtk4canvas/src/Gtk4MethodDialog.h>
| Gtk4MethodDialog::Gtk4MethodDialog | ( | unsigned | width = 400, |
| unsigned | height = 200 ) |
Create method dialog.
Definition at line 35 of file Gtk4MethodDialog.cxx.
| void Gtk4MethodDialog::addArg | ( | const char * | argname, |
| const char * | value, | ||
| const char * | type ) |
Add method argument.
Definition at line 110 of file Gtk4MethodDialog.cxx.
| Gtk::ColorDialogButton * Gtk4MethodDialog::addColorInput | ( | const char * | title, |
| int | colindx ) |
add line with color button
Definition at line 57 of file Gtk4MethodDialog.cxx.
| void Gtk4MethodDialog::addLine | ( | const char * | txt, |
| Gtk::Widget * | widget ) |
Add single dialog line.
Definition at line 85 of file Gtk4MethodDialog.cxx.
| Gtk::Button * Gtk4MethodDialog::addOkCancelButtons | ( | ) |
Add Ok and Cancel buttons.
Definition at line 122 of file Gtk4MethodDialog.cxx.
| void Gtk4MethodDialog::clearAllElements | ( | ) |
clear all elements inside dialog main box
Definition at line 48 of file Gtk4MethodDialog.cxx.
| void Gtk4MethodDialog::methodDialog | ( | TContextMenu * | menu, |
| TObject * | object, | ||
| TFunction * | func ) |
Show method dialog.
Definition at line 143 of file Gtk4MethodDialog.cxx.
|
protected |
Definition at line 236 of file Gtk4MethodDialog.cxx.
|
protected |
Definition at line 45 of file Gtk4MethodDialog.h.
|
protected |
Definition at line 48 of file Gtk4MethodDialog.h.
|
protected |
Definition at line 46 of file Gtk4MethodDialog.h.
|
protected |
Definition at line 47 of file Gtk4MethodDialog.h.
|
protected |
Definition at line 43 of file Gtk4MethodDialog.h.