Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

page_export_pipe.cc File Reference

#include <iostream>
#include <sstream>
#include <string>
#include <algorithm>
#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "page_export_pipe.h"
#include "preferences.h"
#include "message.h"
#include "frame.h"
#include "rwpipe.h"
#include "stringutils.h"
#include <sys/types.h>
#include <dirent.h>
#include <sys/wait.h>

Include dependency graph for page_export_pipe.cc:

Go to the source code of this file.

Functions

static void on_tool_change (GtkOptionMenu *optionmenu, gpointer user_data)
void on_button_export_pipe_file_clicked (GtkButton *button, gpointer user_data)


Function Documentation

void on_button_export_pipe_file_clicked GtkButton *  button,
gpointer  user_data
 

Definition at line 436 of file page_export_pipe.cc.

References common, KinoCommon::getFileToSave(), and lookup_widget().

00438     {
00439         const char *filename = common->getFileToSave( _("Enter a File Name to supply to Tool") );
00440         gtk_widget_grab_focus( lookup_widget( GTK_WIDGET( button ), "entry_export_pipe_file" ) );
00441         if ( strcmp( filename, "" ) )
00442             gtk_entry_set_text( GTK_ENTRY( lookup_widget( GTK_WIDGET( button ), "entry_export_pipe_file" ) ), filename );
00443     }

static void on_tool_change GtkOptionMenu *  optionmenu,
gpointer  user_data
[static]
 

Definition at line 132 of file page_export_pipe.cc.

00133 {
00134     int index = gtk_option_menu_get_history( optionmenu );
00135     ( ( ExportPipe * ) user_data ) ->selectTool( index );
00136 }


Generated on Sun Mar 11 22:12:25 2007 for Kino by  doxygen 1.4.2