mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
b29aba8ae1
* gscreen.c (panel_create_filter): The filter control is now a nice GnomeEntry. It does not work due to gmc trapping key events; I'll look into it tomorrow. (internal_select_item): Fixed broken behavior. Now uses GtkCList properly. default_filters: new structure with pre-defined glob patterns. This is actually broken, because it will only work when easy_patterns is enabled. I have to figure a way to make it work with regexp mode as well.
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
#ifndef __GMC_MAIN_H
|
|
#define __GMC_MAIN_H
|
|
#include "dlg.h"
|
|
#include "panel.h"
|
|
#include "widget.h"
|
|
|
|
int xtoolkit_init (int *argc, char *argv []);
|
|
int xtoolkit_end (void);
|
|
|
|
/* Required by the standard code */
|
|
widget_data xtoolkit_create_dialog (Dlg_head *h, int with_grid);
|
|
widget_data xtoolkit_get_main_dialog (Dlg_head *h);
|
|
widget_data x_create_panel_container (int which);
|
|
void x_panel_container_show (widget_data wdata);
|
|
|
|
void x_destroy_cmd (void *);
|
|
|
|
int x_create_radio (Dlg_head *h, widget_data parent, WRadio *r);
|
|
int x_create_check (Dlg_head *h, widget_data parent, WCheck *c);
|
|
int x_create_label (Dlg_head *h, widget_data parent, WLabel *l);
|
|
int x_create_input (Dlg_head *h, widget_data parent, WInput *in);
|
|
int x_create_listbox (Dlg_head *h, widget_data parent, WListbox *l);
|
|
int x_create_buttonbar (Dlg_head *h, widget_data parent, WButtonBar *bb);
|
|
void x_filter_changed (WPanel *panel);
|
|
void x_list_insert (WListbox *l, WLEntry *p, WLEntry *e);
|
|
void x_redefine_label (WButtonBar *bb, int idx);
|
|
void x_add_widget (Dlg_head *h, Widget_Item *w);
|
|
|
|
struct gmc_color_pairs_s {
|
|
GdkColor *fore, *back;
|
|
};
|
|
|
|
extern struct gmc_color_pairs_s gmc_color_pairs [];
|
|
#endif
|