General :: Interface Not Responding In Glade 3 / Gtk With C
Feb 9, 2011
I am a fairly new ubuntu user. I am using ubuntu 10.04 and glade 3 for building a simple interface that uses C. In my interface , I have created two buttons : start and stop .Tofocus on my actual problem , I have created a simpler UI and code. start button runs a while(1) loop and stop should stop the loop .
The problem is , when I press start , the gui freezes and I cannot press any other button. I cant even close my app.After some thorough experimentation, I found out that when I press start, it never comes out of the while loop. I need the loop to keep running until I press stop . What should i do? Here are the functions for the clickable buttons :
this is my first time here: I've been programming GUI software in C# in MonoDev for some time now. I just noticed that I can use my favorite language, C, with Glade to do the same thing. I've been going through some tutorials with a little frustration with them. Some seem to be written for older Glade versions.
The latest example had me save my Glade project to a "tutorial.glade" file. Then run it through a 'gtk-builder-convert' utility. Problem: the utility program returns errors indicating the the tutorial.glade file was written badly, that there is supposed to be a <glade-interface> tag that is missing.
I am working with ubuntu (linux) and have to create a graphical user interface. The GUI is a 2-D plot that have to plot a point. The point ( x and y co-ordinates) are not hardcoded, and are coming from another file (another piece of code written in c / python). I was thinking to use Glade with c/python to create this. But, I am not sure how to start with this.
After upgrading my media computer earlier today, I tried to run Samba config (system-config-samba) and it crashed. Running again in terminal I got the following error:-
Code: import mainWindow File "/usr/share/system-config-samba/mainWindow.py", line 30, in <module> import gtk.glade ImportError: No module named glade Ths was fixed by installing (via Synaptic):-
i am using windows 7 in my laptop and linux is installed on virtualBox but my problem is the screen is showing small in virtualbox is there any way to enalarge the screen to show like windows screen? i did before by using VGA setting but it made problem me i was not able to use GUI interface i meant graphics interface it was just showing me Command Prompt.
I've been having several serious problems with the ancient version of glade included in squeeze. Now it is entirely unusable. I'm convinced the only way to fix this rediculous mess is to install a newer version. Guess what? testing and unstable have the exact same version as squeeze. The experimental one can't be installed because out of the 20 or so packages it needs installed to run 18 are missing. Is there a half-decent repository where I can get a new-ish version of glade? Try compiling from source and tada: My "intltool" is too old whatever that is.
I'm trying to write a GUI using Glade and pyGtk. I had a problem so decided to go back and start from a helloWorld, but I still have a problem. here is my code for the program
I have created a glade file which so far have two regions in it:
1) On the right division is a toggle button which calls a C script when enabled.
2) I have a drawing area, in which I would like to plot a point (X-Y scatter plot). The plot should be generated dynamically using a C script. I am not sure how the integration between the two is possible for a drawing area.
In glade what properties of drawing area should I set? eg.expose event, realize etc. I was thinking of using cairo for generating the plot.
I really need to download the Glade interface designer. So when I go to the ubuntu software center and click on it, it doesn't give me an option to download. Then, when I click "more info" it says, "To show information about this item, the software catalog needs updating". So I go ahead and run
I have searched the net for guides on GTK/Glade and have learned that I have to install Glade in order to experiment with it. It also appears that it only works for Perl. I would primarily like to use C ,Bash , Pascal or settle for Python if possible. Can anyone offer some general info on this topic?
how i can change the run application window of gnome panel; i had done this with glade-3 but i dont know how to manage its signal and slots for example by clicking on a button it opens an app ,i cant manage it signals and slots
I recently upgraded to lucid. During the upgrade, I got a message about Glade being incompatible(?) and clicked ok. It was uninstalled with several dozen packages.
I would really like to get it back. Is there a compatibility issue with Glade and 10.4?
I'm trying for the first time to use gpg to encrypt a file with a symmetric key, but gpg doesn't seem to respond when I use the -c switch.gpg -v -c filename.. just doesn't seem to do anything, nor to report any error, and just hangs until I hit ctrl-c.
I recently installed Fedora 12 but Firefox will not launch now so I downloaded from Mozilla and installed the latest version using Vista but it still will not work yet I can download emails and go online using the live cd.
i m experiencing some problems connecting via ssh two ubuntu workstation: a ssh client and a ssh server The goal of that is to run from local client computer some X applications on the remote server machine
i have configured both client and server for X11forwarding (i think) properly Infact when i launch xeyes on the client i see the X app running
the problem is for all other X apps. For example when i run xclock, nothing happens on the local PC the prompt continues blinking without any reponse, no windows opens and the strangest thing, the shell is stucked. No possible to interrupt with [CTRL]+c the onyl thing to do is close the shell window
Starting in verbose mode (debug), X11 seems works correct , it says x11 confirm as last message .
Why my fedora 12 always hang and not responding?it is any problem with my installation process?when my fedora not responding,the only thing that i can do is restart it again.i did this again and again..
play on linux is the only program sorry what it is doing is when i go to install a game and click apply it just stops then when i go to close the program down it says its not responding and wants me to either wait or force quit?
I am working on a small project for making a small configuration tool for ubuntu 9.10 for new linux users, that make their system working easily without knowledge of the linux commands.I created a gui in glade and loaded the gui with my python program to show up, now i wish to have some python codes that can launch a gnome terminal (and also pass some linux commands to it) on the click of a button contained in the glade file.
I have deployed proxy server in my office about a month ago. I have about 7-8 client accessing it through port 3128. After some days of deployment, my server started creating problems. Some clients were not able to access proxy while other clients were accessing it. The error message which I found in cache.log was:
Code: WARNING: Closing client 192.168.2.99 connection due to lifetime timeout
In this way it was disconnecting clients randomly. The problem resolves when I restart proxy server
Im sending my cache.log file
Code: Last login: Mon Nov 15 12:37:29 2010 from 192.168.2.2 [root@localhost ~]# cat /var/log/squid/cache.log 2010/11/15 08:11:49| storeDirWriteCleanLogs: Starting... 2010/11/15 08:11:49| Finished. Wrote 57740 entries.
I got to the prompt in the subject line. Then I typed grep /sounds/ and return.Then the program stopped responding to commands. I could type things, but nothing happened. Not even when I typed kill -9 and return.Why did the thing freeze up? I don't think there is folder /sounds/.
I'm running archlinux & just recently started having a problem where ALL USB devices will stop responding for a second when a new USB device is plugged in. dmesg doesn't provide any hints.For example, I've got my music on an external HD & it will stop playing for like ~30 seconds if plug in my camera or gamepad...This issue only seemed to start after my home partition was erased & re-created, though I don't see how these two issues could be related.I've been running a custom kernel (2.6.35-rc6) for the past few months, and that hadn't changed to spur this issue. Thinking it may have been something weird with the kernel, I even switched over 2.6.36-rc6-mainline, yet this did not remediate the issue.
I have been using my Acer Aspire One Netbook, with Linux Lite v1.0.13.E as loaded on purchase, happily for a year or so. Yesterday, when I clicked on the Browser picture to open up Firefox, nothing happened. I can't find how to access anything which will let me check if the icon has lost a link. I have looked on the File Manager and can see the .mozilla folder but don't know what to look for, nor what to do from here.
I have now managed to add the sub-menu which was linked to here: [URL] as a way to Install apps. I can now use this directory to try and open Firefox Web Browser - I then get the message "Failed to execute default web browser Input/output error.
I just had an ATT Uverse RG installed. However my Smoothwall router that previously worked fine with the ADSL SpeedStream is no longer accepting an address assignment DHCP ip address from this new gateway. (3800HGV-B)Any thoughts ideas or experience working with this hardware? ATT only supports Windows and Mac
I want to display something in my text view widget in glade using c code. that's all right. now I need to attach a save button beneath the text view.so that on click the text view content should save as a txt file..
When I do...# iptables -L...I see rules in my INPUT and OUTPUT chains that look scary:ACCEPT all -- anywhere anywhere...but these rules only apply to the loopback interface. I tested it and the server cannot be reached on open ports from the outside world. How can I make iptables show the interfaces that the rules apply to?Otherwise, every time I do iptables -L it will scare the crap out of me.
I found multiple sites explaining how to add IPs to a network interface as virtual interface like eth0:0. However I can add IPs to an interface as well using the ip command: ip a a 192.168.2.2/24 dev eth0 What I want to know is how I can make this persistent on rhel/centos.