[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Linux in General  |  Linux Development & Programming  |  Topic: How to use Glade Interface Designer
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: How to use Glade Interface Designer  (Read 410 times)
0 Members and 1 Guest are viewing this topic.
Ujjwol
Linux Learner
***
Offline Offline

Posts: 54


View Profile
« on: August 01, 2007, 03:02:42 AM »

i designed the interface using Glade
but i could assign the action to click to specific buttons and others..
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #1 on: September 18, 2007, 06:47:23 AM »

Hey
I have worked wid GLADE 4 years back, Its like VB++ i.e Drag and drop, I am not able to remember much but you can assign click response to your button,

Here i m trying to make a simple project wid a window and button placed on it :


suppose u have added a window and drag some button on it, just go to button properties and on signals tab assign the event on click.......

and after the designing of windows , just click on  Build source code and it will create 6 or 8 files on the desired path named callsback.c callsback.o, main.c,main.o, {srry was not able to recall,}

 to make event  happen , u have to do changes in callsback.c

like it create the code somethg like this


on _button1_clicked {

}



In glade each object is called a widget, just write somethg like this ( By de way I m not sure as I am not able to recall)

So write somethg like dis on above block: { This code if runs perfectly .  Smiley , will open a new window whenever u click the button there }
window1=create_window1(); or window1=gtk_widget_create_window1();
{ Try both , as i am not sure which one is right or search google)

gtk_widget_show(window1);  { This is right , here i m assuming that u named window as window1 }

Try and after that
#./congiure
#make
and executing ur project as
#./project1 {where project 1 is  name of project }

Thanks
Gaurav
« Last Edit: September 18, 2007, 06:50:52 AM by gauravbajaj » Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Trouble with graphical interface Linux Installation Support markhousman 7 1504 Last post May 04, 2005, 05:10:03 AM
by deven_01
iptables interface eth0:1 does not work Linux Servers Support anil_garg5 3 1310 Last post August 27, 2004, 02:45:35 AM
by Ricky
Graphical interface Red Hat linux 9 Linux Video Support andymetz 1 1383 Last post November 30, 2004, 11:14:29 AM
by Ricky
How can I get QT DESIGNER help manual for programming Linux Development & Programming rajraj 0 1175 Last post December 01, 2004, 03:42:07 AM
by rajraj
Ipcop implmenting with two red interface General Networking Support in Linux deven_01 1 1258 Last post June 16, 2005, 04:22:08 AM
by Ricky
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 10:25:07 AM

Login with username, password and session length
Navigation
Recent Discussions
[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]

[November 13, 2008, 03:28:22 AM]
Members
Total Members: 6227
Latest: karunadct
Stats
Total Posts: 8269
Total Topics: 2253
Online Today: 10
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 14
Total: 14
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc