cannot highlight more than one line in Gtk Text

2007-04-30 Thread Yogesh M
Did a manual installation of linux following LFS and BLFS instructions, Installed Gtk-2.8.20, Ran Gtk-demo, Now If I am trying to select more than one line from Info or Source tab, I am getting segmentation fault. I tried compiling with -O2 and i686 compiler option with no success, I think it h

Re: cannot highlight more than one line in Gtk Text

2007-05-17 Thread Yogesh M
more than one line. So, the bug is because of some compiler optimization. I am using gcc 4.0.3, so what is the safe compiler flags to use with gtk 2.10.11? I certainly don't want a library to be 10.7 MB instead of just 4.7 MB. Thank you, Yogesh M - Original Message ---- From: Yogesh

how to use Font Selection Dialog

2005-07-14 Thread Yogesh M
need a simple example how to use font selection dialog to change the font. Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ gtk-app-devel-list ma

creating a Preference dialog like that of Konquerors

2005-07-14 Thread Yogesh M
I want the preference dialog to look like this, left side of the window a list of images describing the options like font,colour,settings... and when I like those, the required buttons should appear on the right, Example link: http://www.kdetv.org/screenshots/kdetv-config_general.jpg I know it

Re: creating a Preference dialog like that of Konquerors

2005-07-14 Thread Yogesh M
]> wrote: > On Thursday 14 July 2005 11:05, Yogesh M wrote: > > > I want the preference dialog to look like this, > > left side of the window a list of images > describing > > the options like font,colour,settings... > > and when I like those, the required butto

Re: creating a Preference dialog like that of Konquerors

2005-07-15 Thread Yogesh M
I have found a way to create it, I want to know, is there a better way. create a drawing area and place all those images to click.[Is there any widget that can do this] then have a five vbox and show the require box and hide others. --- Yogesh M <[EMAIL PROTECTED]> wrote: > [quo

Re: creating a Preference dialog like that of Konquerors

2005-07-17 Thread Yogesh M
AIL PROTECTED]> wrote: > On Fri, 15 Jul 2005, Yogesh M wrote: > > > create a drawing area and place all those images > to > > click.[Is there any widget that can do this] > > As mentioned previously, you could use a > GtkTreeView. Or if the number of > images is s

Re: creating a Preference dialog like that of Konquerors

2005-07-17 Thread Yogesh M
2.6 is still not ready for developers use, is that true even after 2.6.8 release > --- John Vetterli <[EMAIL PROTECTED]> wrote: > > > On Fri, 15 Jul 2005, Yogesh M wrote: > > > > > create a drawing area and place all those images > > to > >

Having a border for tree view

2005-07-18 Thread Yogesh M
When I display the tree view,it doesnt contain a border, it has a white bg but no border. How to draw border. Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs __

transperent color for drawing area

2005-07-18 Thread Yogesh M
when creatin a new drawing area, it starts with a black bg. How to have a transperent background. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __

look of icon view in tree view

2005-07-18 Thread Yogesh M
Can I get the look of icon view in Tree view, In other words, text below icons. In other woards, render text column and icon column alternatively. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.

If i open app in konqueror images dont load

2005-07-19 Thread Yogesh M
I have the executable in a folder where i have few icon images used by the program, whe i run the program through terminal icons are loaded. If I click the exectable through konqueror icons are not loaded. It seems that path variable needed to be set to executable path. how to do it.

Re: If i open app in konqueror images dont load

2005-07-19 Thread Yogesh M
how about if i distribute the software. does every user had to do it. Benoû‘ Touron <[EMAIL PROTECTED]> wrote: Hi, In a terminal window: export PATH=$PATH:/wherever/you/want ./yourapp Ben >I have the executable in a folder where i have few >icon images used by the program, whe i run the pro

play wave files in gtk

2005-07-20 Thread Yogesh M
Is there a way i can play wave files or sound using gtk, and more importantly it should be portable. atleast working in linux and windows. ie I want a sound effect to be played when the user interacts with the UI. __ Do You Yahoo!? Tired of spam?

how to print drawing area

2005-07-30 Thread Yogesh M
I want to print the drawing area and it should work in windows and linux. I am using gtk 2.4. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___

Re: how to print drawing area

2005-07-31 Thread Yogesh M
a better aproach please, --- Hubert Soko³owski <[EMAIL PROTECTED]> wrote: > On Sat, 30 Jul 2005 00:55:44 -0700 (PDT) > Yogesh M <[EMAIL PROTECTED]> wrote: > > > I want to print the drawing area and it should > work in windows and linux. I am using gtk 2.4. >

painting transperent in drawing area

2005-07-31 Thread Yogesh M
I have already asked this question and didnt get a answer. how do i paint transperent in drawing area. let me explain it clearer. If i have set bg pixmap to window , then i have a drawing area in it. now i draw box of white color. Now how do paint transperent. _

kbhit() gtk equivalent

