FAQ Database Discussion Community


Qt: how to detect whether a widget is selected?

c++,qt,widget,focus,selection
I didn't see any signal/slot/function that could tell me whether a widget is selected by mouse? Is it possible to have such an function to tell me whether the current QWidget is selected? And How could I differentiate between "the current widget is selected" and "one of its child widget...

PyQt progress bar not updating or appearing until 100%

python,widget,pyqt,pyqt4
EDIT: There are a number of similar posts on PyQt4 progress bars not updating. They all focus on the issue of threads & where the program actually updates the window. Although helpful, my code was so structured that the replies were not practical. The accepted answer given here is simple,...

Appy Wordpress Widget to Widget area

php,html,wordpress,widget,area
I'm working the first time with WordPress, now I'm trying to add a custom Widget to an HTML box. The HTML: The blank News box I started to read a bit about widgets and the tutorials told me to create a new Widget area inside my functions.php document, which i...

how to change bg color of button after pressing and get back to previous color

python,button,tkinter,widget
In the below program i want to change the background color of the button to green after pressing it and changed color should remain for 2seconds and later change back to original color. Is there a way to do? import tkinter as tk class MyGui(tk.Tk): def __init__(self): super(MyGui, self).__init__() self.create_widgets()...

How do I spilt the footer into different widths?

css,wordpress,widget
Hi there i'm using Wordpress and the Wootique theme, the theme supports a variety of footer widget layouts just 1 or split into 2, 3 or 4 columns but I want to change it so if its set to 3 columns that it will be the first footer widget is...

UIButton doesn't appear on iOS Today Widget

ios,objective-c,uitableview,uibutton,widget
I am creating a today extension for my app, but there are some errors that I can't quite understand: First: Everything is Ok on the storyboard, but the button doesn't appear on the widget. Second: When the tableview has more than one cell, the last cell gets cut. Third: CellForRow...

Kivy: 'NoneType' object has no attribute 'bind'

python,widget,kivy,attributeerror
I was testing out the ActionBar widget of Kivy, here is my program - from kivy.app import App from kivy.lang import Builder from kivy.uix.boxlayout import BoxLayout Builder.load_string(''' <RootWidget>: ActionBar: pos_hint: {'top':1} ActionView: ActionButton: text: "Button" ''') class RootWidget(BoxLayout): pass class MainApp(App): def build(self): return RootWidget() if __name__ == "__main__": MainApp().run()...

C# Winforms event for both scrollbar buttons?

c#,winforms,events,widget,scrollbar
Is there an event for each of the two buttons in the vertical scrollbar widget? I'm using Winforms in C#....

Awesome desktop manager widgets

lua,widget,awesome-wm
I came upon this problem before, but only now it really renders awesome desktop manager useless. I was searching how to connect to Wifi with awesome. Found Gigamo Wifi Widget. Cool, how do I eat it? The awesome wiki entry on widgets does not really answer this question. I know...

Android Widget Onclick Button or Method or Method from another Activity?

android,methods,widget
I have a normal app with a widget(widget is an image button). When the widget is clicked I want to call a method from the MainActivity or a method from the WidgetProvider activity or attach an onClick to the widget which does something when I click it. I've read the...

Custom Widget in Yii

