[Glade-users] Signal question.
- From: paskari007 at yahoo.ca (PEYMAN ASKARI)
- Subject: [Glade-users] Signal question.
- Date: Tue, 14 Oct 2008 10:07:23 -0400 (EDT)
Hi
If I set the Visible attribute to 'No', then I don't even have access to the widgets via the call
wtree.get_widget('widget_name') and the whole program crashes
BalaKrishna Kolluru <balakkvj at dcs.shef.ac.uk> wrote: Hi,
I think you need to set the "visible" to "no" in common tab of the properties for the auxillary window.
I was using glade-2 but setting the visible to no will render only your main window to run at initiation.
Hope this helps.
B
2008/10/14 PEYMAN ASKARI <paskari007 at yahoo.ca>
Well all I'm doing is calling a widget.hide() then a widget.show(), but to be honest with you, I don't know
what gladex uses when it calls the widget (I run my glade xml files on python with gladex).
I just want to clarify that I can use the main window, and I can interact with it, it's just that the other
window will always sit on top of the main window, and I have to physically drag it to the side.
Let me write the properties of the widget, maybe that will help:
Class: GtkWindow
Name: output_window
Window type: Top Level
Window Role: <blank>
Startup ID : <blank>
Resizable: Yes
Modal: No
Window Position: Center
Default Width: 647
Default Height: 439
Destroy With Parent: Yes
Icon: <blank>
Icon name : gtk connect
Type hint: Utility
Skip Taskbar: No
Skip pager: no
Urgent: No
Accept Focus: Yes
Focus on Map: Yes
Decorated: Yes
Deletable: No (I changed this on purpose)
Transient for Window: <blank>
Opacity for Window: 1.00
Alexey Kurochkin <alexey.kurochkin at pathfinderlwd.com> wrote: On Tue, 2008-10-14 at 08:57 -0400, PEYMAN
ASKARI wrote:
Hello
Yes I had made it with glade, but the modal setting was 'No', I'll try
switching it to 'Yes', however, I doubt that will help
Well, my second guess would be that you are displaying it with
gtk_dialog_run() instead of gtk_widget_show().
_______________________________________________
Glade-users maillist - Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
--
BalaKrishna Kolluru
University of Sheffield
ICOSS,
Sheffield S1 4DP
United Kingdom
Phone: +44 114 2227128
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20081014/5d371203/attachment-0001.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]