GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Jul 30, 2014 11:10 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Problem Adding Buttons in GtkDialog using glade
PostPosted: Mon Feb 03, 2014 5:11 am 
Offline
Familiar Face

Joined: Mon Dec 30, 2013 6:56 pm
Posts: 5
I am new in gtk.
i have tried to put button in GtkDialog. but after pick button from pallete when i click on GtkDialog nothing happen.

plz help me, how to add button on GtkDialog.


Top
 Profile  
 
 Post subject: Re: Problem Adding Buttons in GtkDialog using glade
PostPosted: Mon Feb 03, 2014 7:16 am 
Offline
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 734
Location: UK
Hello,

Not sure what your error is or what versions of Glade or GTK you are using. The tutorial at http://blog.borovsak.si/2009/04/gtkdialog-tutorial-part-2.html should be of help. It is several years old now, though still relevant.

_________________
E.


Top
 Profile  
 
 Post subject: Re: Problem Adding Buttons in GtkDialog using glade
PostPosted: Thu Feb 06, 2014 3:19 pm 
Offline
Familiar Face

Joined: Mon Dec 30, 2013 6:56 pm
Posts: 5
errol wrote:
Hello,

Not sure what your error is or what versions of Glade or GTK you are using. The tutorial at http://blog.borovsak.si/2009/04/gtkdialog-tutorial-part-2.html should be of help. It is several years old now, though still relevant.


My Glade version is 3.14.2

In your given link(http://blog.borovsak.si/2009/04/gtkdialog-tutorial-part-2.html), I stopped here. How to add label in a dialog
Create dialog
Add label(how??)
.....
....
Add button (how??)
.....
....
Add button (how??)


Top
 Profile  
 
 Post subject: Re: Problem Adding Buttons in GtkDialog using glade
PostPosted: Sun Feb 09, 2014 7:17 am 
Offline
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 734
Location: UK
Adding items to any container using Glade is just a case of using click from the palette of widgets to select which one you want and then clicking again on where you want to place it.

This tutorial might help a little more http://www.micahcarrick.com/gtk-glade-tutorial-part-1.html

_________________
E.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group