On Wednesday 21 March 2007 17:50, Michiel Jan Laurens de Hoon wrote:
> For my application, I need to run gtk_main but I want to quit gtk_main
> when either input is available on stdin or the user presses Ctrl-C. The
> former is easy (using g_io_add_watch), but I am not sure what the best
> approach
On Wednesday 21 March 2007 20:59, [EMAIL PROTECTED] wrote:
[snip]
> Hi,
>
> maybe adding this to main
>
> /*signal(SIGHUP,SIG_IGN); *//* ignore SIGHUP */
> /*signal(SIGTERM,signal_handler);*/ /* catch SIGTERM */
> signal(SIGINT,signal_handler); /*
On Thu, Mar 22, 2007 at 09:20:47AM -0400, Kevin Lambert wrote:
>
> I have a button in DispenserLoadDialog that launches DispenserLoadingDialog
> without emitting a return value for DispenserLoadDialog. The response value
> from DispenserLoadingDialog is only supposed to be caught by the buttons
>
Hi Madhu,
Thanks! It worked.
What I find is that the main menu vanishes once the sub menu appears.
Is there any way that I can retain the previous main menu also.
When I use mouse, it seems to work but with keyboard it does not.
Attaching the sample code for submenu activate.
Regards,
Shankvio
/
Alexander Eichner wrote:
> i have a problem when i load images with a certain size.
> Normally the rowstride given with gdk_pixbuf_get_rowstride
> is calculated with width of the image multiplied with the number of
> channels in the image.
> But if i load an RGB Image with for example 314px*240px
On Wed, 2007-03-21 at 16:11 -0700, 3saul wrote:
> ...from a widget in the window. Is this possible? Can I do something like
> simulate the pressing of the alt key to achieve this or is there a better
> way? I don't want the user to have to press ALT.
You don't want to do this by simulating ALT -
hello,
i have a problem when i load images with a certain size.
Normally the rowstride given with gdk_pixbuf_get_rowstride
is calculated with width of the image multiplied with the number of
channels in the image.
But if i load an RGB Image with for example 314px*240px in size
I get an rowstride o
...from a widget in the window. Is this possible? Can I do something like
simulate the pressing of the alt key to achieve this or is there a better
way? I don't want the user to have to press ALT.
--
View this message in context:
http://www.nabble.com/Move-decorationless-window-with-mouse-tf3444
I wasn't expecting you to be able to compile the code since it is a small
piece of a much larger application. From a quick review of your attached
code it looks like each of the dialogs gtk_dialog_run() drops out to select
the next dialog and thus is not an arbitrary depth. You are processing the
On Thu, Mar 22, 2007 at 08:53:34AM -0400, Kevin Lambert wrote:
> Evidentally nothing, I don't know how many people have a GtkWindow kicking
> off a GtkDialog which then kicks off another GtkDialog...
I have. Moreover, the attached code demonstrated arbitrary
deep nesting of modal dialogs that wor
Evidentally nothing, I don't know how many people have a GtkWindow kicking
off a GtkDialog which then kicks off another GtkDialog...
DispenserLoadDialog::load_button_clicked() kicks off DispenserLoadingDialog.
When either DispenserLoadingDialog::ok_button_clicked() or
DispenserLoadingDialog::cance
Hi Yeti,
Thanks so much for the useful response! I was able to test out the
Extended Window Manager hints feature with a small program (I also
referred Nautilus source code which already uses this through gdk).
Thanks again!
Gaurav
On 3/22/07, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote:
> On
Hi Shankar
I have faced the same problem, while developing an application for mobile.
The am just suggesting you, based on whatever I did. This may not be the
intended solution.
For your Main Menu don't attach a sub menu. On click of the item pop up
another main menu. You can position this Main
Hi ALl,
I have a strange requirement. I am developing an application for mobile where
menubar is at the bottom.
I have menu popping up from menubar and I am also able to position it using
GtkMenuPositionFunc. However if the main menu has a sub menu for one of the gtk
item in it, the GtkMenuPosi
14 matches
Mail list logo