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::FontSelection(3)					User Contributed Perl Documentation				    Gtk2::FontSelection(3)

NAME
Gtk2::FontSelection HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Box +----Gtk2::VBox +----Gtk2::FontSelection INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::Orientable METHODS
widget = Gtk2::FontSelection->new fontface = $fontsel->get_face Since: gtk+ 2.14 widget = $fontsel->get_face_list Since: gtk+ 2.14 fontfamily = $fontsel->get_family Since: gtk+ 2.14 widget = $fontsel->get_family_list Since: gtk+ 2.14 font = $fontsel->get_font string = $fontsel->get_font_name boolean = $fontsel->set_font_name ($fontname) o $fontname (string) widget = $fontsel->get_preview_entry Since: gtk+ 2.14 string = $fontsel->get_preview_text $fontsel->set_preview_text ($text) o $text (string) widget = $fontsel->get_size_entry Since: gtk+ 2.14 integer = $fontsel->get_size Since: gtk+ 2.14 widget = $fontsel->get_size_list Since: gtk+ 2.14 PROPERTIES
'font' (Gtk2::Gdk::Font : readable / private) The GdkFont that is currently selected 'font-name' (string : readable / writable / private) The string that represents this font 'preview-text' (string : readable / writable / private) The text to display in order to demonstrate the selected font SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::VBox 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::FontSelection(3)