how to open a text file using some tool such as gedit under gtk


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to open a text file using some tool such as gedit under gtk
# 1  
Old 06-12-2007
how to open a text file using some tool such as gedit under gtk

how to open a text file using some tool such as gedit under gtk


I list some text file names in a GtkCList . I want to open the file on when users click on the row.

How to implement this ?

Thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem in refreshing a text editor (gedit) for scanned pdf

Dear Friends, I am using Ubuntu 15.10, 34 bit system. I added a Nautilus-Actions script in shell script to convert PDF files to text. There are 2 types of PDF 1. Scanned PDF -- Not OCR type -- When I convert it to text it work , but as the part it must (text file) open in gedit . But I can see... (2 Replies)
Discussion started by: anespa
2 Replies

2. Shell Programming and Scripting

Python/GTK Text Wrap Question . . .

Greetings! After some cut-and-try, I've cobbled together the following bit of basic code:#!/usr/bin/python import gtk class PyApp(gtk.Window): def __init__(self): super(PyApp, self).__init__() self.set_size_request(250, 250) ... (0 Replies)
Discussion started by: LinQ
0 Replies

3. Red Hat

(PMT:6498): Gtk-WARNING **: cannot open display:

Error message: (PMT:6498): Gtk-WARNING **: cannot open display: How to solve this issue in linux? (1 Reply)
Discussion started by: vinayd
1 Replies

4. Linux

(PMT:6498): Gtk-WARNING **: cannot open display:

Hai (PMT:6498): Gtk-WARNING **: cannot open display: how to solve this in linux Double post.. continue here (0 Replies)
Discussion started by: vinayd
0 Replies

5. Shell Programming and Scripting

How to open a huge text file?

Hi. I have a 10 Gb text file.the default text editor in ubuntu doens't open it. Does anyone know how can i open it?? Thanks (4 Replies)
Discussion started by: stalaei
4 Replies

6. UNIX for Dummies Questions & Answers

query on the existence of open source tool

can anyone say me, is there any open source tool for generating either 2G or 3G traffic? If so exist, pls brief me about it. (0 Replies)
Discussion started by: routeme
0 Replies

7. UNIX Desktop Questions & Answers

cannot open text file

Hi I am a new to linux, I was faced a file to know is a text file but its type isn't text document and I cannot open it, please guide me. Regards. (2 Replies)
Discussion started by: mkhorami76
2 Replies

8. UNIX for Dummies Questions & Answers

How to examine and open a text file?

Hi I am a new to linux, i was faced a file to know is a text file but its type isnt text document and i can not open it please guide me. Regards ---------- Post updated at 02:52 AM ---------- Previous update was at 02:40 AM ---------- Thank you for your cooperation, my OS is a centOS 5.5... (1 Reply)
Discussion started by: mkhorami76
1 Replies

9. AIX

Open Source Tool for DB2

Dear Folks, Please suggest any Open source db2 tool for working with SQL queries (2 Replies)
Discussion started by: dinesh1985
2 Replies

10. UNIX for Dummies Questions & Answers

how to open a text file by double clicking on the file name in gtk+

how to open a text file by double clicking on the file name shown in a label widget in gtk+. thanks (0 Replies)
Discussion started by: cy163
0 Replies
Login or Register to Ask a Question
Gtk2::Gdk::Display(3)					User Contributed Perl Documentation				     Gtk2::Gdk::Display(3)

NAME
Gtk2::Gdk::Display HIERARCHY
Glib::Object +----Gtk2::Gdk::Display METHODS
$display->beep $display->close device = $display->get_core_pointer $display->set_cursor_theme ($theme, $size) o $theme (string) o $size (integer) Since: gtk+ 2.8 integer = $display->get_default_cursor_size Since: gtk+ 2.4 display or undef = Gtk2::Gdk::Display->get_default window = $display->get_default_group Since: gtk+ 2.4 screen = $display->get_default_screen $display->set_double_click_distance ($distance) o $distance (integer) Since: gtk+ 2.4 $display->set_double_click_time ($msec) o $msec (integer) event = $display->get_event $display->flush Since: gtk+ 2.4 $display->grab $display->keyboard_ungrab ($time_) o $time_ (unsigned) list = $display->list_devices Returns a list of Gtk2::Gdk::Devices (width, height) = $display->get_maximal_cursor_size Since: gtk+ 2.4 integer = $display->get_n_screens string = $display->get_name display or undef = Gtk2::Gdk::Display->open ($display_name) o $display_name (string or undef) event = $display->peek_event list = $display->get_pointer boolean = $display->pointer_is_grabbed $display->pointer_ungrab ($time_) o $time_ (unsigned) $display->put_event ($event) o $event (Gtk2::Gdk::Event) $display->register_standard_event_type ($event_base, $n_events) o $event_base (integer) o $n_events (integer) Since: gtk+ 2.4 boolean = $display->request_selection_notification ($selection) o $selection (Gtk2::Gdk::Atom) Since: gtk+ 2.6 screen = $display->get_screen ($screen_num) o $screen_num (integer) string = $display->get_startup_notification_id Since: gtk+ 2.12 $display->store_clipboard ($clipboard_window, $time_, ...) o $clipboard_window (Gtk2::Gdk::Window) o $time_ (unsigned) o ... (list) of Gtk2::Gdk::Atom's Since: gtk+ 2.6 boolean = $display->supports_clipboard_persistence Since: gtk+ 2.6 boolean = $display->supports_composite Since: gtk+ 2.12 boolean = $display->supports_cursor_alpha Since: gtk+ 2.4 boolean = $display->supports_cursor_color Since: gtk+ 2.4 boolean = $display->supports_input_shapes Since: gtk+ 2.10 boolean = $display->supports_selection_notification Since: gtk+ 2.6 boolean = $display->supports_shapes Since: gtk+ 2.10 $display->sync $display->ungrab unsigned = $display->get_user_time Since: gtk+ 2.8 $display->warp_pointer ($screen, $x, $y) o $screen (Gtk2::Gdk::Screen) o $x (integer) o $y (integer) Since: gtk+ 2.8 (window, win_x, win_y) = $display->get_window_at_pointer ($display) SIGNALS
closed (Gtk2::Gdk::Display, boolean) SEE ALSO
Gtk2, Glib::Object COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::Gdk::Display(3)