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 :

Code:
void
on_start_button_clicked (GtkButton *button, gpointer user_data)
{
flag1=0;
while(1)
{
printf("**********checking !!!! ********
[Code]....

View 3 Replies


ADVERTISEMENT

Programming :: Interface Glade 3.6.7 And 'C' In Ubuntu 10.10?

Apr 18, 2011

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.

[Code]...

View 1 Replies View Related

Programming :: Opening A Text File From Glade Interface?

Jan 26, 2011

opening a text file from glade interface.how?using c code

View 1 Replies View Related

Programming :: Use Glade With C/python To Create A Graphical User Interface

Jan 30, 2011

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.

View 4 Replies View Related

Ubuntu Installation :: Samba Needs Glade On 11.04 - ImportError: No Module Named Glade

May 1, 2011

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):-

Code:
python-glade2

View 2 Replies View Related

General :: Unable To Use GUI Interface Meant Graphics Interface?

Apr 11, 2011

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.

View 8 Replies View Related

Debian :: Run Glade Under Fvwm?

Jan 24, 2011

I had glade package installed. But dpkg -I didn't yield any information. I am baffled.

View 1 Replies View Related

Debian :: Install New Version Of Glade?

Apr 27, 2011

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.

View 8 Replies View Related

Ubuntu :: Runtime Error For Glade Based GUI

Mar 27, 2010

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

Code:
#!/usr/bin/env python
import sys
try:
import pygtk
pygtk.require("2.0")
except:
pass
try:
[Code].....

View 7 Replies View Related

Programming :: Invoke Cairo Functions From Glade?

Feb 12, 2011

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.

View 2 Replies View Related

Ubuntu :: Can't Download Glade UI Designer From Software Center

May 9, 2011

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

Code:

sudo apt-get update

and still I can't download.

View 1 Replies View Related

Programming :: GTK / Glade Use C - Bash - Pascal Or Settle For Python?

Dec 17, 2010

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?

View 4 Replies View Related

Fedora :: Glade-3 - Change The Run Application Window Of Gnome Panel?

Mar 9, 2010

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

View 1 Replies View Related

Ubuntu Installation :: Lucid - During The Upgrade - Message About Glade Being Incompatible ?

Jul 20, 2010

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?

View 3 Replies View Related

General :: GPG On Ubuntu Not Responding?

Oct 18, 2010

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.

View 3 Replies View Related

General :: Firefox Not Responding Fedora12?

Apr 19, 2010

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.

View 13 Replies View Related

General :: Server Not Responding At Some X Apps?

Feb 25, 2011

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 .

View 3 Replies View Related

General :: Fedora 12 Always Hang And Not Responding

Feb 16, 2010

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..

View 5 Replies View Related

General :: When Go To Close Program Down It Says Its Not Responding

Oct 27, 2010

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?

View 2 Replies View Related

Programming :: Open Gnome Terminal (pass Commands ) On Clicking Glade Button

Dec 18, 2010

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.

View 1 Replies View Related

General :: Proxy Server Not Responding To Clients?

Nov 15, 2010

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.

[Code]....

View 3 Replies View Related

General :: Program Stopped Responding To Commands?

Apr 26, 2010

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/.

View 2 Replies View Related

General :: Dell A940 Printer Not Responding?

Jul 6, 2011

The computer is communicating with the printer, but the printer isn't printing. What can I do?

View 1 Replies View Related

General :: USB Devices Stop Responding When A New Device Is Inserted?

Oct 4, 2010

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.

View 2 Replies View Related

General :: Browser Icon Not Responding On Acer Aspire One Netbook Lite V1.0.13.E

Dec 2, 2010

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.

View 14 Replies View Related

Networking :: ATT Uverse DHCP Not Assigning To Red Interface Interface On Smoothwall?

Feb 14, 2010

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

View 2 Replies View Related

Networking :: Prevent Auto Up An Interface At /etc/network/interface File ?

Jul 18, 2011

I have a ppp0 entry with post-up options like this

mapping ppp0
map none photon-plus motorola
map timeout: 12

[code]...

View 8 Replies View Related

Programming :: Exporting Glade Text View To Text File?

Jan 8, 2011

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..

View 8 Replies View Related

Security :: Iptables -L Does Not Show In-interface Or Out-interface?

Feb 26, 2011

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.

View 3 Replies View Related

Red Hat :: Add IPs To A Network Interface As Virtual Interface Like Eth0:0?

Apr 14, 2011

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.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved