mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-18 20:29:46 +02:00
![Mike Kestner](/assets/img/avatar_default.png)
* */*.cs : add lgpl license blurb and clean up (c)'s. * */*.custom : add lgpl license blurb and clean up (c)'s. * */glue/*.c : add lgpl license blurb and clean up (c)'s. file adds without license from now on are punishable by wedgie. svn path=/trunk/gtk-sharp/; revision=30401
169 lines
4.2 KiB
C
169 lines
4.2 KiB
C
/* fileselection.c : Glue for accessing fields in the GtkFileSelection widget.
|
|
*
|
|
* Author: Duncan Mak (duncan@ximian.com)
|
|
*
|
|
* Copyright (c) Ximian, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of version 2 of the Lesser GNU General
|
|
* Public License as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this program; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#include <gtk/gtkfilesel.h>
|
|
|
|
/* Forward declarations */
|
|
GtkWidget *gtksharp_file_selection_get_dir_list (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_file_list (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_selection_entry (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_selection_text (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_main_vbox (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_ok_button (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_cancel_button (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_help_button (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_history_pulldown (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_history_menu (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_fileop_dialog (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_fileop_entry (GtkFileSelection *file);
|
|
|
|
const gchar *gtksharp_file_selection_get_fileop_file (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_fileop_c_dir (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_fileop_del_file (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_fileop_ren_file (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_button_area (GtkFileSelection *file);
|
|
|
|
GtkWidget *gtksharp_file_selection_get_action_area (GtkFileSelection *file);
|
|
/* */
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_dir_list (GtkFileSelection *file)
|
|
{
|
|
return file->dir_list;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_file_list (GtkFileSelection *file)
|
|
{
|
|
return file->file_list;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_selection_entry (GtkFileSelection *file)
|
|
{
|
|
return file->selection_entry;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_selection_text (GtkFileSelection *file)
|
|
{
|
|
return file->selection_text;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_main_vbox (GtkFileSelection *file)
|
|
{
|
|
return file->main_vbox;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_ok_button (GtkFileSelection *file)
|
|
{
|
|
return file->ok_button;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_cancel_button (GtkFileSelection *file)
|
|
{
|
|
return file->cancel_button;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_help_button (GtkFileSelection *file)
|
|
{
|
|
return file->help_button;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_history_pulldown (GtkFileSelection *file)
|
|
{
|
|
return file->history_pulldown;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_history_menu (GtkFileSelection *file)
|
|
{
|
|
return file->history_menu;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_fileop_dialog (GtkFileSelection *file)
|
|
{
|
|
return file->fileop_dialog;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_fileop_entry (GtkFileSelection *file)
|
|
{
|
|
return file->fileop_entry;
|
|
}
|
|
|
|
const gchar*
|
|
gtksharp_file_selection_get_fileop_file (GtkFileSelection *file)
|
|
{
|
|
return file->fileop_file;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_fileop_c_dir (GtkFileSelection *file)
|
|
{
|
|
return file->fileop_c_dir;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_fileop_del_file (GtkFileSelection *file)
|
|
{
|
|
return file->fileop_del_file;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_fileop_ren_file (GtkFileSelection *file)
|
|
{
|
|
return file->fileop_ren_file;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_button_area (GtkFileSelection *file)
|
|
{
|
|
return file->button_area;
|
|
}
|
|
|
|
GtkWidget*
|
|
gtksharp_file_selection_get_action_area (GtkFileSelection *file)
|
|
{
|
|
return file->action_area;
|
|
}
|