2005-08-01 Thread Yogesh M
is there a command that is equal to kbhit() I have a function which do take a lot of time to execute(sometimes 10 secs, sometimes 4 hours or more). I want the function to be broke if user wants to. I have tried with multi threading but it hangs when i draw something using the thread[anyway that dr

time consuming function/loop

2005-08-04 Thread Yogesh M
One of the function take long time and blocks gtk_main. I dont want to put it in thread because it contains some part of the code which draws[drawing is not allowed in thread]. is there any way i can make user to interrupt the thread and break it. --

Re: time consuming function/loop

2005-08-05 Thread Yogesh M
thank you for the useful information, is there a way i can give user an option to break the thread, like cancel button. --- "Brian J. Tarricone" <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Yogesh M wrote: > > One of the

Re: time consuming function/loop

2005-08-06 Thread Yogesh M
its silly sometimes i miss easy solution or think about it too late --- John Cupitt <[EMAIL PROTECTED]> wrote: > On 8/5/05, Yogesh M <[EMAIL PROTECTED]> wrote: > > thank you for the useful information, is there a > way i > > can give user an option to break the

how to hide close button in gtk dialog

2005-08-07 Thread Yogesh M
how to hide close button in gtk dialog? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@

Re: how to hide close button in gtk dialog

2005-08-07 Thread Yogesh M
when i create a new dialog, it comes with close button, i am talking about the button in the title bar. how to disable/remove it The Saltydog <[EMAIL PROTECTED]> wrote:On 8/7/05, Yogesh M wrote: > > how to hide close button in gtk dialog? > What do you mean by "hide&quo

Re: how to hide close button in gtk dialog

2005-08-07 Thread Yogesh M
found it, sometimes it is neccessary to avoid confusion. for example in a dialog i have a cancel button, now if the window show a close button, it is a confusion that whether the window closes or the cancel activates or both. --- The Saltydog <[EMAIL PROTECTED]> wrote: > On 8/7/05,

gtk label segmentation fault

2005-08-07 Thread Yogesh M
i used gtk gtk_label_new( const char *str ) to create a new label[why it needs a const char?] below is a part of my code const ch; const char *cch; ch==cch; strcpy(ch,"i put some thing here"); label=gtk_label_new(cch); ok, it works first time, but when the program executes this function again

set current worlking directory to executable path

2005-08-09 Thread Yogesh M
I am using Gtk in windows(as well as linux). I want to set the environment path to executable path so i can load icons present in the executable path. I will be happy if it works both on linux and windows. __ Do You Yahoo!? Tired of spam? Yahoo! M

gtk2 and windows xp

2005-08-10 Thread Yogesh M
In windows XP, gthread doesnt work, it seems to hang the program. works nicely in windows 98 though. In XP it shoulds a white window and doesnt draws or responds when i comment thse line g_thread_init () gdk_threads_init() it works, though it is going to crash when executing thread. it is a

Re: set current worlking directory to executable path

2005-08-10 Thread Yogesh M
for your help, Tor Lillqvist <[EMAIL PROTECTED]> wrote: Yogesh M writes: > I am using Gtk in windows(as well as linux). I want to set the > environment path to executable path so i can load icons present in > the executable path. I will be happy if it works both on linux and >

Re: gtk2 and windows xp

2005-08-11 Thread Yogesh M
missed to cover gtk_main() with gdk_threads_enter and gdk_threads_leave. now works fine. Tor Lillqvist <[EMAIL PROTECTED]> wrote: (Again re-added gtk-app-devel-list to Cc. Discussions that start on a list should stay there.) Yogesh M writes: > the problem is in gdk_thread_

gtk2.6.8, drawing_area, drawing lines, windows xp, may be a BUG

2005-08-11 Thread Yogesh M
minimalist but complete program hand typed here(so might there be typing errors[though checked thoroughly],[sorry, couldnot copy and paste, floppy drive crashed and no internet connection in my computer, browsing net through internet cafe]) people, please check if it happens to you, #include

pass the html file to a browser to open there

2005-08-12 Thread Yogesh M
I have written a program which works under windows and linux, I have written the help in html. If the user presses F1, then I want gtk to call a browser and open html. can it be done in gtk. - Yahoo! Mail Stay connected, organized, and protecte

scroll window with no border

2005-08-16 Thread Yogesh M
I want scroll window only with scroll bars and no kind of border around the contained widget. Thank you. Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___

Re: scroll window with no border

2005-08-17 Thread Yogesh M
use it, if you have already a border and then apply gtk_scroll_window_with_viewport, you will get two borders and it will be ugly, for eg a scroll_window_with_viewport arround a frame. Yogesh M <[EMAIL PROTECTED]> wrote: I want scroll window only with scroll bars and no kind of border arou

uimanager toolbar, change style(icon only, text only, or both)

2005-08-19 Thread Yogesh M
I have a toolbar made from uimanager, I want to change the style(icon only, text only, or both) in the run time. doest it allows or should i fix to GtkToolbar. [though we can change the style in gnome globally, This program works under windows] -

Re: uimanager toolbar, change style(icon only, text only, or both)

2005-08-23 Thread Yogesh M
toolbar has lot of depreciated commands, will toolbar be completely depreciated and removed in future. Yogesh M <[EMAIL PROTECTED]> wrote:I have a toolbar made from uimanager, I want to change the style(icon only, text only, or both) in the run time. doest it allows or should i

another magnificant display of GTK software

2005-09-06 Thread Yogesh M
May be this is not the list I should have posted this message. It is not a question in gtk I am proud of GTK, Inspite of being free it allows to make magnificant commercial apps. works fine under windows and linux. you can look the screenshot of the software gsudoku demo release (its not free) i

Re: another magnificant display of GTK software

2005-09-07 Thread Yogesh M
Virus removed, Had to browse from internet cafe using windows XP, and you know what that means Virus, --- Wallace Owen <[EMAIL PROTECTED]> wrote: > On Tue, 2005-09-06 at 12:18 -0400, Matthew Yaconis > wrote: > > Perhaps I'm the only one to follow the link in > this email and not be > > suspic

G-Sudoku is now open source under GPL

2005-11-06 Thread Yogesh M
To know the features, screenshots about G-Sudoku visit www.yzonesoft.com/gsudoku/gsudoku.html G-Sduoku has been programmed using Gtk-2.4.0 __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com