php,yii,view,widget
I create new widget like this: class MyMenu extends CWidget { public function init() { } public function run() { $Items = array( array('label'=>'Home', 'url'=>array('/site/index')), array('label'=>'Add User', 'url'=>array('/user/register')), array('label'=>'View Users', 'url'=>array('/user/index')), array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest), array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'),...

R Shiny selectizeInput server side not initializing correctly

r,widget,shiny,server-side,selectize.js
When trying to embed the selectize input widget in an Shiny application I ran into the following problem: The item list isn't initialized with the complete list of items when using server = TRUE. Only after entering a character in the searchbox will the items appear. This is contrary to...

Kivy: Turning an App into a widget

python,widget,kivy
I have built a Kivy GUI using the 'App' class that is designed to load a file using a file chooser and make it into a list. I have now learned that my whole chunk of code needs to be converted to a widget so that it can be integrated...

Setting Radiobutton to swich between lists

python,matplotlib,widget,radio-button
I am trying to create a plot with vertical bars equal to score length, AND with a radiobutton which enables the user to choose which level scores he/she wants to see, as such: Button 1: Shows the pointscores of John and Daniel in level 1. Button 2: Shows the pointscores...

Why does the Google Translate widget look different from what it should be?

widget,translation,google-translate
I'm trying to put the Google Translate widget on my page, but it doesn't look like it used to. Is this a change on Google's end? Or is there a setting? Here is the page where I'm getting the code: http://translate.google.com/manager/website/settings This is how it used to look: But this...

TKinter: Scrollable Canvas, Expandable Widgets, and Pack

python,tkinter,widget,scrollable
I am creating a table using Labels laid out as a grid within a Frame. I'd like to embed this Frame in a scrollable canvas, and I'd like the Labels to expand to fill the horizontal space while maintaining vertical scrolling capability. To see what I am trying to do,...

Angular JS conflict with Jquery

jquery,angularjs,angularjs-directive,widget
I am developing a widget using Angular. I have an index.html file and script.js file. From the index.html i included the script.js file. The scripts.js file is checking the Angular is already loaded or not. If the Angular is not loaded then latest Angular.min.js (tried 1.3.14 version) is dynamically appended...

How to set the images of a Switch in Kivy?

python,widget,kivy
Hej I like to customize the On/Off Switch in kivy. For a Button I know how to do it. The kv code looks like this: Button: background_normal: 'gfx/offButton.png' background_down: 'gfx/onButton.png' Now I whant to know it for the Switch widget. Any Ideas?...

Wordpress Widget: Don't display $before_title and $after_title if title is empty

wordpress,widget
If the wordpress widget title is blank or empty, then don't display the $before_title and $after_title wrapping the title. Right now if the title is empty, you can end up with . If there are margins set for h2.widgettitle then you end up with blank space. In reality, $before_title and...

JQuery tablesorter math widget with output widget

jquery,widget,tablesorter
I am using jquery tablesorter and was able to use the filter and math widget. I am now trying to export the table to csv with the use of the output widget and it's working fine except I cannot find a way to export the footer that uses the math...

Problems while running Yii2 kartik Export Extension

php,widget,yii2,yii-extensions
I'm new to Yii and I'm developing a database application that reads tables from MySQL. I needed the user to be able to export data as CSV or PDF, so I downloaded Kartik Yii2 Export Extension. I don't know how am I supposed to configure my settings to run this...

Fix Device driver API match - Device driver API version: 23

android-studio,widget,android-5.0-lollipop
Error: 4761-4779/com.android.widgets E/﹕ Device driver API match Device driver API version: 23 User space API version: 23 4761-4779/com.android.widgets E/﹕ mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct 9 21:05:57 KST 2013 Devices: Samsung Galaxy N7000 XXLT9 Recovery: Rooted, PhilZ-cwm6-XXLT9-ORA-5.08.5 Rom: Nightowl-cm12.1-Beta4-n7000 Android: Lollipop 5.1.1 Kernel (Not touched): 3.0.64-Bauner-g8d135b8-dirty [email protected] #1 Microsoft Surface Pro Windows...

Recall remoteView instead of creating new one?

android,widget,remoteview
I have a Flashlight widget that stops responding after the launcher is restarted, for example when date is changed in system, the launcher resets on my phone. According to this thread on SO: Link, I need to update the remoteView instead of creating new one every time. However I don't...

Widgets to switch between screens

android,widget
I would like to have in my activity the widget like this in the top of that screen. I do not think about clock, but about that 5 balls, and I want to use it the same way - when I change screen then white ball is changing too. I...

Why does AppWidgetManager update Intent of all RemoteViews for Widgets?

android,android-intent,widget,android-widget
I have a widget defined in my Android app that maps to a specific lightswitch which is chosen by a configuration Activity. Each instance of the widget can map to a different lightswitch and tapping the widget toggles the light on and off. Here's the code from the Activity that...

Custom WordPress widget is wrapping all other widgets below it

php,wordpress,widget
I am trying to write a custom widget to display our teamspeak server info. This is what I have so far: <?php /* Plugin Name: Site Plugin for RealmReborn.co Description: Site specific code changes for RealmReborn.co */ /* Start Adding Functions Below this Line */ // Creating the widget class...

getting values in R from tkentry() widgets

r,user-controls,widget,tcl,tk
I'm trying to create a small interactive window in which user (for now me) can enter specific information regarding power calculations (test name, number of groups, type of data) in order to perform the correct kind of power calculation. I know how to do this directly in R, but I...

Adding new social network to socmed widget through PHP — Wrong icon showing

php,wordpress,widget,social-media,wordpress-widget
Let me just apologize up front for my ignorance; I've never really seen PHP up-close and am really new to the Wordpress world... I added a Pinterest option to a social media widget using this tutorial. The addition worked, giving me a new Pinterest option in the widget. The widget...

Select/mark specific word in SWT Textfield

java,text,widget,swt
I've got an SWT Textfield with some text which is added automatically. Now I want to select a specific phrase in the text automatically, so that the user could replace this without the manual selection. But all I've found in the api is the selectAll() method, which works but selects...

solved! Placing content in columns

javascript,html,css,widget
There are 3 skills lines and i want them to be placed one next to another, in 3 columns, and i want to create the 4th column too! Originally, it's like this _ _ _ _ and i want like this __________ _________ ______________ ________________ __________ _________ ______________ ________________ _________...

Wordpress do_shortcode work in one widget but not another

php,wordpress,widget,shortcode
I have a couple of shortcodes that I wan't to be able to use in my widgets. I've added add_filter('widget_text', 'do_shortcode'); to functions.php (theme) and it works well when I use the default WP "Text" widget. But when I try the shortcodes in my own widgets (I've developed them myself)...

wxpython How to change the values of widgets in other panel

widget,wxpython,panel
My frame was split in three panels, In PanelTwo, There is a TextCtrl, In PanelThree , There is a TextCtrl too, When I input something in the TextCtrl of PanelTwo, I need change the value of the TextCtrl in PanelThree, How to do it? # -*- coding: utf-8 -*- import...

PHP Widget layout grid

php,twitter-bootstrap,grid,widget
I'm building a webapp which main purpose is displaying widgets on a display. These widgets have an variable size, so not every widget is even high or wide (But they are using standards like for example a grid system). Now I'm looking for the best way to save which widgets...

Using TimerTask and Timer with Widget AppWidgetProvider

android,timer,widget,timertask,appwidgetprovider
I'm creating a clock widget using Android. I've tested the clock and the logic seems fine, but I need to get it to update every minute. I set the updatePeriodMillis to 60000 in my XML but Android limits this to 30 minutes, so it only updates every half hour. I...

On/Off time(datetime field) doesn't cleared after cancel button is pressed

extjs,widget,cq5,aem
I open page properties and fill some fields After I pressed cancel button, and reopened properties dialog, all field cleared, but datetime fields didn't. What is the rigth way to clear datetime fields?...

Tkinter: widgets not highlighting on event

python,tkinter,widget
I'm running Python 2.7.9 on a Mac. I've been unable to figure out why it is when I run my programs that only the Entry Widgets highlight each time I hit the Tab key to move to the next widget. Following is some test code. When I run the script...

Having trouble getting widget to display milliseconds

c++,time,widget
So I've been recreating a gamemode that Maiet made for gunz, called spymode. I have most of the inner workings finished, but I'm having trouble with a time display widget. I need it to display time in Minutes, Seconds, and Milliseconds (using int, not float). Minutes & Seconds work correctly,...

how to display page's attachment image in wordpress custom widget

php,wordpress,image,widget,attachment
So I have this custom widget where you can select a page from a drop box and the widget will lead you to this page. The problem is i have no idea how to display the page's attachment image. wp_get_attachment_image($page, 'full') doesn't work. In the codex there's an example with...

Yii2 - access model from database in 2amigos gallery widget

database,model,widget,yii2
Hi. Does anyone know how to access model from database in 2amigos gallery widget in order to display a image stored in local folder using the path stored in database. After intall the widget via composer, my view has the code: <?php $items = [ [ 'url' => 'imagens/portfolio/1.jpg', 'src'...

“Waiting to attach” issue in iOS 8 with Today Extensions

ios,widget,today-extension
I've got a serious issue and can't figure out where is the problem ! First this question has already been answered in two other threads : iOS 8 beta 5 Today view extension (widget) stuck at Waiting to Attach BUT, my problem is different : I've got 10 widgets, and...

Unable to upload widget to Wirecloud instances in private server

widget,fiware,fiware-wirecloud
We have downloaded and installed a running instance of Wirecloud in our company server following the steps at: https://conwet.fi.upm.es/wirecloud/install We created the instance using the --quick-start command to try the instance, and ran wirecloud using the Django internal web server with the following command: $ python manage.py runserver 0.0.0.0:8080 --insecure...

Cannot update Android Widget using AlarmManager and Calendar

android,widget
I want to update my widget but it simply doesn't work! I made it so that the update happens at particular time - a few minutes after I run the app, but widget doesn't get updated. I know this because I am setting the label with the System.currentTimeMillis. When app...

Iframe not loading fully within horizontal scrolling Div

html,css,iframe,widget,horizontal-scrolling
I am trying to put a iframe within a horizontal scrolling div so that users can scroll across and see the Instagram posts. The issue that I am having with this is when the page loads it cuts off what ever is larger than the div. How do I load...

Pyqt Embedding Graphics object in Widget

python,layout,widget,pyqt
So I have a main window. I use setCentralWidget to set it to a class I made called mainWindowWidget to handle the UI. I am now trying to add a graphics view widget I made to that but cannot seem to get anything to display. If I set the graphics...

Shuffling list of widgets? Tkinter

python,json,tkinter,widget,shuffle
Finally I have finished this damn thing! Except for one issue. I have a program quiz program created with tkinter that grabs a dictionary from a list inside a JSON file. Now everything appears to be working fine, except for the shuffling of a list of buttons which remain in...

WordPress widgets: how to change the automatically created “style” attribute of the surrounding HTML

wordpress,widget,wordpress-theming
I have copied the twentythirteen Wordpress theme to dive into Wordpress development. I want to change the look of my footer, so I used the Firefox inspector to play around with it. The widgets in my footer sidebar have the following HTML around them: <aside style="position: absolute; left: 0px; top:...

How can I get my searchable activity to launch when my search bar widget is clicked, not when I press enter?

android,listview,widget,searchview
I have a searchbar widget on top of a mapview, and what I would like is when I click that widget, a the mapview is replaced by a listview which dynamically changes the displayed items as I enter my query and keep the searchbar widget on top. Then when I...

Get location of a widget to allow drawing a line from widget a to b

java,widget,swt
Hi I am working on adding a link between 2 classes on a class diagram to show their relation, the class diagram view allows for adding as many classes as the user wants. This is being done in SWT and the classes (which are a square button) are added dynamically...

Includable Description on Blogger Blogspot

widget,blogger,gdata,blogspot
On the header widget, it has: <b:include name='description'/> And I want to reference it in the post-body (inside Blog widget), with: <b:includable id='description' var='a'><data:a.description/></b:includeable> But it wont print out the post description, is the code wrong? or it just cant be referenced across widgets? I've tried modify the header widget...

Android Widget don't update correctly

android,widget
I'm working on Analog Clock Widget which includes a Textview to display the date number. It works but the date (after midnight) doesn't change immediately, it changes minutes or hours after. My update period is 1000ms. Please Help. public class Clock_Actions extends AppWidgetProvider{ public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[]...

Use form field with select2 widget in smarty yii

widget,smarty,yii2
I would like to use this example from Kartik with Smarty. use kartik\widgets\Select2 // Usage with ActiveForm and model echo $form->field($model, 'state_1')->widget(Select2::classname(), [ 'data' => array_merge(["" => ""], $data), 'options' => ['placeholder' => 'Select a state ...'], 'pluginOptions' => [ 'allowClear' => true ], ]); In Smarty only the field...

How to Angularjs take the value of the widget calendar?

jquery,angularjs,calendar,widget
By using the datetimepicker to enter the date in the input, the ng-model is not capturing the date entered by the calendar button. The ng-model capturing this only if I insert such a space on the date entered by the calendar button. Anyone know tell me how do I by...

Hide Widget based on condition using Widget Logic Plugin

wordpress,plugins,widget
My website (http://www.chicagokaraokenight.com/wordpress) is a karaoke directory where bars can list karaoke nights for free OR upgrade to a premium or featured premium listing (paid packages) to receive a more robust profile. As part of the benefit to upgrading to a paid package, I'd like to have some widgets disappear...

Can android app widgets support full screen and webview?

android,widget
I want to create a app widget in my desktop and let it support full screen and webview, but I can't find any solution Click Here: So I am wondering whether there is a way to let app widget support full screen and webview?Or it's designed to not support such...

Fetching query string parameters passed in a javascript file

javascript,jquery,widget
I have used this tutorial to create a JS based widget. One thing I need to do is to pass query string parameters in JS file. I tried document.location.href but it gave the URL of page where widget was placed(which is quite obvious) Code is given below: <script src="http://example.com/widget.js?id=2" type="text/javascript"></script>...

django - custom error message for urlinput widget

python,django,widget,modelform
django 1.7 trying to customize the default client side validation message that gets fired on a model form. Specifically the error message for urlinput widget (the default for a urlfield). This error appears to come from client side validation when the form is submitted. I want to change "Please enter...

Make QMenu have equal to parent (QPushButton)

c++,qt,widget,size,width
I have a QMenu which is assigned to a QPushButton and pops up when the button is pressed. It looks like this: However, I'd like to have the width of the menu to be equal the width of the button because as it is now it looks ugly and it's...

How to activate the button in android only when required?

android,button,widget
I have several text fields in my application. I want to save the inputs of those textfields. So the condition is, when all the text fields are full,then only the save button should get activated. until then it should be disabled. how can i do this? Please help. Thanks in...

Custom sonar plugin and widget, display the same sonar measure from multiple projects

widget,sonarqube,sonarqube-5.0
I have sonar 5.1 set up with multiple projects lets say project A and project B, and have ran analysis on both. I am able to import my coverage and test result files into both and every thing looks fantastic. What I would like to do is to pull the...

Find the time since index.php was last visited, widget

php,html,widget
Ive done a fair amount of trawling the internet to find a solution to this issue however am still yet to find a real answer. I would like to have a widget on my site that shows the user how long in seconds, it has been since someone had last...

Open my images in a new tab

javascript,html5,image,widget,flickr
I have built a widget in this page http://www.flickrbadge.com/ For my site, I wanna show nine images from my flickr account to my site, that page showed me this code: <style type="text/css"> .flickr_badge_image {margin:0px;display:inline;} .flickr_badge_image img {border: 3px solid #4D4D4D !important; padding:0px; margin:3px;} #flickr_badge_wrapper {width:300px;text-align:left} </style><div id="flickr_badge_wrapper"><script type="text/javascript"...

Launch an app on iOS using taps

ios,widget
I would like to know if it is possible to launch an app on iOS that is currently in the back group using three taps for example ? Think of it as a short cut on a desktop app. Thanks

Injecting data into a Durandal widget

widget,durandal
I have made a "simple" alert widget called statusAlert to display messages when data fails to arrive as expected. Thus far I'm unable to get data into it. I figure that I could inject an observable into the widget, and display and populate the widget when the observable is set...

Android Widget, Intent on RemoteViews not fired in data present

android,android-intent,widget,intentfilter
In my AppWidgetProvider class, I'm programmatically adding some Button to the main layout through RemoteViews: static void updateAppWidget(......) { .. RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.main_widget); for (int i=0; i<maxViews, 4); ++i) { RemoteViews button = new RemoteViews(context.getPackageName(), R.layout.my_button); String number = numbers.get(i).getCode(); // Test1 Intent actionIntent = new Intent("MyIntent");...

Text widget to fill half of screen

python,tkinter,widget
I have a python tkinter program and i have two text widgets that need to be side by side. How can i get the two widgets to take up exactly half of the window which is 400 x 400 px ? My Code is here import tkinter class MyApp: def...

Pass variable to Ipython Widget

python,input,widget,ipython
I have a simple widget that modifies a plot, here is the definition: #Plot function def plf(x,lm,ls): plt.plot(x[lm:ls],np.sin(x)[lm:ls]) this function takes a list x an plot sin(x), lm and ls controls the number of data that is ploted, the problem is when i try to plot a determinated list of...

Kivy - Create new widget and set its position and size

python,python-3.x,widget,kivy,custom-widgets
got a little problem. So Iam trying to create my own widget, and i have succeed, only except for setting its size and position right(to be same as its parrent). class Story(App): def build(self): return MyWidgets().init() The app has GridLayout as a holder, into which i want to pass the...

Kivy Widget does not accepts properties and commands

python,widget,kivy
I wanted to make my first Kivy game, with enemies which run over the screen and the player is supposed to kill the enemies by clicking on them. I created an Enemy class which is part of a level class, both are subclasses of the class Widget. I made a...

Create a Widget system like WordPress without any framework

php,widget
I have searched for this topic here and Google but I only found the solutions with PHP frameworks (for example, YII and Laravel) I am developing a simple CMS and I would like to add widget system just like WordPress ( Recent Comments, Categories widgets ) List available widgets. Users...

Editing Wordpress Widget CSS

css,wordpress,widget
I'm working on my school newspaper's wordpress website, and I'm trying to indent the content of the rotating tweets widget by 15px. I've tried adding the following code to the wordpress theme editor's style.css sheet, but it hasn't made any noticeable changes: .rotatingtweet{padding-left: 15px;} When I add the same line...

Magento: register custom template files for static block widget

php,magento,templates,widget,themes
I am starting to learn how to work with Magento. I like the concept of static block and that it is so easy to add them to a cms page using the static block widget. The widget gives me a dropdown where I can choose what template file it should...

changes axis of scatter plot with slider matplotlib python

python,matplotlib,widget,scatter-plot
I have a very large data set and want the user to be able to slide along the axis to view sections of the data. I'm trying to leverage off of the slider example but I'm unsure of how to update the graph. Hoping someone can explain some of the...

How to use dygraphs and DT in slidify?

html,widget,slidify
I'm trying to use the packages DT and dygraphs into my slidify presentation in R. However, it seems it's not as straightforward as I thought. Is there any extra command I need to add in order to use the htmlwidgets produced by the datatable() and dygraphs() commands?

Update widget when preferences changed using custom broadcast

android,widget,android-broadcast
I need to update my app's widget every time the settings are changed by the user. I have a settings activity: import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; public class SettingsActivity extends Activity implements SharedPreferences.OnSharedPreferenceChangeListener { public static final String customIntent = "CUSTOM_SETTINGS_CHANGED"; @Override protected void onCreate(Bundle savedInstanceState) {...

CKEditor - How to use the Advanced Content Filter and widgets together in 2 editors

javascript,widget,ckeditor
I've got 2 CKEditor instances. One editor (A) supporting a number of widgets, another editor B has an Advanced Content Filter with these settings to make sure only <p>, <br>, <em> and <strong> tags are allowed in the second editor: config.allowedContent = 'p br em strong'; My widget contains an...

How to specify separate toolbar group for widget buttons?

widget,ckeditor,toolbar
By default CKEditor places widget buttons in the toolbar 'insert' group. I'd like to specify a custom group on the toolbar only for my widget buttons. How can I do that?

how to localize today extensions widget?

ios,ios8,widget,ios8-today-widget,today-extension
our application has been support mutli region and languages,when i development today extensions widget and read App Extension Programming Guide still can't found a localize soluction. even if i created the Localize.strings file like a normal xcode project,define Localize.String File like: "scene_people_liked"="%d people like"; and use : #define NSLocalizedString(key, comment)...

Filters in CGridView not filtering

yii,filter,widget,cgridview,dataprovider
Can You check why filtering is not working in CGridView? When i type for exaple 'Adam' in filter field, nothing happens. I can't find my mistake, everything looks ok but not working. I helped with that article: Yii: CGridView Filter examples CONTROLLER <?php class UzytkownikController extends CController { public function...

How To Show The Current Time in TextView in Widget

android,time,textview,widget,updatable-views
I want to show the current time in updatable textView I can't find the true way to make it I want it to be updated every minute Please anyone can help me ? Thanks

iOS today widget only shows up while debugging

ios,xcode,swift,widget,ios8-today-widget
I am developing an app with swift using a today widget for notification center. The widget works: when using the simulator when starting the widget separately using xcode The widget does not work when starting the main app using xcode on my iPhone 6. It appears but is empty, only...

Extjs cannot read property error

java,javascript,jquery,extjs,widget
I made the following extjs code, but I get the error "cannot read property 'dom' of null" when I add the properties 'width' and 'height' However the button is well resized and the table is working fine, but cause of this error my dropdown menu doesn't work properly. Does anybody...

How to Create Dojo Widget using C3

javascript,dojo,widget,c3
I couldn't find any example describing the creation of Dojo Widget using C3 library. Before trying to create a widget, I tried to create a module, and it worked. I am new with Dojo ... so here is what I tried to create a Widget with c3 : require([ "dojo/_base/declare",...

Reuse custom Widget in Kivy app

python,frameworks,widget,kivy
I have a simple kivy app with the kv file associated as below, and I want to reuse my custom widget (included his appearance) in another kivy app. This is the widget to reuse: class MyButton(Button): pass class MyComposit(Widget): button1 = ObjectProperty(None) lab = ObjectProperty(None) class MyApp(App): def build(self): comp...

Individual Pending Intent for each button on widget

android,android-intent,widget,android-widget
first of all sorry for my bad english I have a AppWidget that use a Intent Service for doing its job my app widget has 3 buttons , and if user press each button go to main activity , but with different ContentViews , Now the problem is any Time...

Delete the checkout botton in sidebar

wordpress,delete,widget,woocommerce
I want to remove the woo commerce checkout botton on the right widgetbar wich says Kasse. http://vinesso.dk/produkt-kategori/vine/ Can anyone help me?...

Registering sidebar with or without hook

wordpress,widget
I'm little bit confused on it. When registering sidebar in a function file of Wordpress, we use register_sidebar() function and pass arguments in it. Without using any action hook, the sidebar works very fine. However, in the codex i've seen a action hook named 'widget_init' is used to register sidebar....

Yii 2 Field 2 must have greater value than Field 1

php,forms,yii,widget
I've just started with Yii (2.0) and I have a problem. I need to make sure that the Maximum Order Quantity is always equal or greater than the Minimum Order Quantity. Which means, that you can't order a minimum of 10, and maximum of 5 for example. Here is a...

Wrong widget order using vbox layout PyQt

python,widget,pyqt
I am trying to put a QLabel widget on top of (ie before) a QLineEdit widget edit. But it keeps appearing after the QLineEdit widget. My code, class CentralWidget(QtGui.QWidget): def __init__(self, parent=None): super(CentralWidget, self).__init__(parent) # set layouts self.layout = QtGui.QVBoxLayout(self) # Flags self.randFlag = False self.sphereFlag = False self.waterFlag =...

Trying to align two columns in a specific way using HTML within a Wordpress Widget

html,css,wordpress,widget
.::Edit::. Fixed Broken Images. -- I've been trying to align this for a few days now, and I simply don't have the know how to accomplish it. I photoshopped what I am trying to get this table to look like, but when I try to create a table, I either...

Android widget stops working after a while?

android,widget,broadcastreceiver,appwidgetprovider
I have a flashlight app with a widget. The widget is used to turn the flashlight on and off and does not display main activity or anything. After a few hours, however, the widget does nothing. I mean if you click it, nothing happens. I have two classes to accomplish...

Login/Register and Currency Widget in Header Wordpress

php,css,wordpress,header,widget
Woocommerce, Wootique Theme, Currency Widget. Right what I want to do it to have the currency converter plugin and my Login/Register link in the in the top right corner of the header to the right of my logo like so: Login/Register |CURRENCY BOX| (On the same row) The currency converter...

Tkinter: Does grid layout manager override the parent widget's predifined dimensions?

python,tkinter,widget,gridlayoutmanager
I noticed each time I create a Tkinter widget and set its dimensions either during the widget instantiation or by configuring them later, these last ones take no effect as soon as I add child widgets inside the parent one where I organize them using the grid layout manager. My...

Update ListView Widget with Application

android,listview,widget,android-widget
I have a problem with my App Widget when i try to update the content from my application. My widget contains a listview. The listview works fine and it updates every 30 minutes, but I also need to update it when i make changes in the application. Here is my...

Missing argument 1 y 2 for WP_Widget

wordpress,widget
I have a problem and rather than try to see where this can not find it now. Wordpress returns me the following Warning: Missing argument 1 for WP_Widget :: __ construct () Missing argument 2 for WP_Widget::__construct() My code is: class WP_Mrw_Widget extends WP_Widget { function Mrw_Widget(){ $widget_ops = array(...

Django-dashing creating your own widgets

javascript,python,django,widget
Ive been trying to create a custom widget for my dashboard which runs using the django-dashing framework https://github.com/talpor/django-dashing http://django-dashing.readthedocs.org/en/latest/ My CustomWidget is defined like so: CustomWidget.py: from dashing.widgets import Widget class CustomWidget(Widget): title = '' more_info = '' updated_at = '' detail = '' value = '' def get_title(self): return...

Python Kivy make scatter unselectable

python,animation,widget,kivy,scatter
I am making animations in my Kivy app, but of all available classes, only scatter seems to animate properly. The problem is, when I touch the scatter, my on_touch_move() event simply doesn't work. I wanted to make unselectable scatter with self.do_rotation = False self.do_scale = False self.do_translation = False but...

How to access id/widget of different class from a kivy file (.kv)?

python,events,button,widget,kivy
What I want to know? If button with id: button_b (Get_Boys class) is released, then Label with id: label_g (Get_Girls class) must change. If Button with id: button_b (Get_Boys class) is pressed, then Label with id: root_lbl (Get_People class) must change. If Button with id: root_btn (Get_People class) is released,...

Is it possible to download more styles of widgets in android studio or how do you design your own?

java,android,android-studio,widget
I have tried looking for information on this but cant seem to find any? Could someone point me in the right direction, thanks.

Wrap pygtk Window after destroying widgets

resize,widget,window,pygtk,wrap
I'm creating an app using pygtk with different mode: mode "normal" which use a PathBrowse and a ComboBox mode "append" which destroy the PathBrowse and the combo in the Window and add others like CheckBox and Labels But in append mode, the fact of destroying widgets bigger than the new...

Use different library instead of jQuery Mobile for