LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-04-2011, 05:24 PM   #1
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; VoidLinux; Funtoo
Posts: 216

Rep: Reputation: 18
gtk widgets layout


I'm new to gtk and started this gtk app but im stuck now.
The file menubar widget is visible but the buttons and other widgets aren't.
how do I get the buttons and file mebubar widgets to be visible at same time?
Im getting this error
(runner:4222): Gtk-WARNING **: Attempting to add a widget with type GtkFixed to a GtkWindow, but as a GtkBin subclass a GtkWindow can only contain one widget at a time; it already contains a widget of type GtkVBox

http://pastebin.ca/2038947

Last edited by darthaxul; 01-05-2011 at 02:26 PM. Reason: easier
 
Old 01-05-2011, 09:16 AM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Please edit your previous post to use [code] tags.

They put text in a nice scroll box, use a monospaced font, and preserve indentation.
 
Old 01-06-2011, 05:53 PM   #3
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; VoidLinux; Funtoo
Posts: 216

Original Poster
Rep: Reputation: 18
progress

forget it i got it just matter of trial error

Last edited by darthaxul; 01-11-2011 at 02:35 PM.
 
Old 01-23-2011, 06:43 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Glad you got it.

Please mark this thread solved, & if it's not too much trouble, post the solution. TIA
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to customize certain Gtk widgets? mutable Linux - Newbie 3 12-18-2007 08:21 AM
New GTK+ Widgets - GtkCellRendererAccel AndrewKrause LQ Articles Discussion 0 07-30-2007 03:07 PM
New GTK+ Widgets - GtkAssistant AndrewKrause LQ Articles Discussion 0 06-09-2007 01:39 PM
extending gtk+-2.0 widgets with c++ markelo Programming 1 03-27-2007 01:39 PM
GTK theme: not all widgets are changed kornerr Linux - General 1 01-16-2006 10:05 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration