Re: How can we find whether a menu item was activated by Shift+Click?

2005-03-18 Thread Santhosh
Hi, After digging through this mailing list archives I found that the following discussion nearly touches my problem... http://mail.gnome.org/archives/gtk-app-devel-list/2001-January/msg00144.html This message was posted during 2001... and I don't know whether we have any different solutions r

Re: Toolbar style

2005-03-18 Thread Santhosh
Hi Paul, > Is there anything I should do to make my toolbar style default > to GNOME settings? My application isn't using GNOME, only GTK+, > but I hope that isn't a problem. I assume that your theme problem happens only with the programs that uses gtk+-2.6.4 and you have installed gtk+-2.6

Toolbar style

2005-03-18 Thread Paul Pogonyshev
Hi, Is there anything I should do to make my toolbar style default to GNOME settings? My application isn't using GNOME, only GTK+, but I hope that isn't a problem. Currently, it doesn't seem to care about GNOME settings in this respect. Paul ___ gtk-

Re: How to make toolbar without GTK_CAN_FOCUS

2005-03-18 Thread Paul Pogonyshev
Miroslav Rajcic wrote: > I am trying to make my toolbar (with tool buttons) not to receive focus > when Tab is used to move focus along the window widgets. > > I've tried to call > GTK_WIDGET_UNSET_FLAGS(widget, GTK_CAN_FOCUS); > to both toolbar widget and every single tool button, but it doesn't s

Re: How to detect already running application...

2005-03-18 Thread Alan M. Evans
On Fri, 2005-03-18 at 06:05, Miroslav Rajcic wrote: > Is there any gtk-only way (not Gnome oriented) to do this ? > I am looking for the same answer for my app, and the code needs to be > working on Windows too. > > Windows-only code is pretty simple using named mutex to act as kind of > interproc

Re: how to copy folder using glib?

2005-03-18 Thread Freddie Unpenstein
> > how to copy folder using glib? > AFAIK there're no specific function for this on glib. > You should make a loop reading all the files and copying them, > or try a system() call and pray for the best. Actually, that's almost exactly how I'd suggest doing it. Though possibly not with system()

Re: Large files and asynchronous IO

2005-03-18 Thread Tristan Van Berkom
Alexander Lyakas wrote: Hi all, I have been really impressed with GLib, portability and all. There are, however, two features I need, but I am not sure whether they exist. 1) Can I create large files with GLib? (Over 2 GB) That should depend on the filesystem you are using, otherwise; A quick glan

Re: How to detect already running application...

2005-03-18 Thread Miroslav Rajcic
Is there any gtk-only way (not Gnome oriented) to do this ? I am looking for the same answer for my app, and the code needs to be working on Windows too. Windows-only code is pretty simple using named mutex to act as kind of interprocess semaphore. But I am not sure if it can be that simple on Lin

Re: How to detect already running application...

2005-03-18 Thread Matthias Clasen
On Fri, 2005-03-18 at 09:00 -0500, John (J5) Palmieri wrote: > There are a number of hacks to do this. gnome-volume-manager uses the > clipboard. NetworkManager uses D-Bus. I'm not sure what g-edit uses, > perhaps bonobo. Future looking D-Bus is the way to go. You basically > grab a name and w

Re: How to detect already running application...

2005-03-18 Thread John (J5) Palmieri
There are a number of hacks to do this. gnome-volume-manager uses the clipboard. NetworkManager uses D-Bus. I'm not sure what g-edit uses, perhaps bonobo. Future looking D-Bus is the way to go. You basically grab a name and when your app comes up a second time it will get an error when trying

How can we find whether a menu item was activated by Shift+Click?

2005-03-18 Thread Santhosh
Hi, In my application, I want to differentiate between Shift+Click and Click of a menuitem. The menuitem is a proxy for a GtkAction. I also have a toolbar item proxy for the same GtkAction. /* sample snippet */ void my_action_callvack (GtkAction* action, gpointer user_data) { if (SHIFT PR

Executing gnome applet from the commandline!!!!!1

2005-03-18 Thread APR Trainees
Hello friends, We have made a .server file and so our applet coems as aprt of a menu.But we need to use Add to Panel->etc is there a way that we can DIRECTLY get the panel applet on the desktop like the print-manager icon or other icons. Such that its visible to the user on launch itself. An

Re: Font

2005-03-18 Thread Viraj Chatterjee
gtk_label_set_markup(GTK_LABEL(wid), "text"); -vc - Original Message - From: "[ A b h i s h e k ]" <[EMAIL PROTECTED]> To: Sent: Friday, March 18, 2005 4:29 PM Subject: Font Hey again I know this is stupid but im goin crazy just to make the text of a label bold. Please Help. I need som

Re: Font

2005-03-18 Thread John Cupitt
You need http://developer.gnome.org/doc/API/2.0/gtk/GtkLabel.html#gtk-label-set-markup eg: gtk_label_set_markup( GTK_LABEL( mylabel ), "hello, world!" ); On Fri, 18 Mar 2005 10:59:03 +, [ A b h i s h e k ] <[EMAIL PROTECTED]> wrote: > I know this is stupid but im goin crazy just to mak

Font

2005-03-18 Thread [ A b h i s h e k ]
Hey again I know this is stupid but im goin crazy just to make the text of a label bold. Please Help. I need some sleep! Thanks. Abhishek Samuel _ Screensavers for every mood! http://www.msn.co.in/Download/screensaver/ Jazz up your

Double Buffering

2005-03-18 Thread [ A b h i s h e k ]
Hi i was wanting to highlight a portion of an image just by clicking and dragging over it. When i drew directly on the image there was a lot of flickering. So now i always draw to a offscreen pixmap and then display that pixmap. It works nicely and there is no flickering. The problem is